:root {
    --primary-blue: #005CE2;
    --point-yellow: #F6BE28;
    --text-black: #000000;
    --text-gray: #616161;
    --bg-white: #FFFFFF;
    --bg-light: #E6ECF2;
    --container-width: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: var(--text-black);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgb(255 255 255 / 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    height: 80px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    /* Increased from 32px */
    display: block;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.btn-login {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 24px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    /* Header height + extra space */
    padding-bottom: 100px;
    background-image: url('https://creditncity-c.com/bg_city.png');
    /* Hypothetical URL based on analysis or need to find real one */
    background-size: cover;
    background-position: center;
    min-height: 700px;
    display: flex;
    align-items: center;
}

/* Fallback for hero background if image not found immediately, verify later */
.hero {
    background-color: #f8f9fa;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
}

.highlight-blue {
    color: var(--primary-blue);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary-yellow {
    background-color: var(--point-yellow);
    color: #000;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 18px;
}

.btn-outline-white {
    background-color: white;
    border: 1px solid #ddd;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

/* Intro Section */
.section-intro {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.section-desc {
    color: var(--text-gray);
    font-size: 18px;
}

/* Performance Section */
.section-performance {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.performance-box {
    background-color: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 40px;
}

.box-title {
    font-size: 28px;
    font-weight: 700;
    min-width: 200px;
}

.table-container {
    flex: 1;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.performance-table th {
    text-align: left;
    padding: 12px 0;
    color: #888;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.performance-table td {
    padding: 16px 0;
    border-bottom: 1px solid #f5f5f5;
    font-weight: 500;
}

.status-done {
    color: var(--primary-blue);
    font-weight: 700;
}

.status-ing {
    color: var(--text-gray);
}

/* Cards Section */
.section-cards {
    padding: 80px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card-item {
    background-color: #f8f9fa;
    border-radius: 24px;
    padding: 32px;
    height: 320px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-item:hover {
    transform: translateY(-5px);
}

.card-interview {
    background-color: #222;
    color: white;
}

.card-guide {
    background-color: #E3F2FD;
}

.card-sns {
    background-color: #FFF8E1;
}

.card-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    opacity: 0.7;
}

.card-text h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.card-img {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: auto;
}

.card-interview .card-text h3 {
    color: white;
}


/* Reviews Section */
.section-reviews {
    padding: 80px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.review-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.review-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.review-item {
    flex: 0 0 300px;
}

.review-item img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Advantage Section */
.section-advantage {
    padding: 80px 0;
    text-align: center;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.advantage-card {
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 32px 24px;
    transition: all 0.3s;
}

.advantage-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.adv-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.advantage-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

/* Process Section */
.section-process {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    gap: 20px;
}

.step-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
    background-color: #f8f9fa;
    /* Default fallback bg */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    aspect-ratio: 1 / 1.1;
    /* Maintain reasonable aspect ratio */
}

/* Specific background colors for variety like original if images cover it */
.step-item:nth-child(1) .step-card {
    background-color: #E8EAF6;
}

.step-item:nth-child(2) .step-card {
    background-color: #E3F2FD;
}

.step-item:nth-child(3) .step-card {
    background-color: #FFF3E0;
}

.step-item:nth-child(4) .step-card {
    background-color: #F3E5F5;
}

.step-item:nth-child(5) .step-card {
    background-color: #E0F2F1;
}


.step-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.step-card:hover img {
    transform: scale(1.05);
}

.step-num {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: white;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    word-break: keep-all;
}

.step-sub {
    font-size: 15px;
    font-weight: 500;
    color: #666;
    display: block;
    margin-top: 4px;
}

/* Footer */
.footer {
    background-color: #333;
    color: #999;
    padding: 60px 0;
    font-size: 14px;
    line-height: 1.6;
}

.footer-info p {
    margin-bottom: 8px;
}

.footer-info strong {
    color: white;
}

.footer-links {
    margin: 20px 0;
}

.footer-links a {
    color: #ccc;
    margin-right: 20px;
    text-decoration: none;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    opacity: 0.6;
}

/* Hero Layout Update */
.hero-bg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.hero-image-box {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image-box img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    /* Prevent overly large image */
}

@media (max-width: 900px) {
    .hero-bg {
        flex-direction: column;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-box {
        margin-top: 40px;
        justify-content: center;
    }
}

/* Hero Redesign Override */
.hero {
    padding-top: 100px;
    padding-bottom: 60px;
    background: none;
    /* remove old bg */
}

.hero-wrapper {
    /* Ensure container width is respected */
}

.hero-bg {
    position: relative;
    width: 100%;
    min-height: 500px;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Dark filter */
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1000px;
    /* Adjust inner width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    gap: 40px;
}

.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-title {
    font-size: 36px;
    /* Adjusted size */
    font-weight: 700;
    line-height: 1.4;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-weight: 500;
}

/* 10만원부??Underline Style */
.highlight-underline {
    position: relative;
    display: inline-block;
    color: white;
    font-weight: 800;
    z-index: 1;
}

.highlight-underline::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: #005CE2;
    /* Blue underline */
    z-index: -1;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.btn-outline-white {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;
}

/* Stats Card Overlay */
.hero-stats-card {
    background: rgba(0, 0, 0, 0.5);
    /* Glass dark */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    width: 320px;
    color: white;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

.border-bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-label {
    font-size: 15px;
    font-weight: 500;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
}

.text-yellow {
    color: var(--point-yellow);
}

@media (max-width: 900px) {
    .hero-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats-card {
        width: 100%;
        max-width: 360px;
    }
}

/* Performance Section Redesign */
.performance-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
}

/* Left: Stats Graphics */
.perf-stats-container {
    flex: 1;
    background-color: #A0C4FF;
    /* Generic Light Blue bg */
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-graphic-bg {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.stat-box {
    width: 140px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 4px;
    /* Slight rounding or none based on image which looks boxy */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.box-gray {
    background-color: #D0D0D0;
    color: #444;
}

.box-white {
    background-color: #FFFFFF;
    color: #333;
    z-index: 2;
    transform: translateY(-20px);
    /* Lifted slightly */
}

.box-blue {
    background-color: #005CE2;
    color: #FFFFFF;
}

.stat-box h3 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.stat-icon-circle,
.stat-icon-hammer,
.stat-icon-money {
    font-size: 32px;
    margin-bottom: 20px;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
}

/* Right: Table */
.perf-table-container {
    flex: 1;
    /* max-width: 500px; */
}

.table-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    color: #005CE2;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.case-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.case-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #666;
}

.case-item:last-child {
    border-bottom: none;
}

.case-amount {
    font-weight: 500;
    color: #333;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    align-items: center;
}

.page-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

.page-btn:hover {
    background-color: #f5f5f5;
}

.page-btn.active {
    background-color: #005CE2;
    /* or Black based on image */
    color: white;
    font-weight: 700;
    border-color: #005CE2;
}

.page-btn.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

@media (max-width: 900px) {
    .performance-wrapper {
        flex-direction: column;
    }

    .perf-stats-container,
    .perf-table-container {
        width: 100%;
    }
}

/* Performance Section Refinements */
.performance-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    /* Center vertically */
    justify-content: center;
}

.perf-table-container {
    flex: 1;
    /* Left side */
}

.perf-image-container {
    flex: 1;
    /* Right side */
    display: flex;
    justify-content: center;
}

.perf-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

/* Compact Table */
.case-item {
    padding: 8px 0;
    /* Reduced padding */
    font-size: 13px;
    /* Reduced font size */
}

.table-header {
    padding: 8px 0;
    font-size: 13px;
    margin-bottom: 8px;
}

.pagination {
    margin-top: 16px;
}

.page-btn {
    width: 28px;
    /* Smaller buttons */
    height: 28px;
    font-size: 12px;
}

/* Advantage Section Redesign */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 on PC */
    gap: 20px;
}

.advantage-card {
    display: flex;
    align-items: center;
    /* Vertical center */
    padding: 24px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    gap: 20px;
    text-align: left;
}

.adv-icon-img {
    width: 60px;
    /* Adjust based on icon size */
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.adv-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.adv-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    word-break: keep-all;
}

@media (max-width: 900px) {
    .performance-wrapper {
        flex-direction: column;
    }

    .advantage-grid {
        grid-template-columns: 1fr;
        /* 1x1 on Mobile */
    }

    .advantage-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Final Layout Adjustments */

/* Hero Height & Stats Padding */
.hero-bg {
    min-height: 580px;
    /* Increased from 500px */
}

.hero-stats-card {
    padding: 20px 30px;
    /* Reduced vertical padding from 30px */
}

/* Process Section Mobile Stack - ensuring it overrides */
@media (max-width: 900px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .step-card {
        aspect-ratio: auto;
        height: auto;
        /* Remove fixed height */
        background-color: transparent;
    }

    .step-card img {
        width: 100%;
        height: auto;
        /* Ensure img scales fully */
    }

    .step-item {
        width: 100%;
    }

    /* Ensure Performance Section stacks correctly with Image on Top or Bottom? 
       "Right image" in original request, now "Left". 
       Usually Left -> Top on mobile. 
    */
    .performance-wrapper {
        flex-direction: column;
    }
}

/* Hero Width & Stats Compactness Refinement */

/* Force Wider Hero */
.hero-wrapper.container {
    max-width: 1280px !important;
    /* Revert to standard wide width, not full 95% */
    width: 100% !important;
}

.hero-content-wrapper {
    max-width: 100% !important;
    /* Fill the container */
    width: 100% !important;
}

/* Logo Size Increase */
.logo img {
    height: 64px !important;
    /* Increased from 50px */
}

/* Stats Card Compactness */
.hero-stats-card {
    padding: 15px 20px !important;
    /* Very compact padding */
}

.stat-row {
    padding: 6px 0 !important;
    /* Tighter rows */
}

.stat-label {
    font-size: 14px;
}

.stat-value {
    font-size: 16px;
}

/* Fix Hero Grey Area & Mobile Reorder & Process Image */

/* Hero Grey Area Fix */
.hero-bg {
    background-color: transparent !important;
    /* Transparent to avoid any color bleed */
    border: none !important;
    padding: 0 !important;
    /* Ensure no padding */
    margin: 0 !important;
}

/* Ensure Image Covers Completely & Zoom to hide edges */
.hero-bg-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.05);
    /* Increased zoom to 1.05 to aggressively cover edges */
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero Reordering Layout */
/* PC Layout: Text and Buttons on Left, Stats on Right */
@media (min-width: 901px) {
    .hero-content-wrapper {
        display: grid !important;
        grid-template-columns: 1.2fr 0.8fr;
        /* Adjust ratio */
        grid-template-areas:
            "text stats"
            "buttons stats";
        align-items: center;
        gap: 20px 40px;
    }

    .hero-text-group {
        grid-area: text;
        text-align: left;
    }

    .hero-buttons {
        grid-area: buttons;
        justify-content: flex-start;
    }

    .hero-stats-card {
        grid-area: stats;
        justify-self: end;
        /* Align to right */
    }
}

/* Mobile Layout: Text -> Stats -> Buttons */
@media (max-width: 900px) {
    .hero-content-wrapper {
        display: flex !important;
        flex-direction: column;
        gap: 30px;
    }

    .hero-text-group {
        order: 1;
    }

    .hero-stats-card {
        order: 2;
        width: 100%;
        max-width: 100%;
    }

    .hero-buttons {
        order: 3;
        width: 100%;
        justify-content: center;
    }

    .btn-primary-yellow,
    .btn-outline-white {
        flex: 1;
    }
}

/* Process Image 3 Fix */
.step-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    /* Ensure clear text */
    background-color: #f8f9fa;
    /* Match card background */
}

/* If Step 3 specifically needs tweaks */
.step-item:nth-child(3) .step-card img {
    /* Specific tweaks if needed */
}

/* Floating Banner */
.floating-banner {
    position: fixed;
    right: 30px;
    bottom: 40px;
    z-index: 1000;
    cursor: pointer;
    animation: floating-bounce 2.5s infinite ease-in-out;
}

.banner-content {
    display: flex;
    align-items: center;
    background: #FFD700;
    padding: 12px 25px 12px 12px;
    border-radius: 60px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.banner-content:hover {
    transform: scale(1.1) translateY(-5px);
    background: #FFC800;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.banner-text {
    font-weight: 800;
    color: #000;
    margin-left: 15px;
    font-size: 18px;
    white-space: nowrap;
}

.banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@keyframes floating-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Modal Styling */
.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px 20px 80px 20px;
    /* Lift up by increasing bottom padding */
}

.chat-modal.hidden {
    display: none !important;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slide-up 0.3s ease-out;
}

@keyframes slide-up {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: #FFD700;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-content {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.hidden {
    display: none !important;
}

.step-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.full-width {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.mt-10 {
    margin-top: 10px;
}

.btn-outline-red {
    background: #fff;
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

/* Chat Styling */
.chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.message.user {
    align-self: flex-end;
    background: #FFD700;
    color: #000;
    border-bottom-right-radius: 2px;
}

.message.admin {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    border-bottom-left-radius: 2px;
}

.chat-input-area {
    display: flex;
    gap: 10px;
}

.chat-input-area {
    display: flex !important;
    gap: 10px;
    width: 100%;
}

.chat-input-area input {
    flex: 1;
    min-width: 0;
    /* Prevents input from overflowing */
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.chat-input-area input:disabled {
    background: #f0f0f0;
    cursor: not-allowed;
}

/* Welcome Block Styling */
.welcome-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border: 2px solid #FFD700;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.1);
}

.welcome-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.welcome-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    white-space: pre-line;
    margin-bottom: 20px;
}

.welcome-text strong {
    color: #e67e22;
    /* Highlight colors for bold */
    font-size: 16px;
}

.modal-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 380px;
    position: relative;
    /* Wrapper handles the width now */
}

/* Update modal-container to just fit parent */
.modal-container {
    width: 100%;
    max-width: 100%;
    /* Reset max-width as wrapper handles it */
}

.chat-banner-container {
    width: 100%;
    margin-top: 15px;
    /* ~1cm gap */
    border-radius: 10px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* Optional: add shadow to banner too */
}

.chat-banner-gif {
    width: 100%;
    height: auto;
    display: block;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.option-btn {
    width: 100%;
    padding: 12px;
    background: #fffdeb;
    border: 1px solid #FFD700;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: #000;
}

.option-btn:hover {
    background: #FFD700;
}

.send-btn {
    background: #FFD700;
    border: none;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .floating-banner {
        right: 15px;
        bottom: 15px;
    }

    .banner-text {
        font-size: 13px;
    }

    .modal-container {
        max-width: 100%;
        height: 70vh;
        border-radius: 20px 20px 0 0;
    }

    .chat-modal {
        padding: 0;
    }
}