@import url("/static/dgst/css/pages/communication.css");

table.proposalCornerTable thead tr,
table.proposalCornerTable tbody tr {
	grid-template-columns: 90px 90px minmax(400px, 1fr) 120px 160px;
}

table.proposalCornerTable thead tr th,
table.proposalCornerTable tbody tr td {
	height: 3.375rem;
	padding: 1rem;
}

.suggestButton {
	position: relative;
	width: 100%;
}

.input-box.horizontal label {
	min-width: 7.5rem;
}

.iconPdf::before {
	content: "";
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	background-image: url("/static/dgst/img/icon/ic_pdf.svg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.iconLock {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	column-gap: 0.5rem;
}

.iconLock::before {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	background-image: url("/static/dgst/img/icon/ic_lock.svg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.iconReply {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	column-gap: 0.5rem;
	padding-left: 1.25rem;
}

.iconReply::before {
	content: "";
	display: inline-block;
	width: 1rem;
	height: 1rem;
	background-image: url("/static/dgst/img/icon/ic_reply.svg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.openPasswordModalButton {
	height: auto;
	text-decoration: none;
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-regular);
	line-height: 1.4;
}

.modalOverlayWrapper {
	position: fixed;
	left: 0;
	top: 0;
	/* display: flex; */
	display: none; /* 기본적으로 숨김 */
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 1rem;
	background-color: rgba(0, 0, 0, 0.7); /* 반투명 배경 */
	z-index: 10;
}

.modalContentsWrapper {
	position: relative;
	background-color: white;
	padding: 1.25rem;
	max-width: 36.25rem;
	width: 100%;
	height: auto;
	border-radius: 1.25rem;
}

.modalCloseButton {
	background: none;
	font-size: 0;
	border: none;
	cursor: pointer;
}

.iconClose::before {
	content: "";
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	background-image: url("/static/dgst/img/icon/ic_close.svg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.modalPasswordInputBoxWrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: flex-end;
	row-gap: 0.5rem;
	column-gap: 1rem;
	width: 100%;
	height: auto;
	padding: 2.5rem 0;
}

#modal_password {
	font-size: 1.5rem;
	letter-spacing: 3;
}

.modalConfirmButton {
	width: 5.625rem;
	text-align: center;
}

.proposalCornerQuestionTable.table-flex tr,
.proposalCornerAnswerTable.table-flex tr {
	flex-direction: row;
	align-items: stretch;
}

.proposalCornerQuestionTable.table-flex tr th,
.proposalCornerAnswerTable.table-flex tr th {
	max-width: 5rem;
	height: auto;
}

@media screen and (min-width: 768px) {
	.suggestButton {
		position: absolute;
		bottom: 1rem;
		right: 1rem;
		width: fit-content;
	}
}

@media screen and (min-width: 1024px) {
	.modalPasswordInputBoxWrapper {
		padding: 3.75rem 1.25rem;
	}
	.proposalCornerQuestionTable tbody,
	.proposalCornerAnswerTable tbody {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.proposalCornerQuestionTable tbody tr.flex-1,
	.proposalCornerAnswerTable tbody tr.flex-1 {
		flex: 1;
	}
	.table-flex tr {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: stretch;
	}
	.proposalCornerQuestionTable tbody tr th:nth-child(1) {
		min-width: 5rem;
		max-width: 5rem;
		height: auto;
	}
	.proposalCornerAnswerTable tbody tr th:nth-child(1) {
		min-width: 4rem;
		max-width: 4rem;
		height: auto;
	}
}

@media screen and (min-width: 1440px) {
}
