body {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    position: relative;
    background-color: #ffffff;
    overflow-x: hidden;

    min-width: 350px;
}

html {
    scroll-behavior: smooth;
}

body.menu-open .top-info-bar,
body.menu-open header.sticky-top {
    display: none !important;
}

.top-info-bar {
    background-color: #f1f3f5;
    font-size: 1.5rem;
    font-weight: 500;
    color: #495057;
    padding: 0.5rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1300;
    height: 60px;
}

header.sticky-top {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 57px;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 50px;
}

.modal-backdrop.show {
    z-index: 2000;
}
.modal.show {
    z-index: 2050;
}
.modal-dialog {
    z-index: 2051;
}

body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
}

@media (max-width: 768px) {
    .products-section-card {
        margin: 10px;
    }
}

.homepage-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 24%);
    gap: 1%;
    padding-left: 5rem;
    padding-right: 5rem;
}
@media (max-width: 771px) {
    .homepage-grid-4 {
        grid-template-columns: repeat(2, 49%);
    }
}
@media (max-width: 385px) {
    .homepage-grid-4 {
        grid-template-columns: repeat(1, 98%);
    }
}
.homepage-grid-4 > * {
    width: 100%;
}

@media (max-width: 991.98px) {
     header.sticky-top { height: 68px; top: 40px;}
     .navbar-toggler { display: block; }
     .navbar-toggler-fullscreen { display: block; font-size: 1.5rem; color: #0d6efd; border: none; background: none; }
     #navbarNav { display: none; }
     #navbarNav.collapsing, #navbarNav.show { display: block; }
     .navbar-nav .nav-link { padding-left: 1rem !important; padding-right: 1rem !important; }
     .navbar-collapse.collapse.show { background-color: #ffffff; border-top: 1px solid #dee2e6; box-shadow: 0 4px 6px rgba(0,0,0,0.1); position: absolute; top: 100%; left: 0; right: 0; width: 100%; z-index: 1029; }
     .navbar-collapse .navbar-nav { padding-top: 0.5rem; padding-bottom: 1rem; width: 100%; }
     .navbar-collapse .dropdown-menu { display: none; background-color: #f8f9fa; border: none; box-shadow: none; margin-top: 0; padding-left: 1rem; width: 100%; position: static; }
     .navbar-collapse .dropdown-toggle.mobile-submenu-active + .dropdown-menu { display: block; }
     .navbar-collapse .dropdown-item { padding: 0.5rem 1rem; font-size: 0.85rem; color: #212529; }
     .navbar-collapse .dropdown-menu .dropdown-item.active { background-color: #0d6efd; color: #fff !important; }
     .page-title { margin-top:80px; font-size: 2.0rem; font-weight: 700; text-align: center; }
     .page-subtitle { font-size: 0.7rem; }
     .form-section h3 { font-size: 1rem; }
     .footer-company-info, .footer-contact-info { text-align: center !important; }
     .footer-contact-info .phone-number { font-size: 1.2rem; }
     #homeCarousel .display-4 { font-size: 2.2rem; }
     #homeCarousel .lead { font-size: 1.0rem; }
     #homeCarousel .btn-lg { font-size: 1rem; padding: 0.6rem 1.2rem; }
     #homeCarousel .carousel-item img.main-image { max-width: 80%; margin-bottom: 1.5rem; max-height: 250px; } /* Image size */

     .product-info-item { flex-basis: 48%; text-align: center; margin-bottom: 0.5rem;}
     #productCarousel .carousel-item { padding: 3.5rem 1rem; min-height: auto;}
     #productCarousel .carousel-item .row > div { text-align: center !important; }
     #productCarousel .carousel-item img { max-width: 80%; margin-bottom: 1.5rem;}
     #productCarousel h3 { font-size: 1.4rem; }
     #productCarousel .product-subtitle { font-size: 1.2rem; }
     #productCarousel p { font-size: 0.9rem; }
     .product-info-item .info-label { font-size: 0.7rem; }
     .product-info-item .info-value { font-size: 0.8rem; }
     .product-info-container .row > div { margin-bottom: 0.5rem; }
     #sub-navbar .d-flex { flex-wrap: wrap; gap: 0.5rem; }
     #sub-navbar .nav-link-home { width: auto; flex-grow: 0; }
     #sub-navbar .sub-navbar-select { flex-grow: 1 !important; min-width: 120px !important; width: auto !important; }
     #fullScreenMenu .menu-container { padding: 4rem 1rem 2rem 1rem; }
     #fullScreenMenu .menu-column { margin-bottom: 1.5rem; }
     #fullScreenMenu .menu-column h5 { font-size: 1.1rem; }
     #fullScreenMenu .menu-column a { font-size: 0.85rem; padding: 0.4rem 0; }
     #fullScreenMenu .close-menu-btn { position: fixed; top: 20px; right: 30px; font-size: 2rem; color: #343a40; background: none; border: none; z-index: 1050; cursor: pointer; }
     .navbar-toggler-fullscreen { display: none; }
}

@media (min-width: 991.99px) {
    .navbar-toggler { display: none; }
    .navbar-toggler-fullscreen { display: block; }
    .navbar-nav .nav-link { padding-left: 2rem !important; padding-right: 2rem !important; font-size: 1.1rem;}
    #homeCarousel .display-4 { font-size: 3.2rem; }
    #homeCarousel .lead { font-size: 1.3rem; }
    #homeCarousel .btn-lg { font-size: 1.2rem; padding: 0.9rem 1.8rem; }
    #homeCarousel .carousel-item img.main-image { max-height: 400px; }
    .quick-menu-icon { font-size: 3rem; }
    .quick-menu-item span { font-size: 1.1rem; }
}
@media (max-width: 991.98px) {
   #home { margin-top: -(calc(40px + 68px)); }
   section:not(#home) {
       padding-top: calc(40px + 68px + 2rem);
       margin-top: -(calc(40px + 68px));
   }
}
@media (min-width: 991.99px) {
   section:not(#home) {
       padding-top: calc(40px + 76px + 3rem);
       margin-top: -(calc(40px + 76px));
   }
}

@media (min-width: 992px) {
    #homeCarousel .text-lg-start {
        text-align: left !important;
    }
    #homeCarousel .carousel-item img.main-image {
        margin-bottom: 0;
    }
}

@media (min-width: 992px) {
    .dropdown-menu { font-size: 0.9rem; border-radius: 0.375rem; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); display: block; opacity: 0; visibility: hidden; transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; margin-top: 0; pointer-events: none; }
    .dropdown:hover > .dropdown-menu, .dropdown.show > .dropdown-menu { opacity: 1; visibility: visible; pointer-events: auto; }
    .navbar-nav .dropdown { padding-bottom: 0.5rem; margin-bottom: -0.5rem; }
}

@media (max-width: 991.98px) {
    
    #productCarousel .carousel-item { padding: 2.5rem 1rem; min-height: auto; }
    #productCarousel .carousel-item img { max-width: 70%; margin-left: auto; margin-right: auto; margin-bottom: 1.5rem; max-height: 220px; }
    #productCarousel h3 { font-size: 1.5rem; }
    #productCarousel .product-subtitle { font-size: 1.1rem; }
    #productCarousel p { font-size: 0.9rem; }
    .product-info-container { gap: 0.5rem; }
    .product-info-item { flex-basis: calc(50% - 0.5rem); padding: 1.5rem 1rem; min-width: 100px; }
    .product-info-item .info-icon { font-size: 1.4rem; }
    .product-info-item .info-label { font-size: 0.7rem; }
    .product-info-item .info-value { font-size: 0.9rem; }
}
 @media (max-width: 767.98px) {
    #productCarousel h3 {
        font-size: 1.5rem;
    }

    #productCarousel .product-subtitle {
        font-size: 1.2rem;
    }

    #productCarousel p {
        font-size: 1rem;
    }
     #productCarousel .carousel-item .col-md-6 { text-align: center !important; }
     .product-info-container { justify-content: center !important; }
     #productCarousel .carousel-item img { max-width: 80%; }
     .product-info-item {
        flex: 1 1 30%;
        min-width: 100px;
        padding: 1.3rem 0.8rem;
    }
    .product-info-item .info-icon {
        font-size: 1.3rem;
    }
    .product-info-item .info-label {
        font-size: 0.75rem;
    }
    .product-info-item .info-value {
        font-size: 0.9rem;
    }
     /* 모바일 시, 상단바 */
     .top-info-bar {
        font-size: 1.1rem;
        height: 50px;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
    }

    header.sticky-top {
        top: 50px;
        height: 50px;
    }

    #home {
        margin-top: -(calc(50px + 60px)); /* 110px */
    }
    section:not(#home) {
        padding-top: calc(50px + 60px + 2rem); /* 110px + 추가 여백 */
        margin-top: -(calc(50px + 60px));    /* 110px */
    }
 }

 @media (min-width: 768px) {
    #productCarousel .carousel-item .text-md-start { text-align: left !important; }
    .product-info-container.justify-content-md-start { justify-content: flex-start !important; }
    #productCarousel .carousel-item img { margin-bottom: 0; }
}

section {
   padding-bottom: 3rem;
   padding-top: calc(40px + 76px + 3rem);
   margin-top: -(calc(40px + 76px));
}

/* 첫번째 슬라이드 */
#home {
     padding-top: 0;
     padding-bottom: 0;
     margin-top: -(calc(40px + 76px));
     background-color: #f8f9fa;
}

#homeCarousel .carousel-item {
    padding: 7rem 2rem;
    background-color: #eef2ff;
    text-align: center;
}

#homeCarousel .carousel-item:nth-child(2) {
    background-color: #f0f8ff; /* AliceBlue - 연한 하늘색 계열 */
}

#homeCarousel .carousel-inner {
    overflow: hidden;
    margin-top:100px;
}
#homeCarousel .carousel-item .row {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}
#homeCarousel .carousel-item img.main-image {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    object-fit: contain;
    margin-bottom: 1rem;
    height: 400px;
}
 #homeCarousel .carousel-indicators {
    bottom: 25px;
 }
#homeCarousel .carousel-indicators [data-bs-target] {
    background-color: #adb5bd;
    width: 14px;
    height: 14px;
    border-radius: 50%; margin: 0 6px;
    border: 1px solid #adb5bd; opacity: 0.7;
}
#homeCarousel .carousel-indicators .active {
    background-color: #0d6efd; border-color: #0d6efd; opacity: 1;
}
#homeCarousel .carousel-control-prev-icon,
#homeCarousel .carousel-control-next-icon {
    filter: invert(1) grayscale(100) brightness(0.5); background-size: 100%, 100%;
    width: 2.5rem;
    height: 2.5rem;
}
#homeCarousel .carousel-control-prev,
#homeCarousel .carousel-control-next {
    width: 8%;
}

