/* CargoBridge Custom Styling */

:root {
    --primary-color: #007bff;
    --secondary-color: #4CAF50;
    --dark-color: #333;
    --light-color: #f8f9fa;
    --border-radius: 18px;
    --box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0;
    background-color:black;
}

/* Header Styling */
.cb-header {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
}

.cb-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cb-navbar .navbar-brand {
        color: var(--primary-color);
        font-weight: 700;
        font-size: 1.5rem;
    }

    .cb-navbar .navbar-nav {
        display: flex;
        align-items: center;
    }

    .cb-navbar .nav-link {
        color: var(--dark-color);
        margin: 0 0.5rem;
        transition: var(--transition);
    }

        .cb-navbar .nav-link:hover {
            color: var(--primary-color);
        }

.cb-btn {
    padding: 8px 28px;
    border-radius: 24px;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.cb-btn-primary {
    background: var(--primary-color);
    color: white;
}

    .cb-btn-primary:hover {
        background: #0069d9;
        color: white;
    }

.cb-btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

    .cb-btn-outline:hover {
        background: var(--primary-color);
        color: white;
    }

/* Hero Section */
.cb-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    position: relative;
}

    .cb-hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1;
    }

.cb-hero-content {
    position: relative;
    z-index: 2;
}

.cb-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cb-hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Card Styling */
.cb-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.cb-card-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

/* Form Styling */
.cb-form-group {
    margin-bottom: 1.5rem;
}

    .cb-form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

.cb-form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    transition: var(--transition);
}

    .cb-form-control:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Footer */
.cb-footer {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--light-color);
    color: #aaa;
    font-size: 0.9rem;
}

    .cb-footer a {
        color: #aaa;
        text-decoration: underline;
        margin: 0 0.5rem;
    }

        .cb-footer a:hover {
            color: var(--primary-color);
        }

/* Responsive */
@media (max-width: 768px) {
    .cb-navbar {
        flex-direction: column;
        align-items: flex-start;
    }

        .cb-navbar .navbar-nav {
            margin-top: 1rem;
            flex-direction: column;
            align-items: flex-start;
        }

        .cb-navbar .nav-link {
            margin: 0.5rem 0;
        }

    .cb-hero-title {
        font-size: 2rem;
    }
}

/* Authentication specific styles */
.cb-auth-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.cb-claims-table {
    width: 100%;
    border-collapse: collapse;
}

    .cb-claims-table th,
    .cb-claims-table td {
        text-align: left;
        padding: 0.75rem;
        border-bottom: 1px solid #ddd;
    }

    .cb-claims-table th {
        background-color: #f8f9fa;
        font-weight: 500;
    }

.cb-welcome-card {
    text-align: center;
    padding: 3rem 2rem;
}

.cb-welcome-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cb-welcome-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Language selector */
.language-selector {
    position: relative;
    display: inline-block;
}

.language-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
}

.language-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    padding: 1rem;
    min-width: 200px;
    z-index: 100;
}

    .language-dropdown.show {
        display: block;
    }

