/**
 * Cookie Banner Styles - GDPR Compliant
 * UniversalFixer
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 2px solid #1e293b;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 1.5rem;
    display: none;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-family: 'Roboto', sans-serif;
}

.cookie-banner-text p {
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.cookie-banner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.75rem;
}

.cookie-banner-links a {
    color: #1e293b;
    text-decoration: underline;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
    font-family: 'Inter', sans-serif;
}

.cookie-banner-links a:hover {
    color: #000000;
}

.cookie-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    min-width: 140px;
}

.cookie-btn-accept {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
}

.cookie-btn-accept:hover {
    background: #0f172a;
    border-color: #0f172a;
}

.cookie-btn-reject {
    background: #ffffff;
    color: #1e293b;
    border-color: #1e293b;
}

.cookie-btn-reject:hover {
    background: #f1f5f9;
    border-color: #0f172a;
}

.cookie-btn-save {
    background: #475569;
    color: #ffffff;
    border-color: #475569;
}

.cookie-btn-save:hover {
    background: #334155;
    border-color: #334155;
}

/* Responsive */
@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
    }
    
    .cookie-banner-buttons {
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner-text h3 {
        font-size: 1.125rem;
    }
    
    .cookie-banner-text p {
        font-size: 0.875rem;
    }
    
    .cookie-btn {
        width: 100%;
        min-width: auto;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
}

/* Cookie Preferences Page */
.cookie-preferences {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.cookie-category {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    font-family: 'Roboto', sans-serif;
}

.cookie-category-header .toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-category-header .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-category-header .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 26px;
}

.cookie-category-header .toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-category-header input:checked + .toggle-slider {
    background-color: #1e293b;
}

.cookie-category-header input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.cookie-category-header input:disabled + .toggle-slider {
    background-color: #64748b;
    cursor: not-allowed;
}

.cookie-category-description {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

