/* Cookie Consent Banner Styles - Landscape Design */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0.75rem;
    animation: slideUp 0.3s ease;
}

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

.cookie-consent-overlay {
    display: none; /* Removed overlay for minimal approach */
}

.cookie-consent-modal {
    background: white;
    border-radius: 12px;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
}

.cookie-consent-header {
    flex-shrink: 0;
    padding: 0;
    margin: 0;
}

.cookie-consent-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 0.25rem 0;
    white-space: nowrap;
}

.cookie-consent-header p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
    max-width: 200px;
}

.cookie-consent-body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
}

.cookie-option {
    padding: 0;
    margin: 0;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cookie-option-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
}

.cookie-option-header input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #1d4350;
    flex-shrink: 0;
}

.cookie-option-header input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-option-header label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a202c;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.required-badge {
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
}

.cookie-description {
    display: none; /* Hidden in landscape mode */
}

.cookie-consent-footer {
    padding: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-consent-footer button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: #1d4350;
    color: white;
}

.btn-primary:hover {
    background: #2d5563;
    transform: translateY(-1px);
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-secondary {
    background: white;
    color: #666;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

.cookie-consent-links {
    position: absolute;
    bottom: -1.75rem;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 0.7rem;
    padding: 0.25rem;
}

.cookie-consent-links a {
    color: #1d4350;
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-links a:hover {
    text-decoration: underline;
}

/* Compact Toggle for Mobile */
.cookie-toggle-compact {
    display: none;
}

/* Responsive - Tablet and below */
@media (max-width: 1024px) {
    .cookie-consent-modal {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }

    .cookie-consent-header p {
        max-width: none;
    }

    .cookie-consent-body {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-description {
        display: block;
        font-size: 0.7rem;
        color: #666;
        line-height: 1.4;
        margin: 0;
        padding-left: 1.4rem;
    }

    .cookie-consent-footer {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cookie-consent-links {
        position: static;
        padding: 0.5rem 0 0;
    }
}
    #cookie-consent-banner {
        padding: 0.5rem;
    }

/* Responsive - Mobile */
@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 0.5rem;
    }

    .cookie-consent-modal {
        border-radius: 10px;
        padding: 0.875rem 1rem;
    }

    .cookie-consent-header h3 {
        font-size: 0.95rem;
    }

    .cookie-consent-header p {
        font-size: 0.75rem;
    }

    .cookie-option-header label {
        font-size: 0.8rem;
    }

    .cookie-description {
        font-size: 0.68rem;
        padding-left: 1.3rem;
    }

    .cookie-consent-footer button {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .cookie-consent-links {
        font-size: 0.68rem;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .cookie-consent-modal {
        gap: 0.5rem;
        padding: 0.75rem 0.875rem;
    }

    .cookie-consent-header h3 {
        font-size: 0.9rem;
    }

    .cookie-consent-header p {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .cookie-consent-body {
        gap: 0.4rem;
    }

    .cookie-option-header {
        gap: 0.35rem;
    }

    .cookie-option-header input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }

    .cookie-option-header label {
        font-size: 0.75rem;
    }

    .required-badge {
        font-size: 0.55rem;
        padding: 0.1rem 0.3rem;
    }

    .cookie-description {
        font-size: 0.65rem;
        padding-left: 1.2rem;
    }

    .cookie-consent-footer {
        flex-direction: column;
        gap: 0.4rem;
    }

    .cookie-consent-footer button {
        width: 100%;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

/* Large Desktop - Extra wide landscape */
@media (min-width: 1400px) {
    .cookie-consent-modal {
        gap: 2rem;
        padding: 1rem 2rem;
    }

    .cookie-consent-body {
        gap: 2rem;
    }
}
