/* --- COOKIE CONSENT BANNER STYLES --- */
:root {
    --cookie-primary: #ee8028; 
    --cookie-primary-dark: #d97706;
    --cookie-primary-light: #f59e0b;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    color: #f8fafc;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    display: none;
    flex-direction: column;
    gap: 16px;
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.4s ease;
}

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

.cookie-banner-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.cookie-content {
    width: 100%;
}

.cookie-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0;
    text-align: center;
}

.cookie-text a {
    color: var(--cookie-primary-light);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #ffffff;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.cookie-btn {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--cookie-primary);
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: var(--cookie-primary-dark);
    transform: translateY(-1px);
}

.cookie-btn-reject {
    background: transparent;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

/* Settings Panel */
.cookie-settings-panel {
    width: 100%;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-settings-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.cookie-settings-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.cookie-option {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-switch-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    cursor: pointer;
}

.cookie-switch-label input[type="checkbox"] {
    display: none;
}

.cookie-switch-custom {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 3px;
}

.cookie-switch-custom::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ffffff;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.cookie-switch-label input[type="checkbox"]:checked + .cookie-switch-custom {
    background-color: var(--cookie-primary);
}

.cookie-switch-label input[type="checkbox"]:checked + .cookie-switch-custom::after {
    transform: translateX(18px);
}

.cookie-switch-label input[type="checkbox"]:disabled + .cookie-switch-custom {
    opacity: 0.5;
    background-color: var(--cookie-primary);
    cursor: not-allowed;
}

.cookie-option-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cookie-option-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
}

.cookie-option-desc {
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.4;
}

.cookie-services-list {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    color: var(--cookie-primary-light);
    opacity: 0.95;
    line-height: 1.35;
}

.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .cookie-banner {
        bottom: 80px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .cookie-banner-main {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-banner-main .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}