.navbar-nav .nav-link {
    padding: 0 1.5rem !important;
    transition: color 0.2s ease, font-weight 0.2s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-item.show > .nav-link,
.navbar-nav .dropdown > .nav-link.active-dropdown-parent {
    color: #0d6efd !important;
    background-color: transparent !important;
    font-weight: 500;
}
.navbar-nav .nav-link.active {
    font-weight: 500;
}

.dropdown-menu .dropdown-item {
    transition: color 0.2s ease, font-weight 0.2s ease;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    color: #0d6efd !important;
    background-color: transparent !important;
    font-weight: 500;
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

.loan-btn {
    padding: 1rem 2.5rem;     
    font-size: 1.4rem;        
    height: auto;             
    min-width: 250px;         
}

.dropdown-item { padding: 0.5rem 1rem; }

.btn-rounded-pill { border-radius: 50rem; }
.section-title { font-weight: 700; margin-bottom: 3rem; }
.card-icon { font-size: 3rem; margin-bottom: 1rem; color: #0d6efd; }

/* Quick Menu */
.quick-menu-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}
.quick-menu-item {
    padding: 2.5rem 0.5rem; /* 이전 2.2rem 0.5rem -> 높이 키움 */
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: none; background-color: transparent; box-shadow: none;
    text-decoration: none; color: #212529; transition: all 0.3s ease; height: 100%;
}
.quick-menu-item:hover {
    color: #0d6efd; transform: translateY(-3px);
    background-color: transparent; border-color: transparent;
}
.quick-menu-icon { font-size: 3rem; margin-bottom: 1rem; color: #0d6efd; } /* Increased size */
.quick-menu-item span { font-size: 1.1rem; font-weight: 500; text-align: center; }


#products-section .container-fluid { padding-left: 0; padding-right: 0; }
#productCarousel .carousel-item {
    background-color: #ffffff; padding: 6rem 2rem; border-radius: 0; min-height: 700px;
    text-align: center;
}

#productCarousel .carousel-inner { overflow: hidden; }
#productCarousel .carousel-item .row { width: 100%; max-width: 1140px; margin-left: auto; margin-right: auto; display: flex; flex-wrap: wrap; align-items: center; }
#productCarousel .carousel-item img { max-width: 100%; height: 500px; border-radius: 0.375rem; object-fit: contain; max-height: 500px; margin-bottom: 1rem; }
#productCarousel .carousel-indicators { bottom: 10px; }
#productCarousel .carousel-indicators [data-bs-target] { background-color: #6c757d; width: 12px; height: 12px; border-radius: 50%; margin: 0 5px; border: 1px solid #adb5bd; opacity: 0.7; }
#productCarousel .carousel-indicators .active { background-color: #0d6efd; border-color: #0d6efd; opacity: 1; }
#productCarousel .carousel-control-prev-icon, #productCarousel .carousel-control-next-icon { filter: invert(1) grayscale(100) brightness(0.5); background-size: 100%, 100%; }
#productCarousel .carousel-control-prev, #productCarousel .carousel-control-next { width: 5%; }
#productCarousel h3 { font-size: 2.6rem; margin-bottom: 1.7rem; font-weight: 700; color: #343a40; }
#productCarousel .product-subtitle { font-size: 1.9rem; font-weight: 500; color: #0d6efd; margin-bottom: 1.2rem; }
#productCarousel p { font-size: 1.35rem; margin-bottom: 2.5rem; color: #495057; line-height: 1.6; }
#productCarousel .btn-outline-primary { font-weight: 500; margin-bottom: 2rem; padding: 0.8rem 1.5rem; font-size: 1.1rem; border-radius: 50rem; transition: all 0.3s ease; }
#productCarousel .btn-outline-primary:hover { background-color: #0d6efd; color: white; }
.product-info-container { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

.product-info-item {
    /* flex: 0 1 calc(33.333% - 1.5rem); */
    max-width: 100%;
    min-height: 100px;      
    padding: 2.0rem 2.0rem; 
    background-color: #ffffff;
    border-radius: 0.5rem;
    border: 1px solid #e0e7ff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    text-align: center;
}

.product-info-container {
    gap: 1.4rem;
}

.product-info-item .info-icon { font-size: 1.5rem; color: #6c757d; margin-bottom: 0.5rem; }
.product-info-item .info-label { font-size: 1.2rem; color: #6c757d; margin-bottom: 0.25rem; font-weight: 500; }
.product-info-item .info-value { font-size: 1.2rem; font-weight: 600; color: #0d6efd; }

/* 푸터 */
.footer-bg { background-color: #212529; color: #adb5bd; }
.footer-bg .text-white { color: #f8f9fa !important; }
.footer-bg a { color: #adb5bd; text-decoration: none; }
.footer-bg a:hover { color: #f8f9fa; }
.footer-bg .border-top, .footer-bg .border-bottom { border-color: #495057 !important; }
.footer-policy-links { border-top: none !important; }
.footer-policy-card { background-color: #495057; color: white; padding: 0.8rem 0.75rem; border-radius: 0.25rem; font-size: 0.75rem; text-decoration: none; display: flex; align-items: center; justify-content: center; height: 100%; transition: background-color 0.2s ease; text-align: center; }
.footer-policy-card:hover { background-color: #6c757d; color: white; }
.illegal-fee-notice { color: #ffc107; font-weight: bold; font-size: 0.8rem; margin-top: 1rem; text-align: center; }
.footer-company-info { font-size: 1.2rem; line-height: 1.6; }
.footer-company-info p { margin-bottom: 0.3rem; }
.footer-company-info strong { color: #dee2e6; }
.footer-contact-info .phone-number { font-size: 1.5rem; font-weight: bold; color: #f8f9fa; display: block; margin-bottom: 0.5rem; }
.footer-loan-details { font-size: 1.5rem; line-height: 1.5; padding-top: 1.5rem; padding-bottom: 1.5rem; }
.footer-loan-details2 { font-size: 1.5rem; color: rgb(129, 176, 236); line-height: 1.5; }
.footer-loan-details p, .footer-loan-details2 p { margin-bottom: 0.5rem; text-indent: -1em; padding-left: 1em; }
.footer-copyright { font-size: 0.7rem; color: #6c757d; }


#loan-apply-page-section { padding-top: calc(40px + 76px + 3rem); padding-bottom: 4rem; background-color: #ffffff; margin-top: -(calc(40px + 76px)); }
    @media (max-width: 991.98px) { #loan-apply-page-section { margin-top: -(calc(40px + 68px)); padding-top: calc(40px + 68px + 2rem); } }

/* 페이지 상단 제목 + 서브 타이틀 */
.page-title { margin-top: 80px; font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; text-align: center; color: #343a40; }
.page-subtitle { font-size: 1.2rem; color: #6c757d; text-align: center; margin-bottom: 3rem; }

.breadcrumb-container {
    display: flex;
    justify-content: flex-end; 
    margin-bottom: 1rem; 
    font-size: 0.85rem;
    color: #6c757d;
}

.breadcrumb-container .breadcrumb-item {
    display: inline-block;
}

.breadcrumb-container .breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 0.5rem;
    color: #6c757d;
}

.breadcrumb-container a {
    color: gray;
    text-decoration: none;
}
.breadcrumb-container a:hover {
    text-decoration: underline;
}

.page-title-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-title-icon {
    background-color:  #0d6efd; 
    color: white;
    border-radius: 50%;
    width: 100px; 
    height: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem; 
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.75rem; 
}


#sub-navbar { padding: 0; box-shadow: 0 2px 4px rgba(0,0,0,0.1); border-radius: 0; margin-bottom: 2rem; border-bottom: 1px solid #dee2e6; }
#sub-navbar .container { max-width: none; padding-left: 0; padding-right: 0; }
#sub-navbar .d-flex { gap: 0; align-items: stretch; justify-content: flex-start; }
#sub-navbar .nav-link-home { background-color: #e9ecef; color: #495057; border: none; border-right: 1px solid #dee2e6; padding: 0.75rem 1.5rem; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 1rem; transition: background-color 0.2s ease; flex-shrink: 0; width: 80px; line-height: 1.5; }
#sub-navbar .nav-link-home:hover { background-color: #ced4da; }
.sub-navbar-select { flex-grow: 0 !important; flex-shrink: 1 !important; width: 180px !important; min-width: auto !important; background-color: #ffffff !important; color: #212529 !important; border: none !important; border-left: 1px solid #dee2e6 !important; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important; padding: 0.75rem 2.5rem 0.75rem 1rem !important; font-size: 0.9rem !important; border-radius: 0 !important; height: auto !important; line-height: 1.5 !important; cursor: pointer; transition: background-color 0.2s ease; }
.sub-navbar-select:hover { background-color: #f8f9fa !important; }
.sub-navbar-select option { background-color: white; color: black; }

/* 대출신청 > 본인인증 */
.step-indicator { display: flex; justify-content: space-around; margin-bottom: 2.5rem; padding-bottom: 1rem; border-bottom: 1px solid #dee2e6; list-style: none; padding-left: 0; flex-wrap: wrap; }
.step-indicator li { flex-basis: 50%; text-align: center; color: #6c757d; font-weight: 500; position: relative; padding-bottom: 0.5rem; font-size: 0.8rem; margin-bottom: 0.5rem; }
 @media (min-width: 768px) { .step-indicator li { flex: 1; flex-basis: auto; margin-bottom: 0; font-size: 0.9rem; } }
.step-indicator li.active { color: #0d6efd; font-weight: 700; }
.step-indicator li.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background-color: #0d6efd; }

.form-section { background-color: #f8f9fa; padding: 1.5rem; border-radius: 0.5rem; border: 1px solid #dee2e6; margin-bottom: 2rem; }

.form-control,
.form-select,
.form-check-label,
.form-check-input,
.form-control-sm,
.form-select-sm {
    font-size: 1.2rem;
}

@media (min-width: 768px) { .form-section { padding: 2rem 3rem; } }
.form-section h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1.5rem; color: #343a40; border-left: 4px solid #0d6efd; padding-left: 0.75rem; }
.form-label { font-weight: 500; font-size: 1.05rem; }
.birthdate-selects select { flex: 1 1 0; min-width: 60px; }
.phone-number-inputs input { flex: 1 1 0; min-width: 45px; text-align: center; padding-left: 0.25rem; padding-right: 0.25rem; }
.phone-number-inputs span { color: #6c757d; flex: 0 0 auto; }
.agreement-box { height: 120px; overflow-y: scroll; border: 1px solid #dee2e6; background-color: #fff; padding: 0.8rem; font-size: 0.8rem; margin-bottom: 1rem; color: #495057; }
.loan-apply-button { padding: 0.6rem 1.5rem; font-size: 1.2rem;}

/* Full Screen Menu */
.navbar-toggler-fullscreen { border: none; background: none; font-size: 1.5rem; color: #0d6efd; padding: 0.25rem 0.75rem; }
.navbar-toggler-fullscreen:hover { color: #0b5ed7; }
.navbar-toggler-fullscreen:focus { box-shadow: none; }
#fullScreenMenu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.98); z-index: 1040; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; overflow-y: auto; backdrop-filter: blur(5px); }
#fullScreenMenu.show-menu { opacity: 1; visibility: visible; }
#fullScreenMenu .menu-container { padding: 10rem 2rem 3rem 2rem; max-width: 1200px; margin: 0 auto; }
#fullScreenMenu .menu-container .row { gap: 3em; }
#fullScreenMenu .close-menu-btn { position: absolute; top: 20px; right: 30px; font-size: 2rem; color: #6c757d; background: none; border: none; cursor: pointer; }
#fullScreenMenu .close-menu-btn:hover { color: #343a40; }
#fullScreenMenu .menu-column { margin-bottom: 2rem; }
#fullScreenMenu .menu-column h5 { font-size: 1.6rem; font-weight: 700; color: #343a40; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid #dee2e6;}
#fullScreenMenu .menu-column ul { list-style: none; padding-left: 0; }
#fullScreenMenu .menu-column li { margin-bottom: 0.1rem; }
#fullScreenMenu .menu-column a { text-decoration: none; color: #495057; font-size: 1.2rem; padding: 0.5rem 0; display: block; transition: color 0.2s ease; }
#fullScreenMenu .menu-column a:hover { color: #0d6efd; font-weight: 500; }


/* 대출신청 2번쨰 */
.lvs1-content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.375rem;
    margin-bottom: 2.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* 스텝 인디케이터 스타일 */
.lvs1-step-indicator {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2.5rem;
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    border: 1px solid #e0e0e0;
}
.lvs1-step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; flex: 1; }
.lvs1-step-icon { width: 40px; height: 40px; border-radius: 50%; background-color: #adb5bd; color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-bottom: 0.5rem; border: 2px solid #adb5bd; font-size: 0.9rem; }
.lvs1-step.active .lvs1-step-icon { background-color: #0d6efd; border-color: #0056b3; }
.lvs1-step-label { font-size: 0.85rem; color: #6c757d; }
.lvs1-step-label .step-number { display: block; font-size: 0.75rem; margin-bottom: 0.2rem; }
.lvs1-step.active .lvs1-step-label { color: #0d6efd; font-weight: 600; }
.lvs1-step:not(:last-child)::after { content: ''; position: absolute; top: 20px; left: 50%; width: 100%; height: 2px; background-color: #dee2e6; z-index: -1; transform: translateX(calc(20px)); }
.lvs1-step.active::after { background-color: #0d6efd; }
.lvs1-step:last-child::after { display: none; }

/* 폼 그룹 제목 */
.lvs1-form-group-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-top: 0;
    margin-bottom: 0rem;
    padding: 0.75rem 0;
    border-bottom: 2px solid #000;
}

/* 테이블 스타일 폼 */
.lvs1-form-table {
    width: 100%;
    margin-top: 0;
}
.lvs1-form-table .lvs1-form-row {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    align-items: stretch;
}
.lvs1-form-table .lvs1-form-row:last-child {
    border-bottom: none;
}
.lvs1-form-table .lvs1-label-cell {
    background-color: #f8f9fa;
    padding: 0.9rem 1rem;
    width: 25%;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}
.lvs1-form-table .lvs1-input-cell {
    padding: 0.8rem 1rem;
    width: 75%;
    display: flex;
    align-items: center;
}
.lvs1-form-table .lvs1-required-mark { color: #dc3545; margin-left: 0.25rem; }

.lvs1-form-table .form-control,
.lvs1-form-table .form-select {
    font-size: 0.9rem;
    background-color: #fff;
    border: 1px solid #ced4da;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
}
.lvs1-form-table .form-select { padding-right: 2.25rem; }

.lvs1-form-table .input-group .form-control { text-align: center; }
.lvs1-form-table .input-group-text {
    background-color: transparent;
    border: none;
    padding: 0 0.4rem;
    font-size: 0.9rem;
    color: #495057;
}
.lvs1-contact-inputs { display: flex; width: 100%; }
.lvs1-contact-inputs .form-control {
    flex: 1 1 0;
    text-align: center;
}
.lvs1-contact-inputs .form-control:not(:last-child) {
    margin-right: 0.5rem;
}
.lvs1-form-table .form-check-label { /* 성별 라벨 폰트 크기 기본값 */
    font-size: 0.9rem;
}

.lvs1-agreement-section { margin-top: 2.5rem; }
.lvs1-agreement-title { font-size: 1.25rem; font-weight: 600; color: black; margin-bottom: 1rem; }
.lvs1-agreement-text { height: 180px; font-size: 0.875rem; background-color: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 0.25rem; padding: 1rem; margin-bottom: 1rem; overflow-y: auto; }
.lvs1-agreement-checkbox-container { display: flex; justify-content: flex-end; }
.lvs1-agreement-checkbox-container .form-check-label { font-size: 0.95rem; }

.lvs1-submit-button-container { text-align: center; margin-top: 2.5rem; }

.lvs1-submit-button-container  .lvs1-btn-submit {
    background-color: #0d274d;
    border-color: #0d274d;
    color: #fff;
    padding: 0.7rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.3rem;
    margin-left: 0.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.075);
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.lvs1-submit-button-container  .lvs1-btn-submit:hover {
    background-color: #0a1f3c;
    border-color: #091a31;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: white;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .lvs1-content-section { padding: 1.5rem; }
    .page-title { font-size: 1.8rem; }
    .page-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .lvs1-step-indicator { padding: 1rem 0.5rem; margin-bottom: 2rem; }
    .lvs1-step-icon { width: 30px; height: 30px; font-size: 0.8rem; margin-bottom: 0.3rem; border-width: 1px;}
    .lvs1-step-label { font-size: 0.75rem; }
    .lvs1-step-label .step-number { font-size: 0.7rem;}
    .lvs1-step:not(:last-child)::after { top: 15px; transform: translateX(calc(15px));}

    .lvs1-form-group-title { font-size: 1.25rem; }
    /* 모바일에서 라벨과 입력 필드를 한 줄에 유지하되, 라벨 너비 조정 */
    .lvs1-form-table .lvs1-form-row:not(:last-child) .lvs1-input-cell {
            border-bottom: none; /* 각 input cell의 하단선은 제거 (row의 border-bottom으로 대체) */
            margin-bottom: 0;
            padding-bottom: 0.8rem; /* 기존 패딩 유지 */
    }
    .lvs1-form-table .lvs1-label-cell {
        width: 35%; /* 모바일에서 라벨 너비 조정 */
        border-radius: 0.25rem 0 0 0.25rem; /* 왼쪽 모서리만 둥글게 */
        padding-bottom: 0.9rem; /* 기존 패딩 유지 */
        font-size: 0.85rem; /* 모바일 라벨 폰트 */
    }
    .lvs1-form-table .lvs1-input-cell {
        width: 65%; /* 모바일에서 입력 필드 너비 조정 */
        padding-top: 0.8rem; /* 기존 패딩 유지 */
    }
        /* 생년월일, 연락처를 위한 특별 모바일 스타일 */
    .lvs1-form-table .lvs1-form-row.lvs1-birthdate-row .lvs1-input-cell .input-group,
    .lvs1-form-table .lvs1-form-row.lvs1-contact-row .lvs1-contact-inputs {
        flex-wrap: nowrap; /* 한 줄에 강제 */
    }
    .lvs1-form-table .lvs1-form-row.lvs1-birthdate-row .form-select {
        min-width: 50px; /* 최소 너비 보장 */
        font-size: 0.85rem; /* 모바일 생년월일 select 폰트 */
    }
        .lvs1-form-table .lvs1-form-row.lvs1-birthdate-row .input-group-text {
        font-size: 0.85rem;
        padding: 0 0.2rem;
    }
    .lvs1-contact-inputs .form-control {
        margin-right: 0.25rem; /* 모바일에서 연락처 필드 간 간격 줄임 */
        font-size: 0.85rem;
        /* margin-bottom: 0.5rem; /* 한 줄일 경우 불필요 */
    }
    .lvs1-contact-inputs .form-control:last-child {
        margin-right: 0;
        /* margin-bottom: 0; /* 한 줄일 경우 불필요 */
    }
    /* 성별 라벨 폰트 크기 모바일에서 조정 */
    .lvs1-form-table .lvs1-form-row.lvs1-gender-row .form-check-label {
        font-size: 0.85rem;
    }
    .lvs1-agreement-checkbox-container { justify-content: flex-start; margin-top: 0.5rem;}
    .lvs1-btn-submit { width: 100%; }
}

/* 대출계산기 */
#loan-apply-page-section .form-range {
    height: 0.8rem; /* Increased track height */
}
#loan-apply-page-section .form-range::-webkit-slider-thumb {
    background-color: #0d6efd;
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    margin-top: -5px; /* Adjust if thumb is not vertically centered on track for BS5.3 */
    width: 1.5rem; /* Slightly larger thumb */
    height: 1.5rem; /* Slightly larger thumb */
}
#loan-apply-page-section .form-range::-moz-range-thumb {
    background-color: #0d6efd;
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    width: 1.5rem; 
    height: 1.5rem;
}
#loan-apply-page-section .form-range::-ms-thumb {
    background-color: #0d6efd;
    border: 3px solid white;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0; /* MS specific adjustment */
}
#loan-apply-page-section .form-range:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25), 0 0 8px rgba(0,0,0,0.2);
}
#loan-apply-page-section .form-range:focus::-moz-range-thumb {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25), 0 0 8px rgba(0,0,0,0.2);
}
#loan-apply-page-section .form-range:focus::-ms-thumb {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25), 0 0 8px rgba(0,0,0,0.2);
}

/* "대출 신청하기" button style (from .lvs1-btn-submit) */
#loan-apply-page-section .btn-lvs1-submit {
    background-color: #0d274d; 
    border-color: #0d274d; 
    color: #fff; 
    padding: 0.85rem 3rem; /* Increased padding */
    font-size: 1.2rem; /* Increased font size */
    font-weight: 500; 
    border-radius: 0.3rem;
}
#loan-apply-page-section .btn-lvs1-submit:hover {
    background-color: #0a1f3c; 
    border-color: #091a31;
}

/* Calculator form labels (inspired by .lvs1-form-label) */
#loan-apply-page-section .form-label.label-calculator {
    font-size: 1.05rem; /* Increased font size */
    font-weight: 500; 
    color: #495057; 
    margin-bottom: 0.3rem; /* Added margin for spacing */
}

/* Calculator form controls (inspired by .lvs1-form-control / .lvs1-form-select) */
#loan-apply-page-section .form-control-calculator,
#loan-apply-page-section .form-select-calculator {
    font-size: 1rem; /* Increased font size */
    background-color: #fff;
    border: 1px solid #ced4da;
    height: calc(1.5em + 1rem + 2px); /* Increased height */
    padding: .5rem .75rem; /* Adjusted padding */
}
#loan-apply-page-section .form-select-calculator {
    padding-right: 2.5rem; /* For select arrow, might need adjustment if height changes too much */
}
/* Input group text styling to match lvs1 style */
#loan-apply-page-section .input-group-text-calculator {
    background-color: transparent; 
    border: none;
    padding: 0 0.5rem; /* Increased padding */
    font-size: 1rem; /* Increased font size */
    color: #495057;
}


/* Table Styles for results table */
#loan-apply-page-section .results-table th,
#loan-apply-page-section .results-table td {
    text-align: right;
    vertical-align: middle;
    font-size: 0.9rem; /* Slightly increased */
}
#loan-apply-page-section .results-table th {
    background-color: #f8f9fa; 
    color: #343a40;
    font-weight: 600; 
}
#loan-apply-page-section .results-table td:first-child,
#loan-apply-page-section .results-table th:first-child {
    text-align: center;
}

/* Styling for headings within the calculator card */
#loan-apply-page-section .calculator-header-title { /* For "대출 계산기" inside card */
    font-size: 1.6rem; /* Increased font size */
    font-weight: 600;
    color: #333;
    margin-bottom: 0.85rem; 
    padding-bottom: 0.85rem;
    border-bottom: 2px solid #000; 
}
#loan-apply-page-section .calculator-header p {
    font-size: 0.9rem; /* Slightly increased */
    color: #6c757d; 
}
#loan-apply-page-section #resultsContainer h2 { /* "계산 결과" heading */
    font-size: 1.6rem; /* Match calculator-header-title */
    font-weight: 600;
    color: #333;
}
#loan-apply-page-section #resultsSummary h3 { /* "요약" heading */
    font-size: 1.35rem; /* Increased */
    font-weight: 600;
}

/* Quick select buttons specific styling */
#loan-apply-page-section .quick-btn,
#loan-apply-page-section .quick-btn-reset {
    padding: 0.5rem 1rem; /* Increased padding for bigger buttons */
    font-size: 0.9rem; /* Increased font size */
}

#loan-apply-page-section .quick-btn.active,
#loan-apply-page-section .quick-btn-reset.active { 
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}
#loan-apply-page-section .quick-btn-reset.btn-outline-info {
    color: #0d6efd;
    border-color: #0d6efd;
}
#loan-apply-page-section .quick-btn-reset.btn-outline-info:hover,
#loan-apply-page-section .quick-btn-reset.btn-outline-info:focus,
#loan-apply-page-section .quick-btn-reset.btn-outline-info.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

/* 대출상품 */
.loan-type-card {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    transition: box-shadow 0.2s ease-in-out;
    height: 100%; /* Equal height for cards in a row */
}
.loan-type-card:hover {
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
}
.loan-type-card .icon {
    font-size: 2.5rem;
    color: #0d6efd; /* Primary blue */
    margin-right: 1rem;
    min-width: 40px; /* Ensure icon space */
}
.loan-type-card .content h5 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}
.loan-type-card .content p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}

.loan-terms-highlight-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #6c757d;
    border-radius: 0.25rem;
    padding: 1.2rem 1rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* 세로 가운데 정렬 */
    min-height: 140px; /* 높이 줄임 */
}


.loan-terms-highlight-card .term-label {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.loan-terms-highlight-card .term-value {
    font-size: 1.7rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.loan-terms-highlight-card .term-unit {
    font-size: 1rem;
    font-weight: 500;
}

.loan-terms-highlight-card .term-sub-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Apply Button in Key Terms Section (Screenshot 2 style - Teal) */
.btn-apply-teal {
    margin-top:30px;
    background-color: #20c997; /* Teal color */
    border-color: #20c997;
    color: white;
    font-weight: 500;
    padding: 0.6rem 1.5rem; 
    border-radius: 50px; /* More rounded */
    font-size: 1.2rem;
}
.btn-apply-teal:hover {
    background-color: #1baa80;
    border-color: #199d75;
}

/* Section Heading for "상품소개", "유의사항" */
.section-heading {
    font-size: 1.5rem; 
    font-weight: bold;
    margin-top: 2rem; /* Reduced margin-top */
    margin-bottom: 1.25rem;
    color: #333;
    border-left: 4px solid #0d6efd; padding-left: 0.75rem; 
}

.text-note li {
    font-size: 1.1rem; 
    line-height: 2.2;
}


/* Product Table Styles */
.custom-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    width: 25%;
    vertical-align: middle;
    text-align: center; 
}
.custom-table td {
    vertical-align: middle;
    font-size: 1.1rem;
    margin-left: 10px;
}

/* Notes Section List Style */
.notes-section ul {
    list-style-type: none;
    padding-left: 0;
}
.notes-section ul li {
    padding-left: 1.5em;
    text-indent: -1.5em;
    margin-bottom: 0.6rem; 
    font-size: 0.9rem; 
    color: #495057;
}
.notes-section ul li::before {
    content: "·";
    margin-right: 0.5em;
    font-weight: bold;
    color: #0d6efd; 
}

.btn-apply-dark-wide {
    background-color: #0d274d; 
    border-color: #0d274d;
    color: white;
    padding: 0.6rem 1.5rem; /* Adjusted padding */
    border-radius: 0.375rem; 
    font-size: 1.2rem; /* Reduced font size */
}
.btn-apply-dark-wide:hover {
    background-color: #0a1f3c;
    border-color: #091a31;
}

/* 고객센터 */

/* 자주묻는질문 */
.accordion-button {
    font-weight: 500;
    color: #212529; /* Bootstrap default dark text */
}
.accordion-button:not(.collapsed) {
    color: #0d6efd; /* Bootstrap primary blue when open */
    background-color: #e7f1ff; /* Light blue background when open */
}
.accordion-button:focus {
    box-shadow: none; /* Remove focus ring for cleaner look */
}
.accordion-item {
    margin-bottom: 1rem; /* Increased space between FAQ items */
    border: 1px solid #dee2e6;
    border-radius: 0.375rem; /* Rounded corners for items */
}
.accordion-body {
    background-color: #ffffff; /* White background for answer area */
    padding: 1.25rem;
    font-size: 0.95rem;
    color: #495057;
}
/* Custom styling for Q and A prefixes if desired */
.accordion-button::before {
    content: "Q.";
    font-weight: bold;
    margin-right: 0.5em;
    color: #0d6efd;
}
.accordion-body::before {
    content: "A.";
    font-weight: bold;
    margin-right: 0.5em;
    color: #28a745;
    display: block;
    margin-bottom: 0.5rem;
}

/* 불편사항 처리절차 */

.content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2.5rem; /* Increased margin between sections */
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.content-section h2 { /* Section Headings */
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d6efd; /* Theme primary color */
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0d6efd;
    display: flex;
    align-items: center;
}
.content-section h2 i { /* Icon in section heading */
    font-size: 1.8rem;
    margin-right: 0.75rem;
}

.content-section h3 { /* Sub-headings within sections */
    font-size: 1.2rem;
    font-weight: 600;
    color: #343a40;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.content-section p, .content-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
}
.content-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.content-section ul li {
    margin-bottom: 0.5rem;
}
.content-section strong {
    color: #212529;
}

/* Process Steps Styling */
.process-flow-container .process-step-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    min-height: 100px;
}
.process-step-card .step-icon {
    font-size: 2rem;
    color: #0d6efd;
    margin-right: 1.5rem;
    min-width: 40px;
    margin-top: 0.25rem;
}
.process-step-card .step-content h5 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 0.35rem;
}
.process-step-card .step-content p {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0;
}
.process-flow-container .arrow-separator {
    text-align: center;
    font-size: 1.8rem;
    color: #0d6efd;
    margin: 0.25rem 0 0.75rem 0;
}

/* Contact Method Cards Styling */
.contact-method-grid .contact-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 2rem 1.5rem; /* Increased padding for better look */
    text-align: center;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
}
.contact-method-grid .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.contact-card .contact-icon {
    font-size: 3rem; /* Larger icon */
    color: #0d6efd;
    margin-bottom: 1rem;
}
.contact-card h5 {
    font-size: 1.2rem; /* Slightly larger title */
    font-weight: bold;
    color: #343a40;
    margin-bottom: 0.75rem; /* More space */
}
.contact-card p {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem; /* Space between lines */
    line-height: 1.6;
}
.contact-card .btn-submit { /* Style for "접수하기" button */
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* 공지사항 */

.table {
    border-top: 2px solid #333; /* 테이블 상단 굵은 선 */
    margin-bottom: 30px;
    border-collapse: collapse; 
    width: 100%;
}
.table th, .table td {
    padding: 12px 10px; /* 셀 패딩 */
    border-bottom: 1px solid #e0e0e0; /* 각 행 아래 선 */
    vertical-align: middle;
    line-height: 1.6; /* 셀 내용 줄 간격 */
}
.table thead th {
    background-color: #f9f9f9; /* 테이블 헤더 배경색 */
    color: #333;
    font-weight: 500; /* Medium weight for header */
    text-align: center; /* 헤더 텍스트 중앙 정렬 */
    border-top: none; 
}
.table td.notice-number {
    text-align: center;
    color: #555;
}
.table td.notice-title-cell {
    text-align: left; /* 제목은 좌측 정렬 */
}
.notice-title-cell a {
    color: #333;
    text-decoration: none; /* 평소에는 밑줄 없음 */
    font-weight: 500;
}
.notice-title-cell a:hover {
    color: #333;                   /* 텍스트 색상 파란색 */
    text-decoration: underline;       /* 밑줄 표시 */
    text-decoration-color: black;     /* 밑줄 색상 검은색 */
}
.notice-title a {
    color: #333;
    text-decoration: none;
    font-weight: 500; /* Slightly bolder titles */
}
.notice-title a:hover {
    text-decoration: none;
    color: #007bff; /* Standard link hover color */
}
.table td.notice-date {
    text-align: center;
    color: #555;
}
.table tbody tr:hover {
    background-color: #f5f5f5; /* 마우스 오버시 배경색 */
}
/* 테이블 내 수평선만 보이도록, Bootstrap 기본 수직선 제거 */
.table th, .table td {
    border-left: none;
    border-right: none;
}

/* 페이지네이션 스타일 */
.pagination-container {
    margin-top: 40px; /* 테이블과의 간격 */
    display: flex;
    justify-content: center;
}
.pagination {
    padding-left: 0;
    list-style: none;
    display: flex; 
    align-items: center; 
}
.pagination .page-item {
    margin: 0 3px; /* 각 아이템 간 간격 */
}

/* Default style for page links (numbers and arrows) */
.pagination .page-item .page-link {
    color: #555;
    background-color: transparent;
    border: none;
    padding: 6px 8px; 
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px; /* Subtle rounding for hover state */
    transition: background-color 0.2s ease, color 0.2s ease;
    min-width: 30px; /* Minimum width for alignment */
    text-align: center;
}

/* Hover for non-active items */
.pagination .page-item:not(.active) .page-link:hover {
    background-color: #e9ecef;
    color: #0056b3; 
}

/* Style for the active page number (circular) */
.pagination .page-item.active .page-link {
    background-color: #3A5368; /* Dark blue-grey from image */
    color: white;
    font-weight: bold;
    width: 30px;   /* Fixed width for circle */
    height: 30px;  /* Fixed height for circle */
    line-height: 30px; /* Vertically center text by matching height */
    padding: 0;    /* Remove padding to control size with width/height */
    text-align: center;
    border-radius: 50%; /* Makes it a circle */
}
/* Prevent hover effect on active item if it changes appearance undesirably */
.pagination .page-item.active .page-link:hover {
    background-color: #3A5368;
}

/* Disabled links */
.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    pointer-events: none;
}
.pagination .page-item.disabled .page-link:hover {
    background-color: transparent; /* No hover for disabled */
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .notice-main-title {
        font-size: 20px;
    }
    .table th, .table td {
        font-size: 12px;
        padding: 10px 5px;
    }
    .pagination .page-item .page-link,
    .pagination .page-item.active .page-link {
        min-width: 28px;
        height: 28px;
        line-height: 28px;
        font-size: 12px;
    }
    .pagination .page-item.active .page-link {
         width: 28px;
    }
}

/* 공지사항 - 상세 게시글 */

.notice-view-section {
    border-top: 2px solid #333;
    border-bottom: 1px solid #dee2e6;
    padding: 2rem 0; /* 상하 패딩 증가 */
    margin-bottom: 2rem; /* 하단 간격 증가 */
}
.notice-view-title {
    font-size: 1.5rem; /* 제목 폰트 크기 증가 */
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem; /* 날짜와의 간격 */
}
.notice-view-date {
    font-size: 0.9rem; /* 날짜 폰트 크기 */
    color: #6c757d;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}
.notice-view-content {
    font-size: 1rem; /* 내용 폰트 크기 증가 */
    color: #495057;
    line-height: 1.8; /* 줄 간격 증가 */
    min-height: 200px; /* 내용 최소 높이 증가 */
    margin-bottom: 2rem;
}
.notice-view-content ul {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}
.notice-view-content ul li {
    margin-bottom: 0.3rem;
}

/* Notice Navigation (Prev/Next) Styles */
.notice-navigation {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
.notice-navigation .nav-item {
    padding: 1rem 0; /* 상하 패딩 증가 */
    font-size: 0.95rem; /* 폰트 크기 약간 증가 */
    display: flex; /* 레이블과 링크 정렬을 위해 */
    align-items: center;
}
.notice-navigation .nav-item:not(:last-child) {
    border-bottom: 1px dotted #e9ecef; /* 점선으로 변경 및 색상 연하게 */
}
.notice-navigation .nav-label {
    font-weight: 500;
    color: #333;
    margin-right: 1.5rem; /* 간격 증가 */
    display: inline-block;
    width: 70px; /* 레이블 너비 고정 */
    flex-shrink: 0; /* 너비 유지 */
}
.notice-navigation .nav-link {
    color: #495057;
    text-decoration: none;
    flex-grow: 1; /* 남은 공간 차지 */
}
.notice-navigation .nav-link:hover {
    color: #0d6efd;
    text-decoration: underline;
}
.notice-navigation .nav-link:empty::after { /* 내용 없는 링크 처리 (예: 이전/다음글 없음) */
    content: "-";
    color: #6c757d;
}


/* Action Buttons (List Button) Styles */
.notice-view-actions {
    margin-top: 2.5rem; /* 상단 간격 증가 */
    text-align: center;
}
.notice-view-actions .btn-list {
    background-color: #495057;
    border-color: #495057;
    color: white;
    padding: 0.6rem 2.5rem; /* 패딩 조정 */
    font-size: 1rem; /* 폰트 크기 증가 */
    font-weight: 500;
    border-radius: 0.3rem;
}
.notice-view-actions .btn-list:hover {
    background-color: #343a40;
    border-color: #343a40;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-title { font-size: 2rem; }
    .page-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .notice-view-title { font-size: 1.3rem; }
    .notice-view-content { font-size: 0.95rem; }
    .notice-navigation .nav-label { width: 60px; margin-right: 1rem;}
    .notice-navigation .nav-item { font-size: 0.9rem; }
    .notice-view-actions .btn-list { font-size: 0.9rem; padding: 0.5rem 2rem; }
}

/* 대출계약철회신청 */
.rescission-content-section { /* 클래스명 변경 */
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.5rem;
    margin-bottom: 2.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.rescission-content-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0d6efd;
    display: flex;
    align-items: center;
}
.rescission-content-section h2 i {
    font-size: 1.6rem;
    margin-right: 0.75rem;
}
.rescission-content-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #343a40;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.rescission-content-section p, .rescission-content-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #495057;
    margin-bottom: 0.75rem;
}
.rescission-content-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.rescission-content-section ul li {
    margin-bottom: 0.5rem;
}
.rescission-content-section strong {
    color: #212529;
    font-weight: 600;
}
.rescission-content-section .text-danger { /* Bootstrap 클래스 유지 */
    color: #dc3545 !important;
    font-weight: 500;
}

/* 철회 신청 방법 카드 스타일 */
.rescission-application-method-grid .card { /* Bootstrap 클래스 유지, 부모로 범위 제한 */
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1.5rem; 
    text-align: center; 
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; 
}
.rescission-application-method-grid .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}
.rescission-application-method-grid .rescission-card-icon-title { /* 클래스명 변경 */
    display: flex;
    align-items: center;
    justify-content: center; 
    margin-bottom: 1rem;
    width: 100%; 
}
.rescission-application-method-grid .rescission-card-icon-title i {
    font-size: 1.8rem; 
    color: #0d6efd;
    margin-right: 0.75rem;
}
.rescission-application-method-grid .rescission-card-icon-title h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0; 
}
.rescission-application-method-grid .card p {
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}
.rescission-application-method-grid .card .rescission-btn-submit { /* 클래스명 변경 */
    margin-top: auto; 
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    align-self: center; 
}
 .rescission-application-method-grid .card .rescission-btn-submit:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}


/* 처리 절차 스타일 */
.rescission-process-flow-container .rescission-process-step-card { /* 클래스명 변경 */
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start; 
    min-height: 90px; 
}
.rescission-process-step-card .rescission-step-icon { /* 클래스명 변경 */
    font-size: 1.8rem; 
    color: #0d6efd;
    margin-right: 1.2rem; 
    min-width: 35px; 
    margin-top: 0.1rem; 
}
.rescission-process-step-card .rescission-step-content h5 { /* 클래스명 변경 */
    font-size: 1.05rem; 
    font-weight: 700;
    color: #343a40;
    margin-bottom: 0.35rem;
}
.rescission-process-step-card .rescission-step-content p { /* 클래스명 변경 */
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 0;
}
.rescission-process-flow-container .rescission-arrow-separator { /* 클래스명 변경 */
    text-align: center;
    font-size: 1.6rem; 
    color: #0d6efd;
    margin: 0.1rem 0 0.6rem 0; 
}

/* 표 스타일 */
.rescission-custom-table-wrapper { /* 클래스명 변경 */
    overflow-x: auto;
}
.rescission-custom-table { /* 클래스명 변경 */
    width: 100%;
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
}
.rescission-custom-table th, .rescission-custom-table td {
    padding: 0.75rem;
    vertical-align: top;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
    line-height: 1.6;
}
.rescission-custom-table thead th {
    vertical-align: middle;
    text-align: center;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #343a40;
}
.rescission-custom-table tbody th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.rescission-custom-table td ul {
    padding-left: 1.2rem;
    margin-bottom: 0;
}
.rescission-custom-table td ul li {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* 서류양식 */
.forms-card-grid {
    margin-bottom: 3rem;
}

/* 카드 컬럼에 하단 마진 추가 */
.forms-card-grid .col-md-6 {
     margin-bottom: 2rem; /* 카드 간 세로 간격 설정 */
}

.forms-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 2rem 2rem;
    /* margin-bottom 제거: 부모 컬럼에서 간격 제어 */
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.forms-card:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.forms-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
    text-align: center;
}

.forms-card-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
    flex-grow: 1;
}

.forms-card-note {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 1.5rem;
    text-align: center;
}

.forms-card-download-button {
    text-align: center;
    margin-top: auto;
}
.forms-card-download-button .btn {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
}
.forms-card-download-button .btn:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}
.forms-card-download-button .btn i {
    margin-left: 0.4rem;
}

/* 서류 발송 유의사항 섹션 */
.forms-notice-section {
    background-color: #007bff;
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 0.375rem;
}
.forms-notice-section h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.forms-notice-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.forms-notice-section ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}
.forms-notice-section ul li::before {
    content: "▶";
    margin-right: 0.75rem;
    line-height: 1.6;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .forms-page-title { font-size: 1.8rem; }
    .forms-page-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .forms-card-grid .col-md-6 { margin-bottom: 1.5rem; } /* 모바일 카드 간격 조정 */
    .forms-card { padding: 1.5rem 1.5rem; }
    .forms-card-title { font-size: 1.1rem; }
    .forms-card-description { font-size: 0.85rem; }
    .forms-card-note { font-size: 0.75rem; margin-bottom: 1rem; }
    .forms-card-download-button .btn { font-size: 0.85rem; padding: 0.4rem 1.2rem; }
    .forms-notice-section { padding: 1rem 1.5rem; }
    .forms-notice-section h5 { font-size: 1rem; }
    .forms-notice-section ul li { font-size: 0.9rem; }
}

/* 고객권리항목 */

/* Section Title */
.request-section-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    padding-bottom: 0.3rem; 
    margin-bottom: 1.0rem; 
}

