@charset "utf-8";

.page-theme {
	--page-theme: #5D3FD3;
	--page-theme-rgb: 93, 63, 211;
}

.article-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
}

.gradient-search-wrapper .gradient-border {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
}

.gradient-search-wrapper .gradient-border select {
	margin-left: 1rem;
	width: 200px;
}

.summary-wrapper {
	position: relative;
	margin-bottom:3rem;
}
.summary-wrapper:has(.d-none) {
	margin:0;
}
#id__info_accordion_btn {
	position:absolute;
	right: 1rem;
	top:1rem;
	width:max-content;
	
}
.title-border-s {
	width: 100%;
	border-left: 3px solid var(--page-theme);
	display: flex;
	height: 60px;
	padding-left: 1rem;
	margin-bottom: 1rem;
}
#statCollapse {
	margin-bottom:3rem;
}
.order-numbers {
	display:flex;
	width:100%;
	gap:2rem;
}
.order-numbers .stat-box {
	flex-direction:row;
	flex: 1;
}
.order-numbers .stat-box  > *:nth-child(2) {
	font-size:2rem;
	align-self:end;
}
.btn-page[data-bs-target="#statCollapse"] {
	position: absolute;
	right: 0;
	top: 0;
	width: auto;
}
.claim-description {
	display:flex;
	flex-direction: column;
}
.claim-description,
.stat-detail {
	/* border: 1px solid var(--page-theme); */
	padding: 1rem;
	margin-top: 1rem;
}

.stat-summary {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	justify-content: space-around
}

.stat-box {
	border: 1px solid var(--page-theme);
	;
	padding: 1rem;
	border-radius: 6px;
	min-width: 100px;
	text-align: center;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: fit-content;
}

.claim-detail-row {
	gap: 1rem;
	flex-wrap: wrap;
	display: flex;
	flex-direction:column;
	height:max-content;
}

.claim-detail-row>* {
	flex: 1 0 calc(50% - 0.5rem);
	width:100%;
}

.order-numbers {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;

}

.progress-box {
	margin-bottom: 1.5rem;
	padding:0 1rem;
}

.progress-box>.d-flex {
	margin-bottom: .5rem;
}

#id__detail_box {
	overflow-y: auto;
	padding: 2rem;
	white-space: pre-line;
	background-color: var(--bs-gray-100);
	flex: 1 1 auto;
	font-size:1.5rem;
	max-height:400px;
}

@media (min-width: 768px) {
	.claim-detail-row {
		flex-wrap: nowrap;
		/* 데스크탑 이상에서는 줄바꿈 방지 */
	}
}

@media (max-width:768px) {
	.article-head {
		margin-bottom: 1.2rem;
	}


	#id__detail_box {
		overflow-y: scroll;
		-webkit-overflow-scrolling: touch;
	}

	#id__detail_box::-webkit-scrollbar {
		width: 6px;
	}

	#id__detail_box::-webkit-scrollbar-thumb {
		background: #666;
		border-radius: 6px;
	}

	.order-numbers .stat-box {
		flex-direction: column;
	}

	.order-numbers .stat-box>*:nth-child(1) {
		align-self: baseline;
	}
	.order-numbers .stat-box>*:nth-child(2) {
		font-size: 1.5rem;
	}
	.summary-wrapper {
		margin-bottom: 3rem;
	}

	.claim-description,
	.claim-detail-row {
		padding: 0;
	}
}

.progress .progress-bar{
	background: var(--bs-gray-700) !important;
}
.progress {
	margin:0 !important;
	width:100% !important;
}


