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

.searchContentsContainer {
	flex: 1;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0;
	max-width: var(--max-width-contents);
	width: 100%;
	height: auto;
	padding: 0 var(--padding-horizontal-contents);
	margin: 0 auto;
}

.searchTitleContainer {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	row-gap: 0.5rem;
	width: 100%;
	height: auto;
	padding: 3rem 0;
	border-bottom: 1px solid var(--grey-color);
}

.searchTitle {
	color: var(--text-color);
	font-size: 2rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.5;
}

.dangerousMaterialInformationFormWrapper {
	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;
}
.dangerousMaterialInformationSearchFilterWrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 1rem;
	width: 100%;
	height: auto;
}

.dangerousMaterialInformationLabelWrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.5rem;
	width: 100%;
}

.dangerousMaterialInformationLabelWrapper label {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	column-gap: 0.125rem;
	min-width: fit-content;
	width: auto;
	color: var(--primary-color);
	font-size: 1.125rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
}

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

.dangerousMaterialInformationKeywordWrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	row-gap: 0.5rem;
	column-gap: 1.25rem;
	width: 100%;
	height: auto;
}

.dangerousMaterialInformationKeywordWrapper .shareButton {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	column-gap: 0.25rem;
	min-width: 8.75rem;
	width: fit-content;
	height: 2.5rem;
	font-size: 1rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
	border-radius: 0.75rem;
}

.dangerousMaterialInformationKeywordList {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.5rem;
	column-gap: 1.25rem;
	width: 100%;
	height: auto;
}

.dangerousMaterialInformationKeywordItem {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 0.25rem;
	width: fit-content;
	height: auto;
	text-decoration: underline;
	white-space: nowrap;
}

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

.dangerousMaterialInformationInputBox {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	gap: 1rem;
	/* min-width: 25rem; */
	width: 100%;
	height: auto;
	border-radius: 0.75rem;
}

.dangerousMaterialInformationSelectBox {
	width: 100%;
}

.dangerousMaterialInformationInputBox select {
	/* display: inline-block; */
	min-width: 8.75rem;
	width: 100%;
	height: 2.5rem;
	color: var(--text-color);
	font-size: 1.125rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
	/* padding: 0.5rem 0.75rem; */
	/* border-right: 1px solid rgba(0, 0, 0, 0.02); */
}

.dangerousMaterialInformationInputBox input {
	/* flex: 1;
    display: inline-block;*/
	min-width: 12.5rem;
	width: 100%;
	height: 2.5rem;
	color: var(--text-color);
	font-size: 1.125rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
}

.dangerousMaterialInformationInputBoxWrapper button,
.dangerousMaterialInformationInputBoxWrapper a {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	column-gap: 1rem;
	min-width: 8.75rem;
	width: fit-content;
	height: 2.5rem;
	padding: 0.625rem 1rem;
	font-size: 1rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
	border-radius: 0.5rem;
}

.dangerousMaterialInformationInputBoxWrapper button.searchButton {
	justify-content: center;
	align-items: center;
	width: 100%;
	background-color: var(--primary-color);
	color: var(--white-color);
}

.dangerousMaterialInformationAdditionalButtonContainer {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	column-gap: 0.625rem;
	width: 100%;
	height: auto;
}

.toggleFilterButton {
	flex: 1;
	background-color: var(--grey-color);
	color: var(--text-color);
}
.toggleFilterButton.iconDropdown::after {
	content: "";
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	background-image: url("/static/dgst/img/icon/ic_dropdown.svg");
	background-repeat: no-repeat;
	background-size: 1.5rem;
	background-position: right;
	background-origin: content-box;
	transition: rotate 0.2s ease-in-out;
}
.toggleFilterButton.active.iconDropdown::after {
	content: "";
	rotate: 180deg;
}
.shareButton {
	flex: 1;
	background-color: var(--grey-color);
	color: var(--text-color);
}
.shareButton.iconShare::after {
	content: "";
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	background-image: url("/static/dgst/img/icon/ic_share.svg");
	background-repeat: no-repeat;
	background-size: 1.5rem;
	background-position: right;
	background-origin: content-box;
}

.dangerousMaterialDetailSearchFilterWrapper {
	display: none;
}
.dangerousMaterialDetailSearchFilterWrapper.show {
	display: block !important;
	width: 100%;
	height: auto;
}

.dangerousMaterialDetailSearchFilterInputWrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	column-gap: 0.625rem;
	row-gap: 1.625rem;
}
.dangerousMaterialDetailSearchFilterTitleContainer {
	margin-bottom: 1.5rem;
}
.dangerousMaterialDetailSearchFilterTitleContainer .section-title {
	font-size: 1.25rem;
}

.dangerousMaterialDetailSearchFilterInputWrapper .select-box {
	width: 100%;
}

/* 유의사항 */

.dangerousMaterialInformationCautionCard {
	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;
}

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

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

.dangerousMaterialInformationCautionCardDescription {
	color: var(--text-color);
	font-size: 0.875rem;
	font-weight: var(--font-weight-regular);
	line-height: 1.4;
}

.dangerousMaterialInformationCautionCardBottomContainer {
	display: block;
	width: 100%;
	text-align: left;
}

.dangerousMaterialInformationCautionCardCheckboxField {
}

.dangerousMaterialInformationCautionCardCheckboxField label {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	column-gap: 0.25rem;
	width: fit-content;
	height: auto;
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-regular);
	line-height: 1px;
	cursor: pointer;
	transition: all 0.1s ease-out;
}

.checkbox-a.small label {
	height: var(--field-height-sm);
}

.dangerousMaterialInformationCautionCardCheckboxField label::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url("/static/dgst/img/icon/ic_checkbox_unchecked.svg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.dangerousMaterialInformationCautionCardCheckboxField input {
	display: none;
}