/* Form Table Styles (Adapted from inquiry-form-table) */
.request-form-table {
    width: 100%;
    border-top: 2px solid #333; 
    margin-bottom: 2.5rem;
    margin-top: 0; 
}
.request-form-table th,
.request-form-table td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.95rem; 
}
.request-form-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    text-align: left;
    width: 20%; 
    color: #495057;
}
.request-form-table td {
    width: 80%; 
}

/* Form Element Styling (Adapted from inquiry-form-table) */
.request-form-table .form-control,
.request-form-table .form-select {
    font-size: 0.95rem; 
    height: auto; 
    padding: .475rem .75rem; 
    color: #212529;
}
.request-form-table .form-select.form-select-sm {
    font-size: 0.9rem; 
    padding: .35rem .75rem; 
}

.request-form-table .form-select:invalid,
.request-form-table .form-select option[value=""] {
    color: #6c757d !important; 
}
.request-form-table .form-select:valid {
    color: #212529 !important;
}

/* Input and Select Group Sizing */
.request-form-table #request-name {
    max-width: 250px; 
}

.request-form-table .input-group.birthdate-select-group,
.request-form-table .input-group.phone-input-group { 
    max-width: 600px; 
}

/* Birthdate Selects */
.birthdate-select-group .form-select {
    flex: 1 1 0;
    min-width: 100px; 
}
.birthdate-select-group .input-group-text.unit-text { 
    background-color: transparent;
    border: none;
    padding: 0 0.5rem 0 0.25rem;
    font-size: 0.95rem;
}

