@import url("/static/dgst/css/pages/reference_test.css");
@import url("/static/dgst/css/modules/card.css");

.iconNumbering1,
.iconNumbering2,
.iconNumbering3 {
	display: inline-block;
	width: fit-content;
	height: 1.5rem;
	padding-left: 0.5rem;
}

.iconNumbering1::before,
.iconNumbering2::before,
.iconNumbering3::before {
	content: "";
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0.125rem 0;
	margin-right: 0.125rem;
	background-repeat: no-repeat;
	background-size: 1.5rem;
	background-position: center;
	vertical-align: text-bottom;
}
.iconNumbering1::before {
	background-image: url("/static/dgst/img/icon/ic_number_1.svg");
}
.iconNumbering2::before {
	background-image: url("/static/dgst/img/icon/ic_number_2.svg");
}
.iconNumbering3::before {
	background-image: url("/static/dgst/img/icon/ic_number_3.svg");
}

.preparationsTable {
	display: none;
}

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

.preparationsItem {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	background-color: var(--grey-color);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.preparationsContentsLabel {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	text-align: center;
	min-width: 7rem;
	width: auto;
	height: auto;
}

.preparationsIndex {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 3.375rem;
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1;
	text-align: center;
}

.preparationsContent {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.25rem;
	width: auto;
	height: auto;
	padding: 1rem;
	background-color: var(--white-color);
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.4;
}

.preparationsContentsList {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.25rem;
	width: 100%;
	height: auto;
	padding-bottom: 1rem;
	padding-left: 1.875rem;
	background-color: var(--white-color);
}

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

.preparationsQuantity {
	flex: 1;
	padding: 1rem;
	background-color: var(--white-color);
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-regular);
	line-height: 1;
}

.preparationsNote {
	flex: 1;
	padding: 1rem;
	background-color: var(--white-color);
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-regular);
	line-height: 1.4;
}

.preparationsContactInfoList {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.25rem;
	width: 100%;
	height: auto;
}
.preparationsContactInfoItem {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	column-gap: 0.25rem;
	row-gap: 0.25rem;
	width: 100%;
	height: auto;
}

.notificationWrapper {
	display: block;
	width: 100%;
	height: auto;
	padding: 1.5rem;
	background-color: var(--grey-color);
	border-radius: 0.625rem;
	margin-bottom: 2.5rem;
}

.notificationList {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.25rem;
	width: 100%;
	height: auto;
	padding-left: 0.625rem;
}
.notificationItem {
	padding-left: 0.625rem;
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-regular);
	line-height: 1.4;
}

.attachmentList {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	row-gap: 0.25rem;
	width: 100%;
	height: auto;
	border-top: 1px solid var(--grey-color);
}
.attachmentItem {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
	height: auto;
	padding: 1rem;
	border-bottom: 1px solid var(--grey-color);
}

.attachmentLabel {
	display: inline-block;
	min-width: 6.25rem;
	width: auto;
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-semi-bold);
	line-height: 1.4;
}

.attachmentValue {
	flex: 1;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: flex-start;
	column-gap: 0.25rem;
	width: 100%;
	color: var(--text-color);
	font-size: 1rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.4;
	text-align: left;
}

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

@media screen and (min-width: 768px) {
	.attachmentItem {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: flex-start;
		align-items: center;
	}
}

@media screen and (min-width: 1024px) {
	.preparationsTable {
		position: relative;
		display: grid;
		width: 100%;
		height: auto;
	}

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

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

	.preparationsTable thead tr,
	.preparationsTable tbody tr {
		display: grid;
		grid-template-columns: 60px 1fr 60px 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);
	}

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

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

	.preparationsTable 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;
	}

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

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

	.preparationsTable tr th {
		justify-content: center;
	}

	.preparationsTable tr td.center {
		justify-content: space-around;
	}
}

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