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

.mixtureMaterialInformationContentsWrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 1rem;
	width: 100%;
	height: auto;
	padding: 3rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	margin-bottom: 3rem;
}
.mixtureMaterialInformationInputBoxContainer {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	row-gap: 1.5rem;
	column-gap: 2rem;
	width: 100%;
	height: auto;
}
.mixtureMaterialInformationInputBox {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	column-gap: 0;
	row-gap: 0.25rem;
	width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

.mixtureMaterialInformationInputBox label {
	min-width: 6.5rem;
	width: auto;
	color: var(--text-color);
	font-size: 1.125rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
}

.mixtureMaterialInformationInputBox input {
	flex: 1;
	display: inline-block;
	width: 100%;
	height: auto;
	padding: 0.875rem 1.25rem;
	color: var(--text-color);
	font-size: 1.125rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
	border: 1px solid rgba(0, 0, 0, 0.2);
	border-radius: 0.625rem;
}

.searchModalWrapper {
	display: none;
	z-index: 0;
}

.searchModalWrapper.show {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex !important;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	z-index: 9998;
}

.searchModalWrapper > .flex-container {
	/* max-width: 58.75rem; */
	/* height: 80%; */
	padding: 1.5rem 1rem 2.5rem;
	background-color: var(--white-color);
	border-top-left-radius: 0.5rem;
	border-top-right-radius: 0.5rem;
}

.searchModalWrapper .iconClose::before {
	background-image: url("/src/introduce/v1/assets/image/icon/ic_close.svg");
}

.searchModalWrapper .searchResultTable {
	flex-direction: column;
}
.searchModalWrapper .searchResultTable.responsive-mobile thead tr,
.searchModalWrapper .searchResultTable.responsive-mobile tbody tr {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	width: 100%;
	height: 2.75rem;
}

.searchModalWrapper .searchResultTable.responsive-mobile th,
.searchModalWrapper .searchResultTable.responsive-mobile td {
	flex: 1;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	height: auto;
	padding: 0.75rem 0.5rem;
}

.searchModalWrapper .searchResultTable.responsive-mobile td.h-center {
	justify-content: center;
}

.searchModalWrapper .searchResultTable.responsive-mobile tbody tr:first-child td {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: var(--grey-color);
	text-align: center;
}

.popupLayer .searchModalWrapper {
	display: flex !important;
	width: 100%;
	height: auto;
	z-index: 1;
}

.popupLayer .iconClose {
	display: none;
}

.popupLayer .section-title-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	max-height: 5.125rem;
	padding: 1.5rem 1rem;
	background-color: var(--white-color);
	margin-bottom: 2rem;
	z-index: 2;
}

.popupLayer .select-box,
.popupLayer .input-box,
.popupLayer .searchModalConfirmButton {
	width: 100%;
}

.mixtureMaterialInformationCautionCard {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.75rem;
	width: 100%;
	height: auto;
	padding: 1.25rem;
	background-color: rgba(0, 0, 0, 0.03);
	border-radius: 0.75rem;
}

.mixtureMaterialInformationCautionCardMiddleContainer {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.375rem;
	width: 100%;
	height: auto;
}

.mixtureMaterialInformationCautionCardTitle {
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
}

.mixtureMaterialInformationCautionCardDescription {
	color: var(--text-color);
	font-size: 0.875rem;
	font-weight: var(--font-weight-regular);
	line-height: 1.4;
}
.mixtureMaterialInformationTableContentsWrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.625rem;
	width: 100%;
	height: auto;
}
.mixtureMaterialInformationTableContainer {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 1.875rem;
	width: 100%;
	height: auto;
	margin-bottom: 6.25rem;
}

.mixtureMaterialInformationTableTitleContainer {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 1rem;
	width: 100%;
	height: auto;
}
.mixtureMaterialInformationTableTitleMain {
	color: var(--text-color);
	font-size: 1.5rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
}

.mixtureMaterialInformationTableTitleSub {
	color: rgba(0, 0, 0, 0.7);
	font-size: 1.125rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.4;
}

.mixtureMaterialInformationTable {
	position: relative;
	display: grid;
	width: 100%;
	height: auto;
	overflow-x: auto;
}

.mixtureMaterialInformationTable thead {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
}

.mixtureMaterialInformationTable tbody {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	/* row-gap: 0.75rem; */
	width: 100%;
}

.mixtureMaterialInformationTable thead tr,
.mixtureMaterialInformationTable tbody tr {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 0.1rem;
	width: 100%;
	height: auto;
	min-height: 3.25rem;
	color: rgba(0, 0, 0, 0.9);
	font-size: 1rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mixtureMaterialInformationTable thead tr {
	background-color: var(--grey-color);
}

.mixtureMaterialInformationTable tbody tr {
	background-color: var(--white-color);
}

.mixtureMaterialInformationTable tbody tr .ellipsis {
	display: -webkit-box;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-word;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.mixtureMaterialInformationTable tr th,
.mixtureMaterialInformationTable tr td {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	/* justify-content: flex-start; */
	align-items: center;
	color: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	word-break: keep-all;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.mixtureMaterialInformationTable tr th:last-child,
.mixtureMaterialInformationTable tr td:last-child {
	border-right: none;
	display: none;
}

.mixtureMaterialInformationTable tr th {
	justify-content: center;
}
.mixtureMaterialInformationTable tr td {
	justify-content: space-evenly;
}

.iconInformation::before {
	content: "";
	background-image: url("/static/dgst/img/icon/ic_information.svg");
}

@media screen and (min-width: 768px) {
	.popupLayer .select-box,
	.popupLayer .searchModalConfirmButton {
		width: auto;
	}

	.popupLayer .searchResultTable thead tr,
	.popupLayer .searchResultTable tbody tr {
		display: grid;
		grid-template-columns: 70px minmax(160px, 1fr) minmax(160px, 1fr) minmax(160px, 1fr) 108px 90px 160px;
	}

	.popupLayer .searchResultTable thead th,
	.popupLayer .searchResultTable tbody td {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		gap: 0;
		width: auto;
		height: 3.375rem;
		padding: 0.75rem 1rem;
	}

	.popupLayer .searchResultTable thead th {
		justify-content: center;
	}
}

@media screen and (min-width: 1024px) {
	.mixtureMaterialInformationInputBoxContainer {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
	}
	.mixtureMaterialInformationInputBoxContainer button {
		max-width: 8.75rem;
	}

	.searchModalWrapper > .flex-container {
		padding: 2.5rem;
	}

	.searchModalWrapper .searchModalConfirmButton {
		width: fit-content;
	}

	.mixtureMaterialInformationInputBox {
		flex: 1;
		display: flex;
		flex-direction: row;
		align-items: center;
	}
	.mixtureMaterialInformationInputBox input {
		padding: 1.25rem;
	}
	.mixtureMaterialInformationTableTitleContainer {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
	}

	.mixtureMaterialInformationTable thead tr,
	.mixtureMaterialInformationTable tbody tr {
		grid-template-columns: 660px 380px 120px 120px 120px;
	}

	.mixtureMaterialInformationTable tr th:last-child,
	.mixtureMaterialInformationTable tr td:last-child {
		display: flex;
	}

	.mixtureMaterialInformationTable {
		overflow-x: hidden;
	}
}

@media screen and (min-width: 1440px) {
	.searchModalWrapper.show {
		justify-content: center;
		align-items: center;
	}
	.searchModalWrapper.show > .flex-container {
		border-radius: 1rem;
	}
}
