/* ===== COMPLETE LEGAL PAGE STYLES - SIDEBAR VERSION ===== */
.legal-hero {
    background: linear-gradient(135deg, rgba(45, 45, 45, 0.9) 0%, rgba(45, 45, 45, 0.7) 100%), 
                url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 0;
}

/* ===== 1. SIDEBAR LAYOUT STYLES ===== */
.legal-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
    max-width: 1400px; /* Widen container to push sidebar left */
}

@media (min-width: 992px) {
    .legal-container {
        flex-direction: row;
        align-items: flex-start;
    }
    
    .legal-sidebar {
        width: 300px;
        flex-shrink: 0;
        position: sticky;
        top: 100px; /* Stick sidebar below header */
        align-self: flex-start;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .legal-content-area {
        flex: 1;
        min-width: 0; /* Prevent overflow */
    }
}

/* Sidebar Navigation */
.legal-nav {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.legal-nav .tab-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--space-4) var(--space-6);
    background: transparent;
    border: none;
    border-left: 4px solid transparent;
    text-align: left;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.legal-nav .tab-btn:hover {
    background-color: var(--light);
    color: var(--primary);
}

.legal-nav .tab-btn.active {
    background-color: rgba(255, 94, 20, 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
}

.legal-nav .tab-btn i:not(.arrow-icon) {
    width: 24px;
    margin-right: var(--space-3);
    font-size: var(--text-lg);
}

.arrow-icon {
    margin-left: auto;
    font-size: var(--text-sm);
    opacity: 0;
    transition: var(--transition);
}

.legal-nav .tab-btn.active .arrow-icon {
    opacity: 1;
}

/* Content Area */
.legal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    animation: fadeIn 0.5s ease;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.card-header {
    position: sticky;
    top: 70px; /* Reduced to close gap with navbar */
    z-index: 10;
    background: var(--white);
    border-bottom: 1px solid var(--light-gray);
    padding: var(--space-6) var(--space-8);
    margin-bottom: var(--space-6);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Enhanced shadow */
}

.card-header h2 {
    color: var(--secondary);
    font-size: var(--text-4xl); /* Increased size */
    margin-bottom: var(--space-2);
}

.meta-info .last-updated {
    color: var(--text-lighter);
    font-size: var(--text-sm);
    font-weight: 500;
}

.card-body {
    padding: var(--space-2) var(--space-8) var(--space-8);
}

/* ===== 2. DETAILED CONTENT STYLES (FROM IMAGES) ===== */
.policy-content {
    color: var(--text);
    line-height: 1.8;
    font-size: var(--text-base);
}

.policy-intro {
    font-size: var(--text-lg);
    color: var(--text-light);
    margin: var(--space-6) 0;
    padding: var(--space-6);
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--primary);
}

.policy-section {
    margin-top: var(--space-8);
}

.policy-section h3 {
    color: var(--secondary);
    font-size: var(--text-3xl); /* Increased size */
    margin-bottom: var(--space-4);
    font-weight: 700;
}

.policy-section h4 {
    color: var(--secondary);
    font-weight: 600;
    font-size: var(--text-xl); /* Increased size */
    margin-bottom: var(--space-3);
}

/* Information Categories */
.info-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.info-category {
    background: var(--light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.info-category h4 {
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.info-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-category li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-4);
}

.info-category li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.info-category li:last-child {
    border-bottom: none;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.usage-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
    align-items: flex-start;
}

.usage-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.usage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-xl);
    flex-shrink: 0;
}

.usage-text h4 {
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.usage-text p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Disclosure List */
.disclosure-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.disclosure-list li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
}

.disclosure-list li:last-child {
    border-bottom: none;
}

.disclosure-list strong {
    color: var(--secondary);
}

/* Retention Table */
.retention-table {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

.retention-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--light-gray);
}

.retention-row:last-child {
    border-bottom: none;
}

.data-type {
    font-weight: 600;
    color: var(--secondary);
}