/* Phone Input Groups */
.phone-input-group .form-control,
.phone-input-group .form-select { 
    flex: 1 1 0;
    min-width: 90px; 
    text-align: center;
}
.phone-input-group .form-select {
    text-align: left; 
}
.phone-input-group .input-group-text {
    background-color: transparent;
    border: none;
    padding: 0 0.5rem;
}

.email-input-group #request-email-id {
    flex: 1 1 auto; 
}
.email-input-group .input-group-text { 
    background-color: transparent;
    border: none;
    padding: 0 0.5rem;
}
.email-input-group #request-email-domain {
    flex: 1 1 auto; 
}
.email-input-group #request-email-select {
    flex: 0 0 auto; 
    width: 220px; 
    margin-left: 0.5rem;
}
#request-email-domain[readonly] { 
    cursor: pointer;
}

/* Reply Method Select */
.request-form-table #request-reply-method {
    max-width: 250px; 
}

/* "요구 내용" Section Styling */
.request-form-table td > div > strong { 
    font-size: 1.05rem; 
    font-weight: 600;
    display: block; 
    margin-bottom: 0.5rem;
}
.request-form-table td hr {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

.request-form-table td:has(input[name="request-privacy-agree"]) .form-check-inline {
    display: inline-flex; 
    align-items: center;
    margin-right: 4.0rem; /* Increased gap */
    padding-left: 4.0;
    cursor: pointer; 
}
.request-form-table td:has(input[name="request-privacy-agree"]) .form-check-inline:last-child {
    margin-right: 0; 
}
    .request-form-table td:has(input[name="request-privacy-agree"]) .form-check-inline .form-check-input {
    margin-top: 0; 
    margin-right: 0.35rem;
}

/* For "열람" items - stacked vertically and indented */
/* This targets .form-check-inline that are siblings after the first div (strong title) in "요구 내용" td */
.request-form-table td:has(input[name="request_type[]"]) > div:first-of-type ~ .form-check.form-check-inline { 
    display: block; 
    padding-left: 2.0rem; 
    margin-right: 0; 
    margin-bottom: 0.5rem;
}
.request-form-table td:has(input[name="request_type[]"]) > div:first-of-type ~ .form-check.form-check-inline .form-check-input {
    margin-top: 0.25em; 
    margin-right: 0.35rem;
}

/* For indented items like "정정, 삭제" (these are not .form-check-inline) */
.request-form-table td > .form-check:not(.form-check-inline) { 
    padding-left: 2.0rem; 
    margin-bottom: 0.5rem; 
    display: flex; 
    align-items: center; 
}
.request-form-table td > .form-check:not(.form-check-inline) .form-check-input {
    margin-top: 0; 
    margin-right: 0.35rem; 
}

.request-form-table .form-check-label { 
    font-size: 0.9rem;
}

.request-form-table textarea.form-control {
    min-height: 120px; 
}
.request-form-table .captcha-image {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-right: 1rem;
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: middle;
}
.request-form-table .captcha-input {
    width: 150px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}
.request-form-table .captcha-note {
    font-size: 0.8rem;
    color: #6c757d;
    vertical-align: middle;
}

/* Required asterisk */
.request-form-table th .required {
    color: #dc3545;
    margin-left: 0.25rem;
}

/* Button Container (Matched from inquiry-button-container) */
.request-button-container {
    text-align: center;
    margin-top: 2rem;
}
.request-button-container .btn {
    padding: 0.7rem 3rem; 
    font-size: 1rem; 
    font-weight: 500; 
    background-color: #0d274d; 
    border-color: #0d274d; 
    color: #fff; 
}
.request-button-container .btn:hover {
    background-color: #0a1f3c; 
    border-color: #091a31; 
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-title { font-size: 1.8rem; }
    .page-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .request-section-title { font-size: 1.2rem; }

    .request-form-table th { 
        width: 100%; 
        display: block;
        border-bottom: none; 
    }
    .request-form-table td { 
        width: 100%; 
        display: block;
    }
    .request-form-table tr:not(:last-child) td { 
        border-bottom: 1px solid #dee2e6; 
    }
    .request-form-table th, .request-form-table td { 
        padding: 0.7rem 0.8rem; 
        font-size: 0.9rem; 
    }
    
    .request-form-table .form-control, 
    .request-form-table .form-select { 
        font-size: 0.9rem; 
    }
    .request-form-table .form-select.form-select-sm {
            font-size: 0.85rem; 
    }

    .request-form-table #request-name,
    .request-form-table .input-group.phone-input-group,
    .request-form-table #request-reply-method {
        max-width: 100%; 
    }

    /* Mobile Birthdate: One line */
    .request-form-table .input-group.birthdate-select-group {
        max-width: 100%;
        flex-wrap: nowrap; /* Prevent wrapping */
    }
    .birthdate-select-group .form-select {
        min-width: 60px; /* Allow shrinking */
    }
    .birthdate-select-group .input-group-text.unit-text {
        padding: 0 0.3rem 0 0.1rem; /* Reduce padding for units */
    }
    
    /* Mobile Email Field Layout (Adapted from inquiry-form-table) */
    .request-form-table td .input-group.email-input-group {
        max-width: 100%; 
        flex-wrap: nowrap; 
    }
    .request-form-table td .input-group.email-input-group #request-email-id {
        flex: 1 1 auto; 
        min-width: 50px; 
    }
    .request-form-table td .input-group.email-input-group .input-group-text {
        padding: 0 0.3rem; 
    }
    .request-form-table td .input-group.email-input-group #request-email-domain {
        flex: 1 1 auto; 
        min-width: 50px; 
    }
    .request-form-table td .input-group.email-input-group #request-email-select {
        flex: 0 0 auto; 
        width: 100px; 
        margin-left: 0.25rem; 
    }

    .request-form-table .captcha-image { font-size: 1.2rem; padding: 0.4rem 0.8rem; margin-bottom: 0.5rem; }
    .request-form-table .captcha-input { width: 100%; margin-bottom: 0.5rem; }
    .request-form-table .captcha-note { display: block; margin-top: 0.5rem; }
    
    .request-button-container .btn { padding: 0.6rem 2rem; width: 100%; }
    
    .request-form-table td > .form-check:not(.form-check-inline) { 
        padding-left: 2.0rem;
    }

    .request-form-table td:has(input[name="request_type[]"]) > div:first-of-type ~ .form-check.form-check-inline {
        padding-left: 2.0rem;
    }

    .request-form-table td:has(input[name="request-privacy-agree"]) .form-check-inline {
            padding-left: 4.0;
            margin-right: 4.0rem;
    }
        .request-form-table td:has(input[name="request-privacy-agree"]) .form-check-inline:last-child {
            margin-right: 0;
    }
}

