@charset "UTF-8";

.page-theme {
	--page-theme: #fd7e14;
	--page-theme-rgb: 253, 126, 20;
	
}

section {
	padding-top: 1rem;
	;
}

.banner-standby {
	width:100%;
	margin-bottom: 3rem;
}
@media (max-width: 768px) {
    .container .banner-standby {
        transform:scale(1.5);
    }
}
.fee-modal-btn {
	border: 1px solid var(--bs-gray-500);
	border-radius: 100px;
	color: var(--bs-gray-500);
	padding: 0.25rem 0.75rem;
	cursor: pointer;
	display: flex;
	align-items: center;
	margin-left: 0.5rem;
}

.col-md-6:has(.creditor-card) {
	display: flex;
	justify-content: center;
	align-items: center;
	padding-top: 100px;
	padding-bottom: 100px;
}

.creditor-card {
	position: relative;
}

.creditor-card,
.creditor-card-back {
	width: 287px;
	height: 431px;
	border: 1px solid var(--bs-gray-500);
	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
}

.creditor-card-back {
	position: absolute;
	z-index: -1;
}

.creditor-card-back:nth-child(2) {
	transform: rotate(-10deg);
}

.creditor-card-back:nth-child(3) {
	transform: rotate(-5deg);
}

.creditor-card .card-body {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.c-c-img-container {
	height: 50%;
	width: 100%;
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	flex-direction: column;
}

.c-c-img-container .c-c-img {
	flex: 1 0 100%;
	width: 100%;
	object-fit: contain;
}
#id__creditor_info_preview {
	display:flex;
	justify-content:center;
	align-items:start;
}

@media (max-width:768px) {

	.c-c-img-container,
	.creditor-card-back {
		display: none;
	}

	.creditor-card {
		height: auto;
		width: 100%;
		min-height: 146px;
	}

	.col-md-6.col-12:has(.creditor-card) {
		position: absolute;
		bottom: 80px;
		left: 0;
		padding: 0 !important;
	}

	.row:has(.creditor-card) {
		position: relative;
	}
	.creditor-card {
		box-shadow: none;
	}
	.col-md-6.col-12:has(.order-step) {
		padding-bottom: 0;
	}

	.step-btns {
		margin-top: 200px !important;
	}
	.info-grid {
		padding-left:2rem;
		padding-right:2rem;
	}
	.info-grid * {
		font-size:16px;
	}
	.input-group {
		flex-wrap:nowrap;

	}
	#id__creditor_search_btn {
		width:max-content;
		word-break:keep-all;
		white-space:nowrap;
	}
	#id__currency_label {
		width:max-content;
		cursor:default;
		word-break:keep-all;
		white-space:nowrap;
	}
	#id__currency_label:hover {
		transition:none;
	}
	.md-h-206 {
		height:206px;
	}
}

.creditor-info {
	display: flex;
	justify-content: center;
	margin-top: auto;
	margin-bottom: 1rem;
}

.creditor-info+.info-grid {
	display: grid;
	grid-template-columns: 100px 1fr;
	row-gap: 10px;
}

.creditor-info+.info-grid>*:nth-child(odd) {
	color: var(--bs-gray-500);
}

.creditor-info+.info-grid>*:nth-child(even) {
	color: var(--bs-gray-700);
}

.col-md-6.col-12:has(.order-step) {

	padding-top: 100px;
	padding-bottom: 100px;
	padding-left: 2rem;
}

.order-step-container:nth-child(1) {
	/* width:616px;
	height:354px; */
}

.order-step {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--page-theme);
	border-left: 3px solid var(--page-theme);
	padding-left: 2rem;
}

.order-step .total-step {
	color: var(--bs-gray-500);
}

.order-step .step-name {
	color: var(--bs-gray-700);
}

.step-indicator {
	display: flex;
	align-items: center;
	margin: 20px 0 50px;
	position: relative;
	width: max-content;
}

.step {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 2px solid #ccc;
	background-color: white;
	position: relative;
	z-index: 1;
	margin-right: 70px;
}

.step+.step::before {
	content: "";
	position: absolute;
	top: 50%;
	left: -70px;
	height: 2px;
	background-color: #ccc;
	z-index: 0;
	width: 70px;
}

.step.completed {
	background-color: var(--page-theme);
	border-color: var(--page-theme);
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

.step.completed::before {
	background-color: var(--page-theme);
}

.step.completed span {
	font-size: 16px;
}

.step.current {
	border-color: var(--page-theme)
}

.step-indicator .step.current::before {
	background-color: var(--page-theme)
}

.order-form {
	padding-left: 2rem;
}

.btn-orange {
	background-color: var(--page-theme);
	color: white;
	border: none;
}

.btn-orange:focus {
	box-shadow: 0 0 0 0.25rem rgba(255, 69, 0, 0.4);
}

.step-btns {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.step-btns .btn-orange {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	margin-left: auto;

}

.step-btns .btn-orange::before {
	content: "";
	width: calc(100% + 10px);
	height: auto;
	aspect-ratio: 1 /1;
	position: absolute;
	border: 1px dashed var(--page-theme);
	border-radius: 50%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

.step-btns .btn-orange:hover {
	transform: scale(1.2);
	transition: all 0.3s ease-in-out;
}

#orderSummaryTable tr:not(:last-child) {
	border-bottom: 1px solid var(--bs-gray-300);
}


.form-label .badge {
	font-size: 1rem !important;
	margin-top: .5rem;
	margin-bottom: .5rem;
}



/* 폼 요약 테이블 */
#order_summary_table th,
#order_summary_table td {
	line-height: 1.5;
	padding: 1rem;
}

#order_summary_table th {
	width: 33%;
}

/***********************모바일 ***************************/
@media (max-width:1200px) {
	article {

		margin-bottom: 50px;
	}

	.order-step-col {
		/* order: -1; */
	}

	.more .h6 {
		display: none;
	}

	.step-indicator {
		transform: scale(.6);
		transform-origin: left top;
		;
	}

	.order-form {
		padding: 0;
	}

	.order-form .form-label {
		text-align: center;
		;
	}

	#orderSummaryTable th {
		width: 35%;

	}

	.col-md-6.col-12:has(.order-step) {
		padding:0 !important;
	}

	.article-form .row {
		margin-left: 0;
		margin-right: 0;
		flex-direction: column;
		;
	}

	.article-form .row>* {
		width: 100%;
	}

	.article-order-list {
		overflow-x: visible;
	}

	.table-wrapper:has(.order-table) {
		overflow-x: visible;
	}

	.article-order-list .order-table td[data-label="No."],
	.article-order-list .order-table td[data-label="사건 번호"],
	.article-order-list .order-table td[data-label="입찰 최고가"],
	.article-order-list .order-table td[data-label="입찰 수"] {
		display: none;
	}

	.article-order-list .order-table tr {
		width: 200px;
		height: 200px;
	}

	.article-order-list .order-table td[data-label="채권명"] {
		margin-bottom: auto;
	}

	.article-order-list .pagination {
		display: none;
	}
}

@media(max-width: 768px) {
	.input-group > *:not(input[type="checkbox"]) {
		width: 100%;
		border-radius: var(--bs-border-radius) !important;
	}

	.col-md-6:has(.creditor-card) {
		padding-top: 0;
		padding-bottom: 0;
	}
}