.language-option {
    display: block;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

    .language-option:hover {
        background-color: #f8f9fa;
    }

    .language-option.active {
        font-weight: 700;
        color: var(--primary-color);
    }

    .language-option.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.coming-soon-notice {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 1rem;
    text-align: center;
}

.about-hero-bg {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url(https://images.unsplash.com/photo-1739946544871-a6a2e8723028?q=80&w=3132&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D?w=1260&h=750&auto=compress&cs=tinysrgb);
    background-size: cover;
    background-position: center;
}

.about-container {
    display: flex;
    flex-direction: row;
    gap: 48px;
    max-width: 1200px;
    width: 100%;
    margin: 120px auto 48px auto;
    padding: 0 24px;
    align-items: flex-start;
}

.about-col {
    flex: 1;
    background: rgba(255,255,255,0.93);
    border-radius: 18px;
    box-shadow: 0 4px 24px #0002;
    padding: 48px 36px;
    min-width: 0;
}

    .about-col h1, .about-col h2 {
        color: #007bff;
        margin-bottom: 18px;
        line-height: 1.2; /* Add this to ensure consistent line height */
    }

    .about-col h1 {
        font-size: 1.8rem; /* Reduce from 2.3rem to match h2 better */
        margin-top: 0; /* Add this to remove top spacing */
    }

    .about-col h2 {
        font-size: 1.3rem;
        margin-top: 32px;
    }
        /* First h2 in column shouldn't have top margin */
        .about-col h2:first-child {
            margin-top: 0;
        }

    .about-col ul {
        margin: 18px 0 0 0;
        padding: 0 0 0 24px;
        color: #222;
    }

    .about-col li {
        margin-bottom: 12px;
        font-size: 1.08rem;
    }

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}

    .about-feature i {
        font-size: 2rem;
        color: #007bff;
        min-width: 36px;
    }

    .about-feature .feature-text {
        font-size: 1.08rem;
        color: #222;
    }

.about-highlight {
    background: #eaf4ff;
    border-left: 4px solid #007bff;
    padding: 18px 22px;
    border-radius: 10px;
    margin: 32px 0;
    color: #007bff;
    font-weight: 500;
    font-size: 1.13rem;
}
/* Update the media queries for better mobile responsiveness */
@media (max-width: 900px) {
    .about-container {
        flex-direction: column;
        gap: 24px;
        margin: 100px auto 32px auto;
        padding: 0 16px;
    }

    .about-col {
        padding: 28px 24px;
    }

        .about-col h1 {
            font-size: 1.5rem;
        }

        .about-col h2 {
            font-size: 1.2rem;
            margin-top: 24px;
        }

    .about-feature {
        gap: 14px;
        margin-bottom: 20px;
    }

        .about-feature i {
            font-size: 1.6rem;
            min-width: 28px;
        }

        .about-feature .feature-text {
            font-size: 1rem;
        }

    .about-highlight {
        padding: 16px 20px;
        font-size: 1.05rem;
        margin: 24px 0;
    }

    ul {
        padding-left: 20px;
    }

    li {
        font-size: 1rem;
        margin-bottom: 10px;
    }
}

/* Additional styles for extra small devices */
@media (max-width: 480px) {
    .about-container {
        margin: 80px auto 24px auto;
        padding: 0 12px;
    }

    .about-col {
        padding: 24px 20px;
    }

        .about-col h1 {
            font-size: 1.4rem;
        }

        .about-col h2 {
            font-size: 1.1rem;
        }

    .about-feature {
        gap: 12px;
    }

        .about-feature i {
            font-size: 1.4rem;
            min-width: 24px;
        }

    p {
        font-size: 0.95rem !important;
    }

    .about-highlight {
        padding: 14px 16px;
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .contact-flex-wrap {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 16px !important;
    }

    .contact-form-col,
    .contact-info-col {
        padding: 20px !important;
    }

        /* Improve form readability */
        .contact-form-col h1,
        .contact-info-col h2 {
            font-size: 22px !important;
            margin-bottom: 16px !important;
        }

        /* Adjust intro text */
        .contact-form-col p {
            font-size: 16px !important;
            line-height: 1.5 !important;
            margin-bottom: 24px !important;
        }

    /* Form fields optimization */
    input[type="text"],
    input[type="email"],
    textarea {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 10px !important;
        margin-bottom: 12px !important;
        border-radius: 8px !important;
        min-height: 42px !important;
    }

    textarea {
        height: 100px !important; /* Reduce textarea height on mobile */
        min-height: 80px !important;
    }

    /* Labels */
    label {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    /* Submit button */
    button[type="submit"] {
        width: 100% !important; /* Full width on mobile */
        padding: 12px !important;
        font-size: 16px !important;
        margin-top: 16px !important;
        justify-content: center !important;
    }

    /* Contact info section */
    .contact-feature {
        margin-bottom: 24px !important;
    }

        .contact-feature h3 {
            font-size: 18px !important;
            margin-bottom: 12px !important;
        }

        .contact-feature p,
        .contact-feature a {
            font-size: 15px !important;
            line-height: 1.5 !important;
        }

    /* Map */
    iframe {
        height: 200px !important;
        margin-top: 16px !important;
    }

    /* Container spacing */
    .container {
        padding: 80px 16px 20px 16px !important;
    }

    /* Header adjustments */
    .hero-section {
        padding-top: 60px !important;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .contact-form-col,
    .contact-info-col {
        padding: 16px !important;
    }

        .contact-form-col h1,
        .contact-info-col h2 {
            font-size: 20px !important;
        }

    .container {
        padding: 70px 12px 16px 12px !important;
    }

    /* Adjust icon sizes */
    .fas {
        font-size: 18px !important;
    }

    /* Further reduce spacing */
    .contact-feature {
        margin-bottom: 20px !important;
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    button,
    a {
        min-height: 44px !important; /* Minimum touch target size */
    }

    input[type="text"],
    input[type="email"],
    textarea {
        -webkit-appearance: none; /* Remove iOS styling */
        appearance: none;
    }
}

 .form-progress {
            position: relative;
            display: flex;
            justify-content: space-between;
            counter-reset: step;
            margin: 2rem 0 4rem;
        }

        .form-progress::before {
            content: "";
            position: absolute;
            top: 50%;
            width: 100%;
            height: 2px;
            background: #ddd;
            z-index: 0;
        }

        .progress-step {
            width: 2.5rem;
            height: 2.5rem;
            background-color: white;
            border-radius: 50%;
            border: 2px solid #ddd;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1;
        }

        .progress-step.active {
            border-color: #007bff;
            background-color: #007bff;
            color: white;
        }

        .progress-step.completed {
            border-color: #4CAF50;
            background-color: #4CAF50;
            color: white;
        }

        .form-step {
            display: none;
            width: 100%;
        }

        .form-step.active {
            display: block;
        }

        .input-group {
            margin: 2rem 0;
            width: 100%;
        }

        .input-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #333;
            font-weight: 500;
        }

        .input-group input,
        .input-group select {
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            display: block;
            padding: 0.75rem;
            border: 1px solid #ddd;
            border-radius: 0.5rem;
            margin-top: 0.5rem;
        }

        .account-type-selector {
            display: flex;
            gap: 1rem;
            margin: 2rem 0;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
        }

        .account-type-card {
            flex: 1;
            padding: 2rem;
            border: 2px solid #ddd;
            border-radius: 1rem;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.98);
        }

        .account-type-card:hover {
            border-color: #007bff;
        }

        .account-type-card h3 {
            color: #333;
            font-size: 1.4rem;
            margin: 1rem 0;
        }

        .account-type-card p {
            color: #555;
            font-size: 1rem;
            line-height: 1.4;
        }

        .account-type-card.selected {
            border-color: #007bff !important;
            background: rgba(0, 123, 255, 0.05) !important;
        }

        .account-type-card.selected h3,
        .account-type-card.selected p {
            color: #007bff !important;
        }

        .account-type-card i {
            font-size: 3rem;
            color: #007bff;
            margin-bottom: 1.5rem;
            opacity: 0.9;
        }

        .account-type-card:hover i {
            transform: scale(1.1);
            transition: transform 0.3s ease;
        }

        .account-type-card.selected i {
            color: #007bff;
            opacity: 1;
        }

        .btn-group {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
            gap: 1rem;
        }

        .btn-prev, .btn-next {
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            min-width: 120px;
            text-align: center;
        }

        .btn-next {
            background: #007bff;
            color: #fff;
            border: none;
        }

        .btn-prev {
            background: #fff;
            color: #333;
            border: 1px solid #ddd;
        }

        /* Add responsive styles */
        @media (max-width: 768px) {
            /* Form container adjustments */
            .hero-section > div {
                padding: 20px 16px !important;
            }

            /* Adjust form width and padding */
            .hero-section > div > div {
                padding: 24px 20px !important;
            }

            /* Adjust main heading */
            h1 {
                font-size: 1.5rem !important;
            }

            h2 {
                font-size: 1.2rem !important;
            }

            /* Account type cards */
            .account-type-selector {
                flex-direction: column !important;
                gap: 16px !important;
            }

            .account-type-card {
                padding: 20px !important;
            }

            .account-type-card i {
                font-size: 2.5rem !important;
                margin-bottom: 1rem !important;
            }

            .account-type-card h3 {
                font-size: 1.2rem !important;
            }

            /* Progress bar */
            .form-progress {
                margin: 1.5rem 0 2rem !important;
            }

            .progress-step {
                width: 2rem !important;
                height: 2rem !important;
            }

            /* Form inputs */
            .input-group {
                margin: 1rem 0 !important;
            }

            .input-group label {
                font-size: 0.9rem !important;
            }

            input, select {
                font-size: 16px !important; /* Prevents zoom on iOS */
                padding: 10px !important;
            }

            /* Buttons */
            .btn-group {
                flex-direction: column !important;
                gap: 12px !important;
            }

            .btn-prev, .btn-next {
                width: 100% !important;
                padding: 12px !important;
                font-size: 1rem !important;
            }

            /* Confirmation screen */
            #confirmation-screen {
                width: calc(100% - 32px) !important;
                padding: 24px 20px !important;
            }

            #confirmation-screen i {
                font-size: 3rem !important;
            }

            #confirmation-screen h1 {
                font-size: 1.4rem !important;
            }

            #confirmation-screen p {
                font-size: 1rem !important;
            }

            /* Footer */
            footer {
                padding: 16px 0 8px 0 !important;
                font-size: 13px !important;
            }

            .checkbox-wrapper {
        gap: 8px !important;
    }

    .checkbox-wrapper label {
        font-size: 0.85rem !important;
    }
        }

        /* Extra small devices */
        @media (max-width: 380px) {
            .hero-section > div > div {
                padding: 20px 16px !important;
            }

            .account-type-card {
                padding: 16px !important;
            }

            .account-type-card i {
                font-size: 2rem !important;
            }

            .account-type-card h3 {
                font-size: 1.1rem !important;
            }

            .account-type-card p {
                font-size: 0.9rem !important;
            }

            input, select {
                padding: 8px !important;
            }
        }

    @media (max-width: 768px) {
        .language-close {
            position: fixed !important;
            top: 20px !important;
            right: 20px !important;
            width: 44px !important;
            height: 44px !important;
            background: rgba(255,255,255,0.1) !important;
            border: none !important;
            border-radius: 50% !important;
            color: #fff !important;
            font-size: 24px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            cursor: pointer !important;
            z-index: 10000 !important;
        }

        .language-dropdown {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.95);
            display: none;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .language-dropdown.show {
            display: flex;
        }

        .nav-menu.active {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            background: rgba(0,0,0,0.95);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
    }

    .checkbox-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-wrapper label {
    display: inline-block;
    margin-left: 8px;
    line-height: 1.4;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .checkbox-wrapper label {
        font-size: 0.85rem !important;
    }
}

.btn-primary[onclick*="shareOnLinkedIn"]:hover {
        background: #005885 !important;
    }
    
    .btn-primary[onclick*="shareOnTwitter"]:hover {
        background: #1a8cd8 !important;
    }

    @media (max-width: 768px) {
        #confirmation-screen {
            padding: 24px 16px !important;
        }

        #confirmation-screen .btn-primary {
            padding: 10px 16px !important;
            font-size: 14px !important;
        }

        #confirmation-screen div {
            flex-direction: column !important;
        }
    }

    /* Add to your existing style section */