/* 불편사항접수 */

.inquiry-form-table {
    width: 100%;
    border-top: 2px solid #333;
    margin-bottom: 2.5rem;
}
.inquiry-form-table th,
.inquiry-form-table td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.95rem;
}
.inquiry-form-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    text-align: left;
    width: 20%;
    color: #495057;
}
.inquiry-form-table td {
    width: 80%;
}

/* Form elements styling */
.inquiry-form-table .form-control,
.inquiry-form-table .form-select {
    font-size: 0.95rem;
    height: auto;
    padding: .475rem .75rem;
    color: #212529;
}
.inquiry-form-table .form-select.form-select-sm {
    font-size: 0.9rem;
    padding: .35rem .75rem;
}

.inquiry-form-table .form-select:invalid,
.inquiry-form-table .form-select option[value=""] {
    color: #6c757d !important;
}
.inquiry-form-table .form-select:valid {
    color: #212529 !important;
}

/* Date input width */
.inquiry-form-table #inquiry-date {
    max-width: 250px;
}

/* Name input width */
.inquiry-form-table #inquiry-name {
    max-width: 250px;
}

/* Category select width */
.inquiry-form-table #inquiry-category {
    max-width: 250px;
}

/* Birthdate and Contact Number common group styling */
.input-group.birthdate-select,
.input-group.phone-input-group {
    max-width: 600px; 
}

/* Birthdate select specific styling */
.birthdate-select .form-select {
    flex: 1 1 0; 
    min-width: 85px; 
}
.birthdate-select .input-group-text.birthdate-unit {
    background-color: transparent;
    border: none;
    padding: 0 0.5rem 0 0.25rem; 
    font-size: 0.95rem;
}

/* Contact number input specific styling */
.phone-input-group .form-control {
    flex: 1 1 0; 
    min-width: 75px; 
    text-align: center;
}

.phone-input-group .input-group-text {
    background-color: transparent;
    border: none;
    padding: 0 0.5rem; 
}

.inquiry-form-table td .input-group.email-input-group #inquiry-email-id {
    flex: 1 1 auto; 
}
.inquiry-form-table td .input-group.email-input-group .input-group-text {
     padding: 0 0.5rem;
     background-color: transparent; 
     border: none; 
}
.inquiry-form-table td .input-group.email-input-group #inquiry-email-domain {
    flex: 1 1 auto; 
}
.inquiry-form-table td .input-group.email-input-group #inquiry-email-select {
    flex: 0 0 auto; 
    width: 220px; 
    margin-left: 0.5rem;
}
#inquiry-email-domain[readonly] {
    cursor: pointer; 
}

.inquiry-form-table textarea.form-control {
    min-height: 150px;
}
.inquiry-form-table .captcha-image {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-right: 1rem;
    letter-spacing: 2px;
    display: inline-block;
    vertical-align: middle;
}
.inquiry-form-table .captcha-input {
    width: 150px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}
.inquiry-form-table .captcha-note {
    font-size: 0.8rem;
    color: #6c757d;
    vertical-align: middle;
}
.inquiry-form-table .form-text {
    font-size: 0.85rem;
    color: #dc3545;
    margin-top: 0.5rem;
}