.retention-period {
    color: var(--primary);
    font-weight: 700;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.right-item {
    background: var(--light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    text-align: center;
}

.right-item h4 {
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.right-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Security Features */
.security-features {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    margin-top: var(--space-6);
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-light);
}

.security-item i {
    font-size: var(--text-2xl);
    color: var(--primary);
}

.policy-updates {
    background: linear-gradient(135deg, #fff3cd 0%, #fff 100%);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid #ffeaa7;
    margin-top: var(--space-8);
}

.policy-updates h4 {
    color: #856404;
    margin-bottom: var(--space-3);
}

.policy-updates p {
    color: #856404;
    margin: 0;
}

/* Terms Grid */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.term-category {
    background: var(--light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.term-category h3 {
    color: var(--primary);
    margin-bottom: var(--space-3);
    font-size: var(--text-lg);
}

.term-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.term-category li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-4);
}

.term-category li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.term-category li:last-child {
    border-bottom: none;
}

/* Prize Structure */
.prize-structure {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.prize-tier {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-light);
    text-align: center;
}

.prize-tier h4 {
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.prize-amount {
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.prize-tier p {
    color: var(--text-light);
    margin: 0;
    font-size: var(--text-sm);
}

.prize-note {
    color: var(--text-lighter);
    font-size: var(--text-sm);
    text-align: center;
    font-style: italic;
}

/* Conduct Rules */
.conduct-rules {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.conduct-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
}

.conduct-item.positive {
    background: linear-gradient(135deg, #f0fff4 0%, var(--white) 100%);
    border-color: var(--success);
}

.conduct-item.negative {
    background: linear-gradient(135deg, #fff5f5 0%, var(--white) 100%);
    border-color: var(--danger);
}

.conduct-item i {
    font-size: var(--text-2xl);
    flex-shrink: 0;
}

.conduct-item.positive i {
    color: var(--success);
}

.conduct-item.negative i {
    color: var(--danger);
}

.conduct-text h4 {
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.conduct-text p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.consequences-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.consequences-list li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-6);
}

.consequences-list li::before {
    content: '⚠';
    color: var(--danger);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.consequences-list li:last-child {
    border-bottom: none;
}

/* Cookie Grid */
.cookies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-4);
}

.cookie-type {
    background: var(--light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.cookie-header h4 {
    color: var(--secondary);
    margin: 0;
    flex: 1;
}

.cookie-required, .cookie-optional {
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.cookie-required {
    background: var(--success-light);
    color: var(--success);
}

.cookie-optional {
    background: var(--warning-light);
    color: var(--warning);
}

.cookie-type p {
    color: var(--text-light);
    margin-bottom: var(--space-3);
}

.cookie-type ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cookie-type li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-4);
}

.cookie-type li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.cookie-type li:last-child {
    border-bottom: none;
}

/* Browser Instructions */
.browser-instructions {
    margin-top: var(--space-6);
}

.browser-instructions h4 {
    color: var(--secondary);
    margin-bottom: var(--space-3);
}

.browser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-2);
}

.browser-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4);
    background: var(--light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
    text-align: center;
    transition: var(--transition);
}

.browser-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.browser-item i {
    font-size: var(--text-2xl);
    color: var(--primary);
}

.browser-item span {
    color: var(--text-light);
    font-weight: 600;
    font-size: var(--text-sm);
}

/* Cookie Consent */
.cookie-consent {
    background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 2px solid var(--primary-light);
    margin-top: var(--space-8);
}

.cookie-consent h3 {
    color: var(--secondary);
    margin-bottom: var(--space-3);
}

.cookie-consent p {
    color: var(--text-light);
    margin-bottom: var(--space-4);
}

.consent-actions {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

/* Media Usage */
.media-usage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.usage-purpose {
    background: var(--light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.usage-purpose h4 {
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.usage-purpose ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usage-purpose li {
    padding: var(--space-2) 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-4);
}

.usage-purpose li::before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.usage-purpose li:last-child {
    border-bottom: none;
}

/* Rights Granted */
.rights-granted {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.rights-granted .right-item {
    display: flex;
    gap: var(--space-4);
    text-align: left;
    background: var(--light);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.rights-granted .right-item i {
    font-size: var(--text-2xl);
    color: var(--primary);
    flex-shrink: 0;
    margin-top: var(--space-1);
}

.rights-granted .right-text h4 {
    color: var(--secondary);
    margin-bottom: var(--space-2);
}

.rights-granted .right-text p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Opt Out Steps */
.opt-out-steps {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
    counter-reset: step-counter;
}

.opt-out-steps li {
    counter-increment: step-counter;
    padding: var(--space-4);
    margin-bottom: var(--space-3);
    background: var(--light);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
    position: relative;
    padding-left: var(--space-12);
}

.opt-out-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--text-sm);
}

.opt-out-note {
    color: var(--text-lighter);
    font-size: var(--text-sm);
    font-style: italic;
    text-align: center;
}

.commercial-restrictions {
    list-style: none;
    padding: 0;
    margin: 0;
}

.commercial-restrictions li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-6);
}

.commercial-restrictions li::before {
    content: '✗';
    color: var(--danger);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.commercial-restrictions li:last-child {
    border-bottom: none;
}

/* Legal Contact Info Grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.contact-info-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-5);
    padding: var(--space-6);
    background: var(--light);
    border-radius: var(--radius-xl);
    border: 1px solid var(--light-gray);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-xl);
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    box-shadow: var(--shadow-md);
}

.contact-info-details h4 {
    margin-bottom: var(--space-1);
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--secondary);
}

.contact-info-details p {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 0 var(--space-1) 0;
    line-height: 1.5;
}

.contact-info-details .meta {
    color: var(--text-lighter);
    font-size: var(--text-sm);
    font-style: italic;
}

/* Data Requests */
.data-requests {
    margin-bottom: var(--space-8);
}

.data-requests h3 {
    color: var(--secondary);
    margin-bottom: var(--space-4);
}

.request-requirements {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6) 0;
}

.request-requirements li {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--text-light);
    position: relative;
    padding-left: var(--space-6);
}

.request-requirements li::before {
    content: '✓';
    color: var(--success);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.request-requirements li:last-child {
    border-bottom: none;
}

/* Timeline */
.request-timeline h4 {
    color: var(--secondary);
    margin-bottom: var(--space-4);
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
}

.timeline-step {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--light-gray);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--secondary);
    margin-bottom: var(--space-1);
    font-size: var(--text-base);
}

.step-content p {
    color: var(--text-light);
    margin: 0;
    font-size: var(--text-sm);
}

/* Emergency Contact */
.emergency-contact {
    background: linear-gradient(135deg, #fff5f5 0%, var(--white) 100%);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    border: 2px solid var(--danger);
    text-align: center;
}

.emergency-contact h3 {
    color: var(--danger);
    margin-bottom: var(--space-3);
}

.emergency-contact > p {
    color: var(--text-light);
    margin-bottom: var(--space-4);
}

.emergency-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.emergency-number {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--danger);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .legal-tabs .tabs-header {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
    }

    .legal-tabs .tab-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        padding: var(--space-3) var(--space-4);
    }

    .card-header h2 {
        font-size: var(--text-2xl);
    }

    .usage-grid,
    .rights-grid,
    .terms-grid,
    .cookies-grid,
    .media-usage,
    .rights-granted,
    .timeline-steps {
    .info-categories,
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .conduct-rules {
        grid-template-columns: 1fr;
    }

    .prize-structure {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .browser-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .consent-actions {
        flex-direction: column;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .timeline-step {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .legal-tabs .tab-btn {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }

    .legal-tabs .tab-btn i {
        font-size: var(--text-sm);
    }

    .browser-grid {
        grid-template-columns: 1fr;
    }

    .opt-out-steps li {
        padding-left: var(--space-8);
    }

    .opt-out-steps li::before {
        position: static;
        margin-bottom: var(--space-2);
        transform: none;
    }
}

/* ===== COOKIE CONSENT MODAL & MESSAGES ===== */
.cookie-settings-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10000; }
.modal-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; border-radius: 1rem; padding: 0; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid #e5e7eb; }
.modal-header h3 { margin: 0; color: #1f2937; font-size: 1.25rem; font-weight: 700; }
.close-modal { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #6b7280; transition: color 0.2s; }
.close-modal:hover { color: #1f2937; }
.modal-body { padding: 1.5rem; }
.cookie-setting { margin-bottom: 1rem; }
.setting-toggle { display: flex; align-items: flex-start; gap: 1rem; cursor: pointer; }
.setting-toggle input { margin-top: 0.25rem; }
.setting-text { flex: 1; }
.setting-text strong { display: block; color: #1f2937; margin-bottom: 0.25rem; }
.setting-text span { color: #6b7280; font-size: 0.875rem; line-height: 1.4; }
.modal-footer { display: flex; gap: 1rem; padding: 1.5rem; border-top: 1px solid #e5e7eb; justify-content: flex-end; }

/* Cookie Toast Message */
.cookie-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 10001;
    animation: slideInRight 0.3s ease;
    display: flex;
    align-items: center;
}

.cookie-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cookie-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.cookie-message .message-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@keyframes slideInRight { 
    from { transform: translateX(100%); opacity: 0; } 
    to { transform: translateX(0); opacity: 1; } 
}

@keyframes slideOutRight { 
    from { transform: translateX(0); opacity: 1; } 
    to { transform: translateX(100%); opacity: 0; } 
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
