/* Cookie Consent Banner Styles */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
}

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

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

.cookie-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.cookie-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.cookie-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.cookie-links a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

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

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

.cookie-buttons button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-accept {
    background: #4CAF50;
    color: white;
}

.btn-accept:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-reject {
    background: #f3f4f6;
    color: #374151;
}

.btn-reject:hover {
    background: #e5e7eb;
}

.btn-secondary {
    background: white;
    color: #4CAF50;
    border: 2px solid #4CAF50;
}

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

/* Cookie Settings Panel */
.cookie-settings-panel {
    border-top: 1px solid #e5e7eb;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-settings-panel h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.category-header {
    margin-bottom: 0.5rem;
}

.category-header label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
}

.category-header input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    cursor: pointer;
}

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

.category-description {
    color: #666;
    font-size: 0.9rem;
    margin-left: 2rem;
    line-height: 1.5;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner-container {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 1rem;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-buttons button {
        width: 100%;
    }

    .cookie-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-settings-panel {
        padding: 1rem;
    }

    .settings-buttons {
        flex-direction: column;
    }

    .settings-buttons button {
        width: 100%;
    }
}

/* Cookie Settings Link in Footer */
.cookie-settings-link {
    display: inline-block;
    margin-top: 1rem;
    color: white;
    text-decoration: none;
    opacity: 0.8;
    font-size: 0.9rem;
}

.cookie-settings-link:hover {
    opacity: 1;
    text-decoration: underline;
}