/* Privacy Section */
.inquiry-privacy-section {
    margin-bottom: 2rem;
}
.inquiry-privacy-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.inquiry-privacy-content {
    border: 1px solid #dee2e6;
    /* padding: 1.5rem; */
    height: 150px;
    overflow-y: auto;
    font-size: 0.85rem;
    line-height: 1.7;
    background-color: #f8f9fa;
    margin-bottom: 1rem;
}
.inquiry-privacy-content h5 {
    font-size: 0.9rem;
    font-weight: bold;
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
}
.inquiry-privacy-agree.form-check {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.inquiry-privacy-agree .form-check-input {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0.5rem;
}
.inquiry-privacy-agree .form-check-label {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.inquiry-button-container {
    text-align: center;
    margin-top: 2rem;
}
.inquiry-button-container .btn {
    padding: 0.7rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: #0d274d;
    border-color: #0d274d;
}
.inquiry-button-container .btn:hover {
    background-color: #0a1f3c;
    border-color: #091a31;
}

/* Required asterisk */
.inquiry-form-table th .required,
.inquiry-privacy-agree .required {
    color: #dc3545;
    margin-left: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title { font-size: 1.8rem; }
    .page-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .inquiry-form-table th { width: 100%; display: block; border-bottom: none; }
    .inquiry-form-table td { width: 100%; display: block; }
    .inquiry-form-table tr:not(:last-child) td { border-bottom: 1px solid #dee2e6; }
    .inquiry-form-table th, .inquiry-form-table td { padding: 0.7rem 0.8rem; font-size: 0.9rem; }
    
    .inquiry-form-table .form-control,
    .inquiry-form-table .form-select {
        font-size: 0.9rem;
    }
     .inquiry-form-table .form-select.form-select-sm {
        font-size: 0.85rem;
    }

    .inquiry-form-table #inquiry-date,
    .input-group.birthdate-select,
    .input-group.phone-input-group,
    .inquiry-form-table #inquiry-name,
    .inquiry-form-table #inquiry-category {
        max-width: 100%; 
    }
    
    .inquiry-form-table td .input-group.email-input-group {
        flex-wrap: nowrap; 
    }
    .inquiry-form-table td .input-group.email-input-group #inquiry-email-id {
        flex: 1 1 auto; 
        min-width: 60px; 
    }
     .inquiry-form-table td .input-group.email-input-group .input-group-text {
         padding: 0 0.3rem; 
    }
    .inquiry-form-table td .input-group.email-input-group #inquiry-email-domain {
        flex: 1 1 auto; 
        min-width: 60px; 
    }
    .inquiry-form-table td .input-group.email-input-group #inquiry-email-select {
        flex: 0 0 auto; 
        width: 120px; 
        margin-left: 0.25rem; 
    }


    .inquiry-form-table .captcha-image { font-size: 1.2rem; padding: 0.4rem 0.8rem; margin-bottom: 0.5rem;}
    .inquiry-form-table .captcha-input { width: 100%; margin-bottom: 0.5rem; }
    .inquiry-form-table .captcha-note { display: block; margin-top: 0.5rem; }
    
    .inquiry-button-container .btn { padding: 0.6rem 2rem; width:100%;}
    .inquiry-privacy-section { margin-top: 1.5rem; }
    .inquiry-privacy-title { font-size: 1.1rem; }
    .inquiry-privacy-content { height: 120px; padding: 1rem; }
    .inquiry-privacy-agree.form-check {
        justify-content: flex-start;
        margin-top: 0.5rem;
    }
}

/* 소비자보호 */

/* 채무조정안내 */
.debt-adjust-content-section { 
    background-color: #ffffff;
    padding: 2rem; 
    border-radius: 0.375rem; 
    margin-bottom: 2.9rem; 
    border: 1px solid #dee2e6; 
}
.debt-adjust-content-section h2 { 
    font-size: 1.75rem; 
    font-weight: 700;
    color: #0d6efd; 
    margin-bottom: 1.75rem; 
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0d6efd;
    display: flex;
    align-items: center;
}
.debt-adjust-content-section h2 i { 
    font-size: 1.8rem; 
    margin-right: 0.85rem; 
}
.debt-adjust-content-section h3 { 
    font-size: 1.3rem; 
    font-weight: 600;
    color: #343a40;
    margin-top: 2rem; 
    margin-bottom: 1rem; 
}
.debt-adjust-content-section p, .debt-adjust-content-section li {
    font-size: 1rem; 
    line-height: 1.8; 
    color: #343a40; 
}
.debt-adjust-content-section ul {
    padding-left: 1.75rem; 
    margin-bottom: 1rem;
    margin-top: 1rem;
    line-height: 1.3rem;
}
.debt-adjust-content-section ul li {
    margin-bottom: 0.6rem; 
    list-style-type: disc; 
}
.debt-adjust-content-section strong {
    color: #000; 
    font-weight: 600;
}

/* Page specific info card */
.debt-adjust-info-card { 
    background-color: #f8f9fa; 
    border: 1px solid #e0e0e0;
    border-radius: 0.375rem;
    padding: 1.5rem; 
    margin-bottom: 1.75rem; 
}
.debt-adjust-info-card h4 { 
    font-size: 1.15rem; 
    font-weight: 600;
    color: #0d6efd;
    margin-bottom: 0.85rem; 
}
.debt-adjust-info-card ul {
    padding-left: 1.25rem; 
}
 .debt-adjust-info-card ul li {
    font-size: 0.95rem; 
 }

/* Page specific table styles */
.debt-adjust-table-custom th, .debt-adjust-table-custom td {
    border: 1px solid #dee2e6;
    padding: 1rem; 
    vertical-align: top;
    font-size: 0.95rem; 
}
.debt-adjust-table-custom thead th {
    background-color: #e9ecef; 
    font-weight: 600;
    text-align: center;
}
.debt-adjust-table-custom tbody th { 
     background-color: #f8f9fa;
     font-weight: 500;
     width: 30%; 
     text-align: left;
}

.debt-adjust-procedure-table td { 
    text-align: center;
}
.debt-adjust-procedure-table strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem; 
}
.debt-adjust-procedure-table td { /* Applied to td elements specifically in procedure table */
    font-size: 0.9rem; 
}

.note-text { 
    font-size: 0.9rem; 
    color: #6c757d;
    margin-top: 1rem;
}
.breadcrumb-item a {
    text-decoration: none;
    font-size: 0.95rem; 
}
.breadcrumb-item.active {
    color: #6c757d;
    font-size: 0.95rem; 
}

/* Responsive Styles */
@media (max-width: 991.99px) and (min-width: 768px) {
    #mainNavbar {
        padding-bottom: 0px!important;
    }
}
@media (max-width: 768px) {
    body {
        font-size: 15px; /* Slightly reduce base font for mobile */
    }
    #mainNavbar {
        height: fit-content;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
    #mainNavbar .container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    #home-link img {
        display: none;
    }
    .debt-adjust-main-container {
        padding: 1.5rem; /* Reduce padding for main container */
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .debt-adjust-main-container .page-header h1 {
        font-size: 1.8rem; /* Reduce h1 size */
    }
    .debt-adjust-main-container .page-header .lead {
        font-size: 1rem; /* Reduce lead text size */
        margin-bottom: 1.5rem;
    }
    .debt-adjust-content-section {
        padding: 1.25rem; /* Reduce padding for content sections */
        margin-bottom: 1.5rem;
    }
    .debt-adjust-content-section h2 {
        font-size: 1.4rem; /* Reduce h2 size */
        margin-bottom: 1.25rem;
    }
    .debt-adjust-content-section h2 i {
        font-size: 1.5rem; /* Reduce icon size */
        margin-right: 0.6rem;
    }
    .debt-adjust-content-section h3 {
        font-size: 1.15rem; /* Reduce h3 size */
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }
    .debt-adjust-content-section p, .debt-adjust-content-section li {
        font-size: 0.9rem; /* Reduce body text size */
        line-height: 1.7;
    }
    .debt-adjust-content-section ul {
        padding-left: 1.25rem; /* Reduce ul padding */
    }
     .debt-adjust-content-section ul li {
        margin-bottom: 0.4rem; 
    }

    .debt-adjust-info-card {
        padding: 1rem; /* Reduce padding for info cards */
        margin-bottom: 1.25rem;
    }
    .debt-adjust-info-card h4 {
        font-size: 1.05rem; /* Reduce h4 size in info cards */
        margin-bottom: 0.6rem;
    }
    .debt-adjust-info-card ul li {
        font-size: 0.88rem; /* Reduce list item text in info cards */
    }

    .debt-adjust-table-custom th, .debt-adjust-table-custom td {
        padding: 0.6rem; /* Reduce table cell padding */
        font-size: 0.85rem; /* Reduce table text size */
    }
    .debt-adjust-table-custom tbody th {
        width: 35%; /* Adjust width for mobile if needed */
    }
    
    .debt-adjust-procedure-table strong {
        font-size: 0.88rem;
    }
    .debt-adjust-procedure-table td {
        font-size: 0.82rem; /* Further reduce for dense table */
         word-break: keep-all; /* Try to prevent awkward word breaks */
    }
    .debt-adjust-procedure-table th, .debt-adjust-procedure-table td {
         padding: 0.5rem; /* Reduce padding for procedure table cells */
    }


    .note-text {
        font-size: 0.85rem;
    }
    .breadcrumb-item a, .breadcrumb-item.active {
        font-size: 0.9rem;
    }
}

/* Responsive Styles */
@media (max-width: 385px) {
    .top-info-bar {
        font-size: xx-small;
        height: 2rem;
    }
    header.sticky-top {
        top: 2rem;
        height: fit-content;
    }
    .top-info-bar > div {
        margin-top: unset;
        margin-bottom: unset;
    }
}

/* 채권추심원조회 */
.collector-search-content-section { 
    background-color: #ffffff;
    padding: 2rem; 
    border-radius: 0.375rem; 
    margin-bottom: 2.5rem; 
    border: 1px solid #dee2e6; 
}
.collector-search-content-section h2 { 
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d6efd; 
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0d6efd;
    display: flex;
    align-items: center;
}
.collector-search-content-section h2 i { 
    font-size: 1.7rem; 
    margin-right: 0.75rem;
}

.collector-search-content-section p, .collector-search-content-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
}
    .collector-search-content-section .intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #343a40;
    margin-bottom: 0.75rem;
}
.collector-search-content-section .law-reference-box {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 0.25rem;
    padding: 1rem;
    font-size: 0.875rem;
    color: #495057;
}

/* Search Form Specific Styles */
.collector-search-form-container {
    max-width: 100%; 
}
.collector-search-form-container .form-label {
    font-weight: 500;
    color: #343a40;
    margin-bottom: 0.25rem; 
}
.collector-search-form-container .search-input-group {
    display: flex;
    align-items: stretch; /* Ensures button and input have same height if their content allows */
    flex-wrap: nowrap; /* Prevent wrapping to new line */
}
.collector-search-form-container .search-input-group .form-control {
        font-size: 1rem; 
        flex-grow: 1; 
        flex-shrink: 1; /* Allow input to shrink if necessary */
        min-width: 0;   /* Override default min-width that might cause wrapping */
        padding-top: 0.7rem;    
        padding-bottom: 0.7rem; 
        line-height: 1.5;       
        /* Ensure border radius is standard, not 0, as they are separate elements */
}
.collector-search-form-container .btn-search { 
    background-color: #0d274d; 
    border-color: #0d274d;
    color: #fff;
    padding: 0.7rem 3rem; 
    font-size: 1rem;     
    font-weight: 500;    
    line-height: 1.5; 
    margin-left: 0.5rem; /* Gap between input and button */
    flex-shrink: 0; /* Prevent button from shrinking */
}
    .collector-search-form-container .btn-search:hover {
    background-color: #0a1f3c;
    border-color: #091a31;
}

/* Search Results Table Styles */
.collector-search-results-table {
    margin-top: 2rem;
}
.collector-search-results-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: center;
}
.collector-search-results-table td {
    text-align: center;
    vertical-align: middle;
}
.no-results-message {
    text-align: center;
    color: #6c757d;
    padding: 2rem;
    border: 1px dashed #ced4da;
    border-radius: 0.25rem;
}

.breadcrumb-item a {
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #6c757d;
}

@media (max-width: 768px) {
    .collector-search-main-container {
        padding: 1.5rem;
    }
    .collector-search-page-header h1 {
        font-size: 1.75rem;
    }
    .collector-search-page-header .lead {
        font-size: 1rem;
    }
    .collector-search-content-section {
        padding: 1.25rem;
    }
    .collector-search-content-section h2 {
        font-size: 1.4rem;
    }
    .collector-search-content-section h2 i {
        font-size: 1.5rem;
    }
        .collector-search-content-section p, .collector-search-content-section li {
        font-size: 0.9rem;
    }
    .collector-search-form-container .form-label {
        font-size: 0.9rem;
    }
    
    .collector-search-form-container .search-input-group .form-control {
        font-size: 0.9rem; 
        padding-top: 0.6rem;    
        padding-bottom: 0.6rem; 
        line-height: 1.4; 
    }
    .collector-search-form-container .btn-search {
        padding: 0.6rem 1.5rem; 
        font-size: 0.9rem;    
        line-height: 1.4;     
        margin-left: 0.25rem; 
    }
    /* If stacking is desired on very small screens, uncomment below */
    /* @media (max-width: 576px) {
        .collector-search-form-container .search-input-group {
            flex-direction: column;
        }
        .collector-search-form-container .search-input-group .form-control {
            margin-bottom: 0.75rem;
        }
        .collector-search-form-container .btn-search {
            width: 100%;
            margin-left: 0;
        }
    } */

    .collector-search-results-table th, .collector-search-results-table td {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

/* 기한의이익상실예정통지, 주택경매예정통지, 채권양도예정통지 */

.benefit-loss-content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.375rem;
    margin-bottom: 2.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.benefit-loss-content-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0d6efd;
    display: flex;
    align-items: center;
}
.benefit-loss-content-section h2 i {
    font-size: 1.7rem;
    margin-right: 0.75rem;
}
.benefit-loss-content-section p,
.benefit-loss-content-section li,
.benefit-loss-content-section .table td,
.benefit-loss-content-section .table th {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
}
.benefit-loss-content-section .intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #343a40;
    margin-bottom: 1rem;
}
.benefit-loss-content-section .warning-box {
    background-color: #e9f5ff;
    border: 1px solid #b6d4fe;
    color: #0c5464;
    padding: 1rem 1.25rem;
    border-radius: 0.25rem;
    /* margin-top: 1.5rem; */
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}
.benefit-loss-content-section .details-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    width: 30%;
    vertical-align: middle;
    text-align:center;
}
.benefit-loss-content-section .details-table td {
    vertical-align: middle;
    text-align:center;
}
.benefit-loss-content-section .footnotes {
    font-size: 0.85rem;
    color: #6c757d;
    /* margin-top: 1.5rem; */
}
.benefit-loss-content-section .footnotes p {
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
}

