@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@400;600;700&display=swap');

/* ==========================================================================
   Pages 2 CSS - For Housing Models (Stay)
   ========================================================================== */

/* Grid Layout for List View */
.stay_list_container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px 100px;
}

.stay_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stay_item {
    background: #fff;
    border: 1px solid #ddd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.stay_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stay_thumb {
    width: 100%;
    height: 300px;
    /* Fixed Thumbnail Height */
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.stay_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stay_item:hover .stay_thumb img {
    transform: scale(1.05);
}

.stay_info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid #eee;
}

.stay_title {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 15px;
}

.stay_btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    border-top: 1px solid #ddd;
    background: #fff;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
}

.stay_item:hover .stay_btn {
    background: #333;
    color: #fff;
}

/* Detail View Styles */
.stay_detail_wrap {
    width: 100%;
}

/* Full Width Header Image (Auto Height, Simple 100%) */
.stay_detail_header {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
    background: #f4f4f4;
}

.stay_detail_img {
    width: 100%;
    height: auto;
    display: block;
}

/* Title Section Layout */
.stay_title_section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 40px;
    text-align: left;
}

.stay_detail_subtitle {
    font-size: 20px;
    color: #d35400;
    /* Orange Accent */
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.stay_detail_title {
    font-size: 48px;
    color: #222;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

/* Content Body */
.stay_detail_body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 100px;
    background: #fff;
    position: relative;
    z-index: 2;
}

/* Feature Description (Extra Var Text) */
.feature_desc_box {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.8;
    color: #222;
    font-weight: 500;
    word-break: keep-all;
}

.editor_content {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
}

.stay_desc_section {
    margin-bottom: 80px;
    display: flex;
    gap: 60px;
}

.stay_desc_text {
    flex: 1.5;
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    word-break: keep-all;
}

.stay_spec_table {
    flex: 1;
}

.spec_row {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    font-size: 15px;
}

.spec_label {
    width: 100px;
    font-weight: 600;
    color: #888;
}

.spec_value {
    flex: 1;
    color: #111;
    font-weight: 500;
}

/* Detail Images */
.stay_detail_images {
    text-align: center;
}

.stay_detail_images img {
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}


/* Button Styles */
.stay_btn_consult {
    display: block;
    width: 100%;
    padding: 15px 0;
    margin-top: 40px;
    background: #222;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    border: none;
    transition: opacity 0.3s;
}

.stay_btn_consult:hover {
    opacity: 0.8;
}

.stay_btn_back {
    display: block;
    width: 100%;
    padding: 15px 0;
    margin-top: 10px;
    border: 1px solid #ddd;
    color: #555;
    font-size: 14px;
    text-align: center;
    transition: background 0.3s;
}

.stay_btn_back:hover {
    background: #f9f9f9;
}

/* Responsive */
@media (max-width: 1024px) {
    .stay_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stay_grid {
        grid-template-columns: 1fr;
    }

    .stay_desc_section {
        flex-direction: column;
        gap: 40px;
    }

    .stay_detail_title {
        font-size: 32px;
    }

    .stay_detail_header {
        height: 300px;
        /* Smaller header on mobile */
    }
}

/* ==========================================================================
   Parallax Hero Header & Overlay Styles (Background Fixed Method)
   ========================================================================== */

/* Header Container (Holds the fixed background) */
.stay_detail_header {
    position: relative;
    /* Back to normal flow */
    width: 100%;
    height: 100vh;
    background-position: center top;
    /* Show top of image */
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Magic Property: Image stays fixed viewport-wise */
    z-index: 1;
    /* Move in front of #main_content (0) but behind body (10) */
    overflow: hidden;
}

.stay_detail_img {
    display: none !important;
    /* Image tag unused */
}

/* Body Content */
.stay_detail_body {
    position: relative;
    z-index: 10;
    /* Keep above header/title */
    background: #fff;
    margin: 0 auto;
    margin-top: 0;
    /* Header takes space normally now */
    padding: 80px 20px 100px;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.05);
    /* Shadow on top */
}

