/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1f2937;
    color: #ffffff;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #d1d5db;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cookie-btn.accept {
    background: #65a30d;
    color: white;
}

.cookie-btn.accept:hover {
    background: #4d7c0f;
}

.cookie-btn.reject,
.cookie-btn.decline {
    background: transparent;
    color: #d1d5db;
    border: 1px solid #4b5563;
}

.cookie-btn.reject:hover,
.cookie-btn.decline:hover {
    background: #374151;
    border-color: #6b7280;
}

.cookie-btn.customize {
    background: #1f2937;
    color: #60a5fa;
    border: 1px solid #60a5fa;
}

.cookie-btn.customize:hover {
    background: #60a5fa;
    color: #1f2937;
}

.cookie-link {
    color: #60a5fa;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

.cookie-link:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Cookie Preferences */
.cookie-preferences {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #4b5563;
}

.cookie-preferences h3 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.1rem;
}

.cookie-category {
    margin-bottom: 1rem;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.cookie-toggle:hover {
    background: #374151;
}

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

.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background: #4b5563;
    border-radius: 24px;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.toggle-slider:before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.cookie-toggle input:checked + .toggle-slider {
    background: #65a30d;
}

.cookie-toggle input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.cookie-toggle input:disabled + .toggle-slider {
    background: #6b7280;
    opacity: 0.7;
}

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    display: block;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.cookie-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #d1d5db;
}

.cookie-pref-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-text {
        text-align: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 0.75rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-link {
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .cookie-pref-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-toggle {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}