/* 검색 폼 특정 스타일 */
.benefit-loss-search-form .form-label {
    font-weight: 500;
    color: #343a40;
    font-size: 0.95rem;
}
.benefit-loss-search-form .form-control,
.benefit-loss-search-form .form-select {
    font-size: 0.95rem;
    /* Bootstrap의 input-group 내 form-control, form-select는 기본적으로 flex: 1 1 auto; 를 가집니다. */
    /* 따라서 별도의 flex 속성 지정 없이도 공간을 균등하게 나누어 가집니다. */
}
.benefit-loss-search-form .input-group .form-control {
    text-align: center;
}

.benefit-loss-search-form .button-container {
    text-align: center;
    margin-top: 2rem;
}

.benefit-loss-search-form .btn-submit-custom {
    background-color: #0d274d;
    border-color: #0d274d;
    color: #fff;
    padding: 0.7rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.3rem;
    margin-left: 0.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.075);
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.benefit-loss-search-form .btn-submit-custom:hover {
    background-color: #0a1f3c;
    border-color: #091a31;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: white;
}

.benefit-loss-search-form .input-group .input-group-text {
    background-color: transparent;
    border: none;
    padding-left: 0.35rem;
    padding-right: 0.35rem;
    color: #495057;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .container {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .page-title {
        font-size: 1.85rem;
    }
    .page-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.5rem;
    }
    .benefit-loss-content-section {
        padding: 1.25rem;
    }
    .benefit-loss-content-section h2 {
        font-size: 1.4rem;
    }
    .benefit-loss-content-section h2 i {
        font-size: 1.5rem;
    }
    .benefit-loss-content-section p,
    .benefit-loss-content-section li,
    .benefit-loss-content-section .table td,
    .benefit-loss-content-section .table th {
        font-size: 0.9rem;
    }
    .benefit-loss-content-section .intro-text p {
        font-size: 0.95rem;
    }
    .benefit-loss-search-form .form-label,
    .benefit-loss-search-form .form-control,
    .benefit-loss-search-form .form-select {
        font-size: 0.9rem;
    }
    .benefit-loss-search-form .btn-submit-custom {
        width: 100%;
        padding: 0.6rem 1.5rem;
    }
    .benefit-loss-content-section .details-table th,
    .benefit-loss-content-section .details-table td {
        display: block;
        width: 100%;
        text-align: left !important;
    }
    .benefit-loss-content-section .details-table th {
        background-color: #e9ecef;
        border-bottom: none;
        padding-bottom: 0.25rem;
        font-weight: bold;
    }
    .benefit-loss-content-section .details-table td {
        padding-top: 0.25rem;
        border-bottom: 1px solid #dee2e6;
        padding-left: 0.5rem;
    }
    .benefit-loss-content-section .details-table tr:last-child td {
        border-bottom: none;
    }
    .benefit-loss-content-section .details-table tr td:last-child {
            border-bottom: 1px solid #dee2e6;
    }
    .benefit-loss-content-section .details-table tr:last-of-type td:last-of-type {
        border-bottom: none;
    }
}

/* 전화권유 판매원조회 */

.csr-content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.375rem;
    margin-bottom: 2.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.csr-content-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0d6efd;
    display: flex;
    align-items: center;
}
.csr-content-section h2 i {
    font-size: 1.7rem;
    margin-right: 0.75rem;
}

.csr-content-section p, .csr-content-section li {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #495057;
}
.csr-content-section .csr-intro-text p { /* 접두사 csr- 사용 */
    font-size: 1rem;
    line-height: 1.8;
    color: #343a40;
    margin-bottom: 0.75rem;
}

/* 검색 폼 특정 스타일 (접두사 csr- 사용) */
.csr-form-container .csr-search-input-group { /* 접두사 csr- 사용 */
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
}
.csr-form-container .csr-search-input-group .form-control { /* Bootstrap form-control은 그대로 사용 */
    font-size: 1rem;
    flex-grow: 1;
    flex-shrink: 1;
    min-width: 0;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.csr-form-container .csr-search-input-group .form-control:focus {
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, .25);
}

.csr-form-container .csr-btn-search {
    background-color: #0d274d;
    border-color: #0d274d;
    color: #fff;
    padding: 0.7rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 0.25rem;
    margin-left: 0.75rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.075);
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.csr-form-container .csr-btn-search:hover {
    background-color: #0a1f3c;
    border-color: #091a31;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    color: white;
}

.csr-form-container .csr-btn-secondary { /* 접두사 csr- 사용 및 이름 변경 */
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin-left: 0.75rem;
    flex-shrink: 0;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.075);
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.csr-form-container .csr-btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 검색 결과 테이블 스타일 (접두사 csr- 사용) */
#resultsTableContainer .csr-results-table { /* JS에서 생성하는 테이블에 적용될 클래스 */
    margin-top: 1rem;
    font-size: 0.9rem;
}
#resultsTableContainer .csr-results-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem 0.25rem;
}
#resultsTableContainer .csr-results-table td {
    text-align: center;
    vertical-align: middle;
    padding: 0.5rem 0.25rem;
}
.csr-no-results-message { /* 접두사 csr- 사용 */
    text-align: center;
    color: #6c757d;
    padding: 2rem;
    border: 1px dashed #ced4da;
    border-radius: 0.25rem;
    margin-top: 1rem;
    background-color: #f8f9fa;
}

/* 모달 스타일 */
.modal-lg {
    max-width: 80%;
}
#agentStatusModal .modal-body { /* 모달 ID는 고유하므로 내부 클래스는 그대로 사용 가능 */
    max-height: 70vh;
    overflow-y: auto;
}
#agentStatusModalTable th, #agentStatusModalTable td {
    font-size: 0.85rem;
    white-space: nowrap;
}


/* 반응형 스타일 */
@media (max-width: 768px) {
    .csr-content-section { /* 접두사 csr- 사용 */
        padding: 1.25rem;
    }
    .csr-content-section .csr-intro-text p { /* 접두사 csr- 사용 */
        font-size: 0.95rem;
    }
    .csr-form-container .csr-search-input-group .form-control {
        font-size: 0.9rem;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }
    .csr-form-container .csr-btn-search { /* 접두사 csr- 사용 */
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }
    .csr-form-container .csr-btn-secondary { /* 접두사 csr- 사용 */
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

    @media (max-width: 576px) {
        .csr-form-container .csr-search-input-group { /* 접두사 csr- 사용 */
            flex-direction: column;
        }
        .csr-form-container .csr-search-input-group .form-control {
            margin-bottom: 0.75rem;
            width: 100%;
        }
        .csr-form-container .csr-btn-search { /* 접두사 csr- 사용 */
            width: 100%;
            margin-left: 0;
            margin-bottom: 0.75rem;
        }
        .csr-form-container .csr-btn-secondary { /* 접두사 csr- 사용 */
            width: 100%;
            margin-left: 0;
        }
    }

    #resultsTableContainer .csr-results-table th, 
    #resultsTableContainer .csr-results-table td { /* 접두사 csr- 사용 */
        font-size: 0.8rem;
        padding: 0.4rem 0.15rem;
    }
    .modal-lg {
        max-width: 95%;
    }
}

/* 전화권유판매 연락금지 신청 */

.dnc-table-content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.375rem;
    margin-bottom: 2.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}
.dnc-table-content-section p { font-size: 0.95rem; line-height: 1.7; color: #495057; }
.dnc-table-intro-text p { font-size: 1rem; line-height: 1.8; color: #343a40; margin-bottom: 1rem; }

    .dnc-table-form-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #343a40;
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}
.dnc-table-form-section hr { margin: 1.5rem 0; }

/* 테이블 기반 폼 스타일 */
.dnc-table-form {
    width: 100%;
    border-top: 2px solid #333;
}
.dnc-table-form th,
.dnc-table-form td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.95rem;
}
.dnc-table-form th {
    background-color: #f8f9fa;
    font-weight: 500;
    text-align: left;
    width: 25%;
    color: #495057;
}
.dnc-table-form td { width: 75%; }
.dnc-table-form th .required { color: #dc3545; margin-left: 0.25rem; }

/* 폼 요소 스타일 */
.dnc-table-form .form-control,
.dnc-table-form .form-select {
    font-size: 0.95rem;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    padding: .475rem .75rem;
    height: auto;
}
.dnc-table-form .form-select:invalid,
.dnc-table-form .form-select option[value=""] { color: #6c757d !important; }
.dnc-table-form .form-select:valid { color: #212529 !important; }

.dnc-table-form .input-group .form-control { text-align: center; }
.dnc-table-form .input-group-text { background-color: transparent; border: none; padding: 0 0.4rem; }
.dnc-table-form .dnc-hyphen-separator {
    background-color: transparent !important;
    border: none !important;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    color: #495057;
    align-self: center;
}

.dnc-table-captcha-img-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0.25rem 0.75rem;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
}
.dnc-table-captcha-text {
    font-weight: bold;
    letter-spacing: 3px;
    font-size: 1.2rem;
    color: red;
}
.dnc-table-form #dncCaptchaInput {
    display: inline-block;
    width: auto;
    max-width: 150px;
    vertical-align: middle;
}
.dnc-captcha-help-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.dnc-table-agreement-text {
    height: 150px;
    font-size: 0.85rem; /* 내용 폰트 크기는 유지 */
    background-color: #f8f9fa;
    padding: 0.5rem 0.75rem; /* 내부 패딩 조정 */
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}
.dnc-agreement-checkbox-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}
/* 개인정보 동의 라벨 폰트 크기 조정 */
.dnc-agreement-checkbox-container .form-check-label {
    font-size: 0.9rem; /* 폰트 크기 줄임 */
}

.dnc-table-form-section .dnc-btn-submit {
    background-color: #0d274d;
    border-color: #0d274d;
    color: #fff;
    padding: 0.7rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 0.25rem;
    display: block;
    width: auto;
    margin: 2rem auto 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.075);
}
.dnc-table-form-section .dnc-btn-submit:hover {
    background-color: #0a1f3c;
    border-color: #091a31;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .dnc-table-content-section { padding: 1.25rem; }
    .dnc-table-intro-text p { font-size: 0.95rem; }
    .dnc-table-form-section h3 { font-size: 1.2rem; }

    .dnc-table-form th, .dnc-table-form td {
        display: block;
        width: 100%;
        text-align: left;
    }
    .dnc-table-form th {
        border-bottom: none;
        padding-bottom: 0.3rem;
        background-color: #f0f2f5;
    }
    .dnc-table-form td { padding-top: 0.3rem; }
    .dnc-table-form tr:not(:last-child) td { border-bottom: 1px solid #dee2e6; }
    .dnc-table-form tr td:last-of-type { border-bottom: none; }
    .dnc-table-form tr:last-of-type td { border-bottom: none; }

    .dnc-table-form .form-control, .dnc-table-form .form-select { font-size: 0.9rem; }
    .dnc-table-form-section .dnc-btn-submit { width: 100%; }

    .dnc-table-captcha-img-container { display: block; margin-bottom: 0.5rem; text-align: center; }
    .dnc-table-form #dncCaptchaInput { display: block; width: 100%; max-width: 100%; margin-bottom: 0.5rem;}
    .dnc-captcha-help-text { display: block; text-align: center; margin-left: 0; }

    /* 모바일에서 개인정보 동의 라벨 폰트 크기 */
    .dnc-agreement-checkbox-container .form-check-label {
        font-size: 0.875rem;
    }
}

/* 회사소개 */

/* 오시는길 */
.loc-content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.375rem;
    margin-bottom: 2.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* 지도 영역 스타일 */
.loc-map-area {
    width: 100%;
    height: 400px; /* 지도 높이 */
    /* background-color: #e9ecef; /* 이미지 사용 시 배경색 불필요 */
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    display: flex; /* 내부 이미지 정렬 위해 */
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 1rem;
    position: relative; /* 큰 지도 보기 링크 위치용 */
    overflow: hidden; /* 이미지가 컨테이너를 벗어나지 않도록 */
}
.loc-map-area img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 이미지가 컨테이너를 채우도록 설정 */
}
/* .loc-map-placeholder-text 는 이미지로 대체되므로 제거 또는 주석 처리 */

