@charset 'utf-8';

/* --- 변수 및 기본 설정 --- */
:root {
	--inquery-blue: #385fb3;
	--inquery-blue-hover: #003ecc;
}

article.container {
	padding: 3rem;
	border: 1px solid var(--bs-border-color);
}

#creditor_search_aside {
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 150px !important;
	background-color: var(--bs-bg-purple) !important;
	background-image: url(../img/creditor_search_3d_icon.png) !important;
	background-position: right center !important;
	background-size: 200px !important;
	background-repeat: no-repeat !important;
}

#creditor_search_aside h1 {

	color: rebeccapurple;
	font-weight: 700;
}

#creditor_search_aside p {
	margin: .5rem 0 0 !important;
}
@media (min-width:479px) and ( max-width:768px ) {
	
	#creditor_search_aside {

	}
}
@media (max-width:479px) {

	article.container {
		padding: 2rem 1rem;
	}

	#creditor_search_aside {
		display: flex;
		flex-direction: column;
		justify-content: center;
		height: 150px !important;
		background-color: var(--bs-bg-purple) !important;
		background-image: url(../img/creditor_search_3d_icon.png) !important;
		background-position: right top !important;
		background-size: 150px !important;
		background-repeat: no-repeat !important;
		margin-left: 1rem !important;
		margin-right: 1rem !important;
		width: calc(100% - 2rem) !important;
		max-width: calc(100% - 2rem) !important;
	}
}

/* --- 유틸리티: 텍스트 및 배경 색상 --- */
.text-primary-custom {
	color: var(--inquery-blue) !important;
}

.bg-primary-custom {
	background-color: var(--inquery-blue) !important;
}

/* --- 공통 컴포넌트: 버튼 --- */
/* 메인 버튼 (파란색 배경) */
.btn-primary-custom {
	background-color: var(--inquery-blue);
	border-color: var(--inquery-blue);
	color: white;
	padding: 0.6rem 1.5rem;
	font-weight: 600;
	transition: all 0.2s ease-in-out;
}

.btn-primary-custom:hover {
	background-color: var(--inquery-blue-hover);
	border-color: var(--inquery-blue-hover);
	color: white;
}

/* 아웃라인 버튼 (파란색 테두리) */
.btn-outline-custom {
	color: var(--inquery-blue);
	border-color: var(--inquery-blue);
	transition: all 0.2s ease-in-out;
}

.btn-outline-custom:hover {
	background-color: var(--inquery-blue);
	color: white;
}

.card {
	height: fit-content !important;
}


/* 가이드 액션 버튼 스타일 */
.action-guide-item {
	border: 1px solid #e9ecef;
	border-radius: 12px;
	padding: 1.25rem;
	margin-bottom: 1rem;
	background-color: white;
	transition: all 0.2s;
	cursor: pointer;
	text-decoration: none;
	display: block;
	color: inherit;
}

.action-guide-item:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	background-color: #f8f9fa;
	color: inherit;
}

/* --- 공통 카드 스타일 --- */
.result-card {
	border: none;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	background-color: white;
	margin-bottom: 30px;
	transition: transform 0.2s;
}

.result-card:hover {
	transform: translateY(-2px);
}

/* 카드 헤더 */
.card-header-custom {
	padding: 20px 25px;
	background-color: #fff;
	border-bottom: 1px solid #eee;
	position: relative;
}

/* 유형별 포인트 컬러 바 (왼쪽) */
.type-bar {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 6px;
}

.type-bar.security {
	background-color: #7952b3;
}

/* 담보권: 보라색 */
.type-bar.claim {
	background-color: #c6fc00;
}

/* 일반채권: 파란색 */
.type-bar.tax {
	background-color: #dc3545;
}

/* 조세: 빨간색 */

/* 뱃지 스타일 */
.badge-custom {
	font-size: 1rem;
	padding: 6px 10px;
	border-radius: 6px;
	font-weight: 600;
	display: inline-block;
}

.badge-security {
	background-color: #f3e8ff;
	color: #7952b3;
}

.badge-claim {
	background-color: #e6f0ff;
	color: #004fff;
}

.badge-tax {
	background-color: #ffe6e6;
	color: #dc3545;
}

/* 데이터 필드 스타일 */
.data-label {
	font-size: 1rem;
	color: #888;
	margin-bottom: 4px;
	font-weight: 500;
}

.data-value {
	font-size: 1.1rem;
	font-weight: 700;
	color: #333;
	white-space: nowrap;
}

.data-value.total {
	font-size: 1.35rem;
	color: #004fff;
}

/* 담보목적물 박스 */
.purpose-box {
	background-color: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 15px;
	font-size: 0.9rem;
	color: #555;
	margin-bottom: 20px;
	white-space: pre-line;
	/* 줄바꿈 허용 */
	max-height: 150px;
	overflow-y: auto;
	line-height: 1;
}

/* 비고란 */
.etc-section {
	background-color: #fbfbfb;
	border-top: 1px solid #eee;
	padding: 15px 25px;
	font-size: 0.85rem;
	color: #666;
}

.grid-divider {
	border-right: 1px solid #eee;
}






/**************모바일********************/
@media (max-width: 768px) {
	.grid-divider {
		border-right: none;
		border-bottom: 1px solid #eee;
		padding-bottom: 15px;
		margin-bottom: 15px;
	}

	*::placeholder {
		font-size: .9rem;
	}


	.action-guide-item {
		padding: .8rem;
	}

}

/* 신고서 가이드 전용 스타일 */
.step-header {
	background-color: #e9ecef;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	font-weight: bold;
	color: var(--inquery-blue);
	margin-top: 2rem;
	margin-bottom: 1rem;
	border-left: 5px solid var(--utop-blue);
	font-size: 1.5rem;
}

table,
.table {
	cursor: default !important;
}

.table th,
.table td {
	vertical-align: middle;
	line-height: 1.2 !important;
	padding: 1rem !important;
	cursor: default !important;
}

.table th {
	font-size: 1.2rem !important;
}

.page_topic {

	height: 100px;
	background-color: antiquewhite;
	padding: 1rem;
	color: #785000;
	display: flex;
	align-items: center;
	margin: -3rem -3rem 3rem !important;
}

#faqAccordion .accordion-button {
	font-size: 1.5rem;
}

#faqAccordion .accordion-body {
	font-size: 1.2rem;
}

#procedure-table td {
	min-width: 150px;
}

ul {
	padding-left: 0 !important;
}

@media (min-width: 479px ) and(max-width:768px) {

	.page_topic {
		margin: -2rem -1rem 2rem !important;
	}
}

@media (max-width: 479px) {
	.page_topic {
		margin: -2rem 0 2rem !important;
	}
}

/* 초점이 맞춰진 요소의 테두리 색상 변경 */
.introjs-highlight {
  border: 3px solid #ff3b30 !important;   /* 빨간색 border */
  border-radius: 6px !important;           /* 둥근 모서리(필요시) */
}
.introjs-tooltip {max-width: 100vw !important;}

/* 하이라이트 영역 주변 dimmed layer도 수정 가능 */
.introjs-helperLayer {
  border: 3px solid #ff3b30 !important;    /* 테두리 */
  box-shadow: 0 0 0 9999px rgba(0,0,0,0.55) !important; /* 배경 어둡게 */
  border-radius: 6px !important;
}