@import 'common.scss';

.publish-box{
	min-height: 600rpx;
	background-color: white;
	margin-bottom: 20rpx;
	padding:30rpx 34rpx;
	box-sizing: border-box;
	.placeholder-class{
		color: rgba(187, 187, 187, 1);
		font-size: 32rpx;
	}
	.textarea{
		height: 200rpx;
		width: 100%;
	}
	.img-uplad-btn{
		width: 224rpx;
		height: 224rpx;
		background-color: rgba(255, 255, 255, 1);
		border: 1px solid #eee;
		display: flex;
		align-items: center;
		justify-content: center;
		.icon{
			width: 72rpx;
			height: 72rpx;
		}
	}
	
	
}

.permission-box{
	background-color: white;
	padding: 0 34rpx;
	box-sizing: border-box;
	margin-bottom: 20rpx;
	.item{
		height: 116rpx;
		border-bottom: 1px solid #F5F5F7;
		display: flex;
		align-items: center;
		justify-content: space-between;
		.text{
			color: rgba(16, 16, 16, 1);
			font-size: 32rpx;
		}
	}
	.no-border{
		border-bottom: 0 !important;
	}
}

.pk-edit-box{
	background-color: white;
	.textarea-box{
		border-bottom: 1px solid #eee;
		height: 240rpx;
		padding: 34rpx;
		box-sizing: border-box;
		.placeholder-class{
			color: rgba(187, 187, 187, 1);
			font-size: 32rpx;
		}
		.textarea{
			width: 100%;
		}
	}
	
	.pk-type-box{
		padding: 40rpx 34rpx 1rpx 34rpx;
		box-sizing: border-box;
		.choice-box{
			margin-top: 40rpx;
			.choice-item{
				display: flex;
				align-items: center;
				margin-bottom: 40rpx;
				.img-uplad{
					width: 120rpx;
					height: 120rpx;
					background-color: rgba(255, 255, 255, 1);
					border: 1px solid #eee;
					display: flex;
					align-items: center;
					justify-content: center;
					.icon{
						width: 36rpx;
						height: 36rpx;
					}
				}
				
				.text{
					color: rgba(187, 187, 187, 1);
					font-size: 32rpx;
					margin-left: 32rpx;
					width: calc(100% - 140rpx);
				}
				.label{
					color: rgba(16, 16, 16, 1);
					font-size: 32rpx;
				}
			}
			
			.text-item{
				height: 120rpx;
				border-bottom: 1px solid rgba(245, 245, 247, 1);
				margin-bottom:0
			}
		}		
	}
}

.submit-btn{
	width: $common-width;
	margin: 64rpx auto;
	height: 84rpx;
	border-radius: 12rpx;
	background-color:$color-main-blue;
	color: rgba(255, 255, 255, 1);
	font-size: 32rpx;
	text-align: center;
	line-height: 84rpx;
}

// 选择话题弹窗
.topic-selection-shadow{
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.3);
	z-index: 990;
	position:fixed;
	top:0;
	left:0;
	
	.topic-selection-container{
		width: 100vw;
		height: 880rpx;
		background-color: white;
		border-radius: 20rpx 20rpx 0 0;
		position:fixed;
		bottom:0;
		left:0;
		z-index: 999;
		padding: 0 34rpx;
		box-sizing: border-box;
		overflow: auto;
		
		.title-box{
			height: 112rpx;
			display: flex;
			align-items: center;
			justify-content: space-between;
			.label{
				color: rgba(16, 16, 16, 1);
				font-size: 32rpx;
			}
			.close-icon{
				width: 36rpx;
				height: 36rpx;
			}
		}
		.topic-search-box{
			width: 100%;
			height: 64rpx;
			border-radius: 6rpx;
			background-color: rgba(245, 248, 250, 1);
			display: flex;
			align-items: center;
			padding: 0 24rpx;
			box-sizing: border-box;
			.top-tag{
				color: rgba(162, 170, 184, 1);
				font-size: 32rpx;
				font-weight: bold;
			}
			.input{
				margin-left: 20rpx;
				width: calc(100% - 50rpx);
			}
			.input-class{
				font-size: 14px;
			}
		}
		
		.topic-result-list{
			margin-top: 32rpx;
			.list-item{
				padding: 10rpx 16rpx;
				border-radius: 32rpx;
				background-color: rgba(245, 248, 250, 1);
				font-size: 26rpx; /* 基准字体大小 */
				
				border-radius: 2em; /* 1em = 16px = 高度32px的50% */
				
				box-sizing: border-box;
				display: flex;
				align-items: center;
				margin-bottom: 20rpx;
				.circle-tag{
					width: 44rpx;
					height: 44rpx;
					border-radius: 50%;
					background-color: rgba(195, 200, 206, 1);
					color: rgba(255, 255, 255, 1);
					font-size: 32rpx;
					font-weight: bold;
					text-align: center;
					line-height: 44rpx;
					margin-right: 12rpx;
				}
				.result-text{
					color: rgba(16, 16, 16, 1);
					font-size: 28rpx;
				}
			}
			
			.list-item-none{
				display: flex;
				justify-content: space-between;
				align-items: center;
				.list-item{
					width: calc(100% - 160rpx);
				}
				.create-text{
					width: 150rpx;
					text-align: right;
					color: rgba(0, 123, 255, 1);
					font-size: 28rpx;
					margin-top: -20rpx;
				}
			}
		}
	}
}