.loc-view-large-map {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.3rem 0.7rem;
    border-radius: 0.25rem;
    font-size: 0.85rem;
    color: #0d6efd;
    text-decoration: none;
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    z-index: 10; /* 다른 요소 위에 오도록 */
}
    .loc-view-large-map:hover {
    background-color: #f8f9fa;
    text-decoration: underline;
}


/* 영업점 정보 테이블 스타일 */
.loc-info-table {
    width: 100%;
    border-top: 2px solid #333;
}
.loc-info-table th,
.loc-info-table td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.95rem;
}
.loc-info-table th {
    background-color: #f8f9fa;
    font-weight: 500;
    text-align: left;
    width: 25%;
    color: #495057;
}
.loc-info-table td {
    width: 75%;
    color: #212529;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .loc-content-section { padding: 1.25rem; }
    .page-title { font-size: 1.8rem; }
    .page-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .loc-map-area { height: 300px; }

    .loc-info-table th, .loc-info-table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    .loc-info-table th {
        border-bottom: none;
        padding-bottom: 0.3rem;
        background-color: #f0f2f5;
    }
    .loc-info-table td { padding-top: 0.3rem; }
    .loc-info-table tr:not(:last-child) td { border-bottom: 1px solid #dee2e6; }
    .loc-info-table tr td:last-of-type { border-bottom: none; }
    .loc-info-table tr:last-of-type td { border-bottom: none; }
}

/* 회사소개 */

.co-content-section {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 0.375rem;
    margin-bottom: 2.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-top: 3px solid #0d6efd; /* 테마 파란색 상단 테두리 추가 */
}

.co-greeting-text {
    font-size: 1.25rem; /* 폰트 약간 키움 */
    font-weight: 500;
    color: #0d6efd; /* 테마 파란색 적용 */
    margin-bottom: 2.5rem; /* 하단 여백 늘림 */
    text-align: center;
    line-height: 1.7;
}

.co-image-area {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 0.25rem;
    padding: 1rem;
}
.co-image-area img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.15rem;
}

.co-philosophy-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #343a40;
    margin-bottom: 1.2rem;
    text-align:center;
}
    .co-philosophy-text p:last-child {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .co-content-section { padding: 1.5rem; border-top-width: 2px;}
    .page-title { font-size: 1.8rem; }
    .page-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
    .co-greeting-text { font-size: 1.15rem; margin-bottom: 2rem;}
    .co-image-area { margin-bottom: 2rem; padding: 0.75rem; }
    .co-philosophy-text p { font-size: 0.95rem; }
}

/* 메인 추가 + 고객들을 위한 특별한 선물 */
.bg-light-skyblue {
    background-color: #ADD8E6; /* LightBlue */
}

/* 물결 모양 배경 컨테이너 */
.wave-header-section {
    background-color: #ADD8E6; /* 연한 하늘색 */
    color: white;
    padding-bottom: 130px; 
    position: relative;
    padding-top: 5rem; 
}

/* 물결 SVG를 위한 ::after 가상 요소 */
.wave-header-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px; 
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 150" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 75C0 75 100 -18.75 240 9.75C380 38.25 480 125.625 720 75C960 24.375 1020 -36.5625 1200 19.3125C1380 75 1440 75 1440 75V150H0V75Z" fill="%23ADD8E6" /></svg>'); 
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1; 
}

.wave-header-section .container h2 {
    position: relative;
    z-index: 2; 
    font-size: calc(1.525rem + 3.3vw); 
}
@media (min-width: 1200px) {
    .wave-header-section .container h2 {
        font-size: 4rem; 
    }
}

/* 카드 섹션 컨테이너 위치 조정 */
.card-section-container {
    /* 카드 위치 추가 상향 */
    margin-top: -9rem; /* 이전 -8.5rem에서 변경 */
    position: relative;
    z-index: 3; 
}

@media (min-width: 576px) { 
    .card-section-container {
        margin-top: -9.5rem; /* 이전 -9rem에서 변경 */
    }
}
@media (min-width: 992px) { 
    .card-section-container {
        margin-top: -10rem; /* 이전 -9.5rem에서 변경 */
    }
}

/* 카드 공통 스타일 */
.custom-feature-card {
    border: none; 
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    min-height: 370px; 
    display: flex;
    flex-direction: column;
}

.custom-feature-card:hover {
    transform: translateY(-5px) scale(1.02); 
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.custom-feature-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: center; 
    flex-grow: 1;
    text-align: center; 
    padding: 1.75rem; 
}

.icon-circle-bg {
    width: 85px; 
    height: 85px;
    border-radius: 50%;
    border: 2px solid #e9ecef; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem; 
}
.icon-circle-bg svg {
    width: 45px; 
    height: 45px;
}
/* 카드 설명 텍스트 글씨 크기 증가 */
.card-text-custom-size {
    font-size: 1.2rem; /* 이전 1.1rem에서 변경 */
}
/* 카드 제목 글씨 크기 증가 */
.custom-feature-card .card-title {
    font-size: 1.65rem; /* 이전 1.5rem에서 변경 */
}



/* main 모바일 반응형 */
@media (max-width: 767.98px) {
    /* Quick Menu Adjustments */
    .quick-menu-icon {
        font-size: 2rem;
    }
    .quick-menu-item span {
        font-size: 0.85rem;
    }
    .quick-menu-item {
        padding: 1.2rem 0.2rem;
    }

    /* Home Carousel (#homeCarousel) Text Adjustments */
    #homeCarousel .display-4 {
        font-size: 2.0rem;
        line-height: 1.3;
    }
    #homeCarousel .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    #homeCarousel .btn-lg {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Products Section (#productCarousel) Adjustments */
    #productCarousel .carousel-item img {
        max-height: 180px;
        margin-bottom: 1rem;
    }
    #productCarousel h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    #productCarousel .product-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
    #productCarousel p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    #productCarousel .btn-outline-primary {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    /* Product Info Item (대출한도, 금리, 기간) Adjustments */
    .product-info-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 0.5rem;
        align-items: stretch; /* 모든 아이템이 동일한 높이를 갖도록 함 */
    }
    .product-info-item {
        flex: 1 1 0; /* 너비를 유연하게 분배 */
        min-width: 75px; /* 최소 너비, 내용에 따라 조절 */
        padding: 0.6rem 0.3rem; /* 내부 패딩 조정 */
        border: 1px solid #e0e7ff;
        border-radius: 0.3rem;
        display: flex;
        flex-direction: column;
        justify-content: center; /* 수직 중앙 정렬 */
        align-items: center; /* 수평 중앙 정렬 */
        box-shadow: none;
        text-align: center;
        height: 100%; /* 부모(product-info-container)의 align-items: stretch에 의해 높이 통일 */
    }
    .product-info-item .info-icon {
        font-size: 1rem; /* 아이콘 크기 */
        margin-bottom: 0.15rem; /* 아이콘과 레이블 사이 간격 축소 */
    }
    .product-info-item .info-label {
        font-size: 0.6rem; /* 레이블 글씨 크기 */
        margin-bottom: 0.05rem; /* 레이블과 값 사이 간격 최소화 */
        white-space: nowrap;
        line-height: 1.2; /* 줄간격 조정 */
    }
    .product-info-item .info-value {
        font-size: 0.7rem; /* 값 글씨 크기 */
        font-weight: 600;
        white-space: nowrap;
        line-height: 1.2; /* 줄간격 조정 */
    }

    /* "고객들을 위한 특별한 선물!" Section Card Adjustments */
    .card-section-container .row {
        display: flex;
        flex-direction: column; /* 모바일에서 카드를 세로로 나열 */
        gap: 1rem; /* 카드 간 세로 간격 */
        overflow-x: hidden;
    }
    .card-section-container .row > div[class*="col-"] {
        flex: 1 1 100%;
        min-width: auto;
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        margin-bottom: 0; /* 개별 카드 하단 마진은 row의 gap으로 처리 */
    }
     /* .card-section-container .row > div[class*="col-"]:last-child 는 이제 불필요 */

    .custom-feature-card {
        padding: 1rem;
        min-height: auto; /* 최소 높이 자동 */
        height: 100%; /* 부모 컬럼 높이에 맞춤 (세로 정렬 시 중요) */
        display: flex; /* 내부 정렬을 위해 flex 사용 */
        flex-direction: column; /* 내부 요소 세로 정렬 */
    }
    .custom-feature-card .card-body {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-grow: 1; /* card-body가 카드 내에서 가능한 많은 공간 차지 */
    }
    .icon-circle-bg {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
        border-width: 1px;
    }
    .icon-circle-bg svg {
        width: 30px;
        height: 30px;
    }
    .custom-feature-card .card-title {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    .card-text-custom-size {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    .wave-header-section .container h2 {
        font-size: calc(1.3rem + 2.5vw);
    }
}

@media (max-width: 575.98px) {
    .quick-menu-icon {
        font-size: 1.8rem;
    }
    .quick-menu-item span {
        font-size: 0.8rem;
    }
    .quick-menu-item {
        padding: 1rem 0.1rem;
    }

    #homeCarousel .display-4 {
        font-size: 1.7rem;
    }
    #homeCarousel .lead {
        font-size: 0.85rem;
    }
    #homeCarousel .btn-lg {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    #homeCarousel div.carousel-item > div > div > div.col-lg-6.text-center.text-lg-start {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #productCarousel .carousel-item img {
        max-height: 140px;
    }
    #productCarousel h3 {
        font-size: 1.2rem;
    }
    #productCarousel .product-subtitle {
        font-size: 0.9rem;
    }
    #productCarousel p {
        font-size: 0.8rem;
    }
    #productCarousel .btn-outline-primary {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
    }

    .product-info-container {
        gap: 0.3rem;
    }
    .product-info-item {
        padding: 0.5rem 0.2rem; /* 내부 패딩 추가 축소 */
        min-width: 65px; /* 최소 너비 추가 축소 */
    }
    .product-info-item .info-icon {
        font-size: 0.9rem; /* 아이콘 크기 추가 축소 */
        margin-bottom: 0.1rem; /* 아이콘과 레이블 사이 간격 추가 축소 */
    }
    .product-info-item .info-label {
        font-size: 0.55rem; /* 레이블 글씨 크기 추가 축소 */
        margin-bottom: 0; /* 레이블과 값 사이 간격 거의 없도록 */
    }
    .product-info-item .info-value {
        font-size: 0.65rem; /* 값 글씨 크기 추가 축소 */
    }

    .wave-header-section .container h2 {
        font-size: 1.5rem;
    }
    /* "고객들을 위한 특별한 선물!" 카드는 이미 세로 정렬 및 크기 조정됨 */
    .custom-feature-card {
        min-height: auto;
    }
     .custom-feature-card .card-body {
        padding: 1rem;
    }
    .icon-circle-bg {
        width: 50px;
        height: 50px;
        margin-bottom: 0.75rem;
    }
    .icon-circle-bg svg {
        width: 25px;
        height: 25px;
    }
    .custom-feature-card .card-title {
        font-size: 1.1rem;
    }
    .card-text-custom-size {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {

    /* 모바일에서 라벨 셀 너비 축소 및 입력 셀 너비 확대 */
    .lvs1-form-table .lvs1-label-cell {
        width: 28%;
        font-size: 0.8rem;
        padding-right: 0.5rem;
    }
    .lvs1-form-table .lvs1-input-cell {
        width: 72%;
        padding-left: 0.5rem;
    }

    .lvs1-form-table .lvs1-form-row.lvs1-birthdate-row .lvs1-input-cell .input-group {
        flex-wrap: nowrap;
        align-items: center;
    }

    /* 연락처 입력 그룹은 이전처럼 wrap 허용 */
    .lvs1-form-table .lvs1-form-row.lvs1-contact-row .lvs1-contact-inputs {
        flex-wrap: wrap; 
        gap: 0.25rem;    
    }

    .lvs1-form-table .lvs1-form-row.lvs1-birthdate-row #lvs1_birth_year {
        min-width: 58px;
        padding-left: 0.2rem;
        padding-right: 1.2rem;
        font-size: 0.85rem; 
        flex-grow: 1;
    }
    /* 월, 일 필드 */
    .lvs1-form-table .lvs1-form-row.lvs1-birthdate-row #lvs1_birth_month,
    .lvs1-form-table .lvs1-form-row.lvs1-birthdate-row #lvs1_birth_day {
        min-width: 48px;
        padding-left: 0.2rem;
        padding-right: 1.2rem;
        font-size: 0.85rem; 
        flex-grow: 1;
    }

    .lvs1-form-table .lvs1-form-row.lvs1-birthdate-row .input-group-text {
        padding-left: 0.1rem;
        padding-right: 0.1rem;
        font-size: 0.8rem;
        flex-shrink: 0;
    }
}