.dangerousMaterialInformationCautionCardCheckboxField input:checked + label {
	font-weight: var(--font-weight-semi-bold);
}

.dangerousMaterialInformationCautionCardCheckboxField input:checked + label::before {
	background-image: url("/static/dgst/img/icon/ic_checkbox_checked.svg");
}

/*테이블*/

.dangerousMaterialInformationTableWrapper {
	row-gap: 0.625rem;
	margin-bottom: 2.5rem;
}

.dangerousMaterialInformationTable {
	overflow-x: auto;
}

/* 각 열의 공통 너비를 지정 */
.dangerousMaterialInformationTable th:nth-child(1),
.dangerousMaterialInformationTable td:nth-child(1) {
	width: auto; /* 1번째 열의 너비 */
}

.dangerousMaterialInformationTable th:nth-child(2),
.dangerousMaterialInformationTable td:nth-child(2) {
	width: auto; /* 2번째 열의 너비 */
}

.dangerousMaterialInformationTable th:nth-child(3),
.dangerousMaterialInformationTable td:nth-child(3) {
	width: auto; /* 3번째 열의 너비 */
}
.dangerousMaterialInformationTable th:nth-child(4),
.dangerousMaterialInformationTable td:nth-child(4) {
	width: auto; /* 3번째 열의 너비 */
}

.dangerousMaterialInformationTable th:nth-child(5),
.dangerousMaterialInformationTable td:nth-child(5) {
	width: auto; /* 4번째 열의 너비 */
}

.dangerousMaterialInformationTable tr th:last-child,
.dangerousMaterialInformationTable tr td:last-child {
	display: none;
}

.dangerousMaterialInformationTable tr td {
	justify-content: space-evenly;
}

.dangerousMaterialInformationNotificationWrapper {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.5rem;
	width: 100%;
	height: auto;
	/* margin-bottom: 6.25rem; */
}

.dangerousMaterialInformationNotificationTitle {
	display: inline-block;
	width: 100%;
	color: var(--text-color);
	font-size: 1.5rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.6;
	letter-spacing: 0;
	text-align: left;
}

.dangerousMaterialInformationNotificationBody {
	display: inline-block;
	width: 100%;
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-regular);
	line-height: 1.6;
	letter-spacing: 0;
	text-align: left;
}

@media screen and (min-width: 768px) {
	.dangerousMaterialInformationInputBox select,
	.dangerousMaterialInformationInputBox input {
		height: 3.125rem;
	}
	.dangerousMaterialDetailSearchFilterInputWrapper {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.dangerousMaterialDetailSearchFilterInputWrapper .input-box {
		flex-basis: calc(33.3333% - 0.625rem);
		flex-grow: 1;
		flex-shrink: 0;
	}

	.dangerousMaterialDetailSearchFilterInputWrapper .select-box:nth-child(1) {
		max-width: 12.5rem;
	}
}

@media screen and (min-width: 1024px) {
	.dangerousMaterialInformationLabelWrapper {
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
		column-gap: 1.5rem;
	}
	.dangerousMaterialInformationKeywordWrapper {
		width: 100%;
	}

	.dangerousMaterialInformationInputBoxWrapper {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
	}

	.dangerousMaterialInformationInputBoxWrapper button,
	.dangerousMaterialInformationInputBoxWrapper a {
		max-width: 10rem;
		height: 4.25rem;
		font-size: 1.25rem;
		font-weight: var(--font-weight-semi-bold);
		line-height: 1.5;
	}

	.dangerousMaterialInformationInputBox {
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 0;
		padding: 0 1rem;
		border: 1px solid rgba(0, 0, 0, 0.2);
		overflow: hidden;
	}

	.dangerousMaterialInformationSelectBox {
		width: auto;
	}

	.dangerousMaterialInformationInputBox select,
	.dangerousMaterialInformationInputBox input {
		height: 4.25rem;
		border: none;
	}
	.select-box,
	.dangerousMaterialInformationInputBox select {
		width: auto;
	}

	.dangerousMaterialInformationInputBox label {
		min-width: none;
	}

	.dangerousMaterialInformationAdditionalButtonContainer {
		width: fit-content;
	}

	.detailSearchFilterTitleContainer .section-title {
		font-size: 1.5rem;
	}

	/* 각 열의 공통 너비를 지정 */
	.dangerousMaterialInformationTable th:nth-child(1),
	.dangerousMaterialInformationTable td:nth-child(1) {
		width: 20.625rem; /* 1번째 열의 너비 */
	}

	.dangerousMaterialInformationTable th:nth-child(2),
	.dangerousMaterialInformationTable td:nth-child(2) {
		width: 15rem; /* 2번째 열의 너비 */
	}

	.dangerousMaterialInformationTable th:nth-child(3),
	.dangerousMaterialInformationTable td:nth-child(3) {
		width: 7.5rem; /* 3번째 열의 너비 */
	}
	.dangerousMaterialInformationTable th:nth-child(4),
	.dangerousMaterialInformationTable td:nth-child(4) {
		width: 7.5rem; /* 3번째 열의 너비 */
	}

	.dangerousMaterialInformationTable th:nth-child(5),
	.dangerousMaterialInformationTable td:nth-child(5) {
		width: 7.5rem; /* 4번째 열의 너비 */
	}

	.dangerousMaterialInformationTable tr th:last-child,
	.dangerousMaterialInformationTable tr td:last-child {
		display: none;
	}

	.dangerousMaterialInformationTable tr th:last-child,
	.dangerousMaterialInformationTable tr td:last-child {
		display: table-cell !important;
	}
}

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