/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    border-top: 3px solid #14b8a6;
    max-height: 90vh;
    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: 30px;
}

.cookie-text h4 {
    color: white;
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

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

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 80px;
}

.cookie-accept {
    background-color: #14b8a6;
    color: white;
}

.cookie-accept:hover {
    background-color: #0f9488;
}

.cookie-reject {
    background-color: #dc2626;
    color: white;
}

.cookie-reject:hover {
    background-color: #b91c1c;
}

.cookie-customize {
    background-color: transparent;
    color: #cbd5e0;
    border: 1px solid #4a5568;
}

.cookie-customize:hover {
    background-color: #4a5568;
    color: white;
}

.cookie-decline {
    background-color: #6b7280;
    color: white;
}

.cookie-decline:hover {
    background-color: #4b5563;
}

.cookie-link {
    color: #14b8a6;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    margin-left: 8px;
}

.cookie-link:hover {
    color: #0f9488;
    text-decoration: underline;
}

/* Cookie Preferences Panel */
.cookie-preferences {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
}

.cookie-preferences h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}

.cookie-category {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    width: 100%;
}

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

.toggle-slider {
    width: 44px;
    height: 24px;
    background: #4a5568;
    border-radius: 12px;
    position: relative;
    transition: background 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: #14b8a6;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background: #14b8a6;
    opacity: 0.7;
}

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    color: white;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 4px;
}

.cookie-info p {
    color: #cbd5e0;
    font-size: 0.8rem;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }
    
    .cookie-btn {
        flex: 0 1 auto;
        text-align: center;
        font-size: 0.8rem;
        padding: 6px 12px;
        min-width: 70px;
    }
    
    .cookie-link {
        width: 100%;
        text-align: center;
        margin-left: 0;
        margin-top: 8px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-toggle {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .toggle-slider {
        margin-top: 0;
    }
}