@media (max-width: 768px) {
    .referral-section {
        padding: 16px !important;
    }
    
    .referral-section h3 {
        font-size: 1.1rem !important;
    }
    
    .referral-link-container {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .referral-link-container button {
        width: 100% !important;
    }
    
    #referralLink {
        font-size: 14px !important;
    }
}

/* Add to the existing <style> section */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    padding-right: 2.5em !important;
}

optgroup {
    font-weight: 600;
    color: #666;
}

option {
    font-weight: normal;
    color: #333;
    padding: 8px;
}

@media (max-width: 768px) {
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

/* Update the phone input styles */
.iti {
    width: 100%;
    margin-top: 8px;
}

.iti__tel-input {
    width: 100% !important;
    height: 48px !important;
    padding: 0.75rem !important;
    padding-left: 80px !important;
    border: 1px solid #ddd !important;
    border-radius: 0.5rem !important;
    font-size: 16px !important;
    color: #333 !important;
    background: #fff !important;
}

.iti__country-list {
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
    margin-top: 4px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.iti__country {
    padding: 10px 12px !important;
}

.iti__country-name {
    color: #333 !important;
}

.iti__dial-code {
    color: #666 !important;
}

.iti__flag-container {
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.iti__selected-dial-code {
    color: #333 !important;
}

/* Dropdown styles for mobile */
@media (max-width: 768px) {
    .iti__country-list {
        max-width: 90vw !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    .iti__country {
        padding: 12px !important;
    }

    .iti__country-name {
        font-size: 16px !important;
        color: #333 !important;
    }
}

/* Update the select#countryRegistration styles */
select#countryRegistration {
    height: 48px !important;
    border: 1px solid #ddd !important;
    border-radius: 0.5rem !important;
    padding: 0 0.75rem !important; /* Changed padding */
    font-size: 16px !important;
    color: #333 !important;
    width: 100% !important;
    background-color: #fff !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1em !important;
    padding-right: 2.5em !important;
    line-height: 48px !important; /* Added line-height */
}

/* Style for all options including placeholder */
select#countryRegistration option {
    padding: 12px !important;
    line-height: 1.5 !important;
}

/* Specific style for the placeholder option */
select#countryRegistration option[value=""] {
    color: #666 !important;
}





.success-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    padding: 40px 32px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

    .success-container i.fas.fa-check-circle {
        color: #4CAF50;
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .success-container h1 {
        color: #007bff;
        font-size: 1.8rem;
        margin-bottom: 16px;
    }

    .success-container h2 {
        color: #333;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .success-container p {
        color: #555;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

.social-share {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.linkedin {
    background: #0077b5;
    color: #fff;
}

.twitter {
    background: #1DA1F2;
    color: #fff;
}

.referral-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.referral-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

    .referral-header span {
        background: #007bff;
        color: white;
        padding: 4px 12px;
        border-radius: 12px;
        font-size: 0.9rem;
    }

.referral-box {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

    .referral-box label {
        display: block;
        color: #555;
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

.referral-link-container {
    display: flex;
    gap: 8px;
}

    .referral-link-container input {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 0.9rem;
        background: #f8f9fa;
    }

    .referral-link-container button {
        background: #007bff;
        color: white;
        border: none;
        border-radius: 6px;
        padding: 8px 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 4px;
    }

.referral-note {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    font-size: 0.9rem;
}

.copy-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    z-index: 9999;
    pointer-events: none;
}

    .copy-toast.show {
        display: block;
        opacity: 1;
        bottom: 48px;
    }