/* LNB Overlay (Moves with Header Container) */
.sub_page_wrap.transparent {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    max-width: none !important;
    padding: 0;
    z-index: 20;
    /* High z-index to stay clickable inside header */
}

.sub_page_wrap.transparent .sub_nav_bar {
    text-align: left;
}

.sub_page_wrap.transparent .sub_nav_bar::after {
    display: none !important;
}

/* ... LNB alignment styles ... */
.sub_page_wrap.transparent .sub_title_area {
    justify-content: flex-start !important;
    padding-left: 20px !important;
    max-width: 1400px;
    margin: 0 auto;
}

.sub_page_wrap.transparent .sub_title_area h2 {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.sub_page_wrap.transparent .lnb_list {
    justify-content: flex-start !important;
}

.sub_page_wrap.transparent .lnb_list li a {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.sub_page_wrap.transparent .lnb_list li.active a,
.sub_page_wrap.transparent .lnb_list li a:hover {
    color: #fff;
    font-weight: 700;
}


/* Hero Title Overlay (Fixed position to simulate sticky) */
.stay_hero_title_wrap {
    position: fixed;
    /* Fixed to viewport */
    top: 350px;
    bottom: auto;
    left: 60%;
    /* Center horizontally */
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    padding-left: 20px;
    z-index: 2;
    /* Above Header(1) but behind Body(10) */
    pointer-events: none;
    box-sizing: border-box;
    /* Note: If user scrolls deep, this title stays fixed behind body thanks to z-index */
}

.hero_title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero_subtitle {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   New Horizontal Card Layout & Main Content
   ========================================================================== */

/* 1. Info Card Wrapper (Boxed Style) */
.stay_info_card {
    border: 1px solid #e5e5e5;
    background: #fff;
    padding: 50px;
    margin-bottom: 80px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    font-family: 'Noto Sans KR', sans-serif;
}

/* Card Header */
.stay_card_title {
    margin-bottom: 20px;
    padding-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.stay_card_title .sub_txt {
    font-size: 18px;
    color: hsl(49, 97%, 58%);
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-family: 'Noto Sans KR', sans-serif;
}

.stay_card_title .main_title {
    font-size: 32px;
    color: #222;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Noto Serif KR', serif;
    letter-spacing: -0.5px;
}

/* Card Grid */
.stay_card_grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.card_col {
    position: relative;
    box-sizing: border-box;
}

/* Col 1: Description */
.card_col.desc_col {
    width: 40%;
    padding-right: 50px;
    border-right: 1px solid #eee;
}

.feature_text {
    font-size: 12px;
    line-height: 1.7;
    color: #555;
    word-break: keep-all;
}

/* Col 2 & 3: Specs */
.card_col.spec_col {
    width: 20%;
    padding-left: 30px;
}

.spec_item {
    display: flex;
    margin-bottom: 10px;
    font-size: 11px;
    border-bottom: 1px solid #f9f9f9;
    padding-bottom: 5px;
}

.spec_item:last-child {
    border-bottom: 0;
}

.spec_item .label {
    width: 60px;
    color: #999;
    font-weight: 500;
}

.spec_item .value {
    flex: 1;
    color: #333;
    font-weight: 400;
}

/* Col 4: Button */
.card_col.btn_col {
    width: 20%;
    padding-left: 30px;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn_consult {
    display: block;
    width: 100%;
    background: #222;
    color: #fff;
    padding: 16px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s;
}

.btn_consult:hover {
    background: #444;
}

.btn_card_list {
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    color: #666;
    padding: 14px 0;
    text-align: center;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn_card_list:hover {
    background: #f5f5f5;
    border-color: #ccc;
    color: #222;
}

/* 2. Main Content (Center Aligned) */
.stay_main_content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stay_main_content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 30px;
}

.stay_main_content p {
    text-align: center;
    line-height: 1.8;
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* Bottom Utils */
.stay_bottom_utils {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.btn_list {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #ddd;
    color: #555;
    font-size: 14px;
    transition: all 0.2s;
}

.btn_list:hover {
    background: #f9f9f9;
    color: #222;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .stay_card_grid {
        flex-direction: column;
    }

    .card_col {
        width: 100% !important;
        padding: 0 !important;
        border: none !important;
        margin-bottom: 30px;
    }

    .spec_item {
        border-bottom: 1px solid #f9f9f9;
        padding-bottom: 8px;
    }

    .stay_card_title .main_title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .stay_detail_header {
        height: 70vh;
        /* Smaller on mobile */
        background-attachment: scroll;
        /* Performance adjust for mobile */
    }

    .stay_detail_body {
        margin-top: 0;
        padding-top: 50px;
    }

    /* On mobile, unfix title to avoid covering content or weird scroll */
    .stay_hero_title_wrap {
        position: absolute;
        top: auto;
        bottom: 15%;
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        z-index: 5;
    }

    .hero_title {
        font-size: 28px;
    }

    .hero_subtitle {
        font-size: 16px;
    }

    .sub_page_wrap.transparent {
        top: 100px;
    }
}

/* ==========================================================================
   MAIN PAGE STYLES (New Overhaul)
   ========================================================================== */

/* 1. Video Hero Section */
.main_video_hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Full Viewport Height */
    overflow: hidden;
    background: #000;
}

.main_video_hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the container */
    opacity: 0.8;
    /* Slight darken for text visibility if needed */
}

.main_scroll_down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}


/* 2. Main Section Layout */
.main_section_container {
    padding: 100px 0;
    max-width: 1600px;
    /* Wide layout */
    margin: 0 auto;
}

.main_sec_wrap {
    margin-bottom: 80px;
}

.main_sec_wrap:last-child {
    margin-bottom: 0;
}

/* Header: Title + Plus Button */
.main_sec_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.main_sec_title {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn_more_plus {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #555;
    font-size: 20px;
    transition: all 0.3s;
    text-decoration: none;
}

.btn_more_plus:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}


/* 3. Slider Card Styles (Overrides) */
/* Wrapper for Swiper to handle padding/overflow */
.main_swiper_wrap {
    padding: 0 20px;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

.main_card_item {
    cursor: pointer;
    border: 1px solid #eee;
    background: #fff;
    transition: transform 0.3s;
}

.main_card_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.main_card_thumb {
    width: 100%;
    height: 250px;
    /* Smaller than details page */
    overflow: hidden;
    position: relative;
    background: #f4f4f4;
}

.main_card_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.main_card_item:hover .main_card_thumb img {
    transform: scale(1.05);
}

.main_card_info {
    padding: 20px;
    text-align: center;
}

.main_card_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main_card_btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

.main_card_item:hover .main_card_btn {
    background: #222;
    color: #fff;
    border-color: #222;
    border-color: #222;
}

/* Swiper Navigation: Premium 3D Glass Design */
.main_swiper_wrap {
    position: relative;
    padding: 0 60px;
    /* Space for buttons */
}

.main_swiper_wrap .swiper-container {
    overflow: hidden;
    padding: 20px 10px 40px 10px;
    /* Space for hover effects */
}

/* Base Button Style - FORCED */
.swiper-button-next,
.swiper-button-prev,
.swiper-button-next-stay,
.swiper-button-prev-stay,
.swiper-button-next-farmhut,
.swiper-button-prev-farmhut,
.swiper-button-next-residential,
.swiper-button-prev-residential {
    width: 45px !important;
    height: 45px !important;

    /* Perfect Centering */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    /* 3D Glass Effect - High Contrast */
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;

    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
    /* Visible Border */
    border-bottom: 3px solid rgba(220, 220, 220, 0.8) !important;
    /* 3D Depth */
    border-radius: 50% !important;

    /* Strong Shadow for Visibility */
    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.25),
        inset 0 0 15px rgba(255, 255, 255, 0.4) !important;

    color: #000 !important;
    padding: 0 !important;
    margin: 0 !important;

    /* Vertical Alignment Correction */
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;

    transition: all 0.2s ease-out !important;
    opacity: 1 !important;
    cursor: pointer !important;
    z-index: 100 !important;
}

/* Force Icon Size & Color */
.swiper-button-next::after,
.swiper-button-prev::after,
.swiper-button-next-stay::after,
.swiper-button-prev-stay::after,
.swiper-button-next-farmhut::after,
.swiper-button-prev-farmhut::after,
.swiper-button-next-residential::after,
.swiper-button-prev-residential::after {
    font-size: 18px !important;
    /* FIXED SIZE */
    font-weight: 900 !important;
    color: #000 !important;
    /* BLACK */
    text-shadow: none !important;
    width: auto !important;
    line-height: 1 !important;
}

/* Hover Effect - Pop */
.swiper-button-next:hover,
.swiper-button-prev:hover,
.swiper-button-next-stay:hover,
.swiper-button-prev-stay:hover,
.swiper-button-next-farmhut:hover,
.swiper-button-prev-farmhut:hover,
.swiper-button-next-residential:hover,
.swiper-button-prev-residential:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    /* White on Hover */
    transform: translateY(calc(-50% - 3px)) scale(1.1) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3) !important;
    border-color: #fff !important;
}

/* Click Effect */
.swiper-button-next:active,
.swiper-button-prev:active,
.swiper-button-next-stay:active,
.swiper-button-prev-stay:active,
.swiper-button-next-farmhut:active,
.swiper-button-prev-farmhut:active,
.swiper-button-next-residential:active,
.swiper-button-prev-residential:active {
    transform: translateY(-50%) scale(0.95) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    border-bottom-width: 1px !important;
    /* Press down */
}

/* Positioning */
.main_swiper_wrap .swiper-button-prev,
.main_swiper_wrap .swiper-button-prev-stay,
.main_swiper_wrap .swiper-button-prev-farmhut,
.main_swiper_wrap .swiper-button-prev-residential {
    left: 10px !important;
    right: auto !important;
}

.main_swiper_wrap .swiper-button-next,
.main_swiper_wrap .swiper-button-next-stay,
.main_swiper_wrap .swiper-button-next-farmhut,
.main_swiper_wrap .swiper-button-next-residential {
    right: 10px !important;
    left: auto !important;
}

@media (max-width: 768px) {
    .main_swiper_wrap {
        padding: 0 20px;
    }

    .main_swiper_wrap .swiper-container {
        padding: 0;
    }

    /* Hide buttons on mobile */
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-button-next-stay,
    .swiper-button-prev-stay,
    .swiper-button-next-farmhut,
    .swiper-button-prev-farmhut,
    .swiper-button-next-residential,
    .swiper-button-prev-residential {
        display: none !important;
    }
}

/* =========================================
   Consultation Page Styles
   ========================================= */

/* Layout & Header */
.consult_wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.consult_header_actions {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

/* Common Button Styles */
.btn_submit.black {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
}

.btn_submit.black:hover {
    background: #333;
}

.btn_cancel {
    display: inline-block;
    background: #666;
    color: #fff;
    padding: 12px 40px;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    margin-left: 10px;
    transition: background 0.3s;
}

.btn_cancel:hover {
    background: #555;
}

/* List Table */
.consult_list_table_wrap {
    border-top: 2px solid #000;
}

.consult_list_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.consult_list_table th {
    padding: 18px 0;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    color: #222;
    font-size: 15px;
    text-align: center;
}

.consult_list_table td {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 14px;
    text-align: center;
}

.consult_list_table td.td_title {
    text-align: left;
    padding-left: 30px;
    color: #333;
}

.consult_list_table td.td_title a {
    color: #333;
    text-decoration: none;
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.consult_list_table td.td_title a:hover {
    text-decoration: underline;
}

/* Status Badge */
.status_badge {
    display: inline-block;
    padding: 4px 12px;
    background: #bbb;
    /* Default (lighter gray for waiting) */
    color: #fff;
    font-size: 12px;
    border-radius: 2px;
}

.status_badge.completed {
    background: #222;
    /* Dark black for distinct contrast */
    font-weight: bold;
}

.status_badge.waiting {
    background: #bbb;
}

.status_badge.process {
    background: #333;
}


/* Write Form Styles */
.consult_form_header {
    border-bottom: 2px solid #000;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.consult_form_header h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #000;
}

.consult_form_header p {
    color: #666;
    font-size: 15px;
}

/* Form Groups */
.consult_form_group {
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 30px;
}

.consult_form_group:last-of-type {
    border-bottom: none;
}

.consult_form_group label {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}

/* Select Input */
.consult_select {
    width: 100%;
    max-width: 400px;
    /* Limit width */
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    cursor: pointer;
}

.consult_select:focus {
    border-color: #000;
}

/* Radio Inputs */
.radio_group .radio_options {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.radio_group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 0;
    color: #555;
}

.radio_group input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #000;
    /* Black Check */
}

/* Textarea */
.consult_form_group textarea {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    padding: 25px;
    font-size: 15px;
    resize: none;
    outline: none;
    line-height: 1.6;
    font-family: inherit;
}

.consult_form_group textarea:focus {
    border-color: #333;
}

/* File Input */
.file_input_box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn_add_file {
    background: #333;
    color: #fff;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 13px;
}

/* Agreement */
.consult_agreement {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.consult_agreement label {
    cursor: pointer;
    font-size: 15px;
    color: #444;
    display: inline-flex;
    align-items: center;
}

.consult_agreement input[type="checkbox"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: #000;
}

/* Form Actions */
.consult_form_actions {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .consult_header_actions {
        justify-content: flex-end;
        /* Right align on mobile often better? Or Keep Left */
    }

    .consult_list_table .col_no,
    .consult_list_table .col_writer,
    .consult_list_table .col_date,
    .consult_list_table .td_no,
    .consult_list_table .td_writer,
    .consult_list_table .td_date {
        display: none;
    }

    .consult_list_table th {
        font-size: 14px;
    }

    .consult_list_table td {
        font-size: 13px;
    }

    .consult_form_group textarea {
        height: 250px;
    }
}

/* Type Badge Styles */
.type_badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    /* Rounded pill shape */
    font-size: 13px;
    font-weight: 600;
    line-height: normal;
    color: #444;
    background: #f0f0f0;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

/* Specific Badge Colors */
.type_badge.construction {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #bbdefb;
}

/* Blue for 건축상담 */
.type_badge.as {
    background: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
}

/* Red for AS신청 */
.type_badge.sales {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #c8e6c9;
}

/* Purple for 기타 */
.type_badge.etc {
    background: #f3e5f5;
    color: #6a1b9a;
    border-color: #e1bee7;
}

@font-face {
    font-family: 'GMarketSans';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}
p
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}
/* ==========================================================================
   Greeting Page Typography
   ========================================================================== */

/* Catchphrase (Left) */
.app_catchphrase {
    font-family: 'GMarketSans', sans-serif !important;
    font-weight: 700;
    /* Maintain existing size aesthetics if any, or inherit */
}

/* Body Text (Right) */
.greeting_text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 200; /* ExtraLight */
    white-space: pre-line;
    font-size: 1.1rem; /* Adjust for readability of thin font */
    line-height: 1.4;
    color: #333;
}

/* Signature Section */
.greeting_sign {
    font-family: 'Pretendard', sans-serif;
    text-align: right;
    margin-top: 50px;
    position: relative; /* Context for absolute image */
    font-weight: 300;
    color: #000;
}

.greeting_sign span {
    font-family: 'Pretendard', sans-serif;
    font-weight: 800; /* Bold specifically for Name */
    font-size: 1.4rem; /* Larger than before (was ~24px, now ~28px) */
    margin-left: 10px;
    margin-right: 60px; /* Space for image */
    position: relative;
    z-index: 2; /* Text above image */
}

/* Signature Image Placeholder */
.sign_img {
    position: absolute;
    right: -15px;
    bottom: -50px; /* Slight overlap from bottom */
    width: 150px; /* Adjust size */
    opacity: 0.9;
    z-index: 1; /* Behind text if overlapping heavily, or mix */
    pointer-events: none;
}