/**
 * Cookie Consent Banner Styles
 */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #0066cc;
}

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

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

.cookie-consent-text {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

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

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

.cookie-consent-accept {
    background: #0066cc;
    color: #ffffff;
}

.cookie-consent-accept:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.cookie-consent-accept:focus {
    outline: 3px solid #0066cc;
    outline-offset: 2px;
}

.cookie-consent-reject {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-consent-reject:hover {
    background: #e0e0e0;
    border-color: #ccc;
}

.cookie-consent-reject:focus {
    outline: 3px solid #666;
    outline-offset: 2px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-consent-btn {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-text {
        font-size: 0.875rem;
    }

    .cookie-consent-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .cookie-consent-banner {
        transition: none;
    }

    .cookie-consent-btn:hover {
        transform: none;
    }
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    .cookie-consent-banner {
        background: #1a1a1a;
        border-top-color: #0066cc;
    }

    .cookie-consent-text {
        color: #e0e0e0;
    }

    .cookie-consent-reject {
        background: #2a2a2a;
        color: #e0e0e0;
        border-color: #444;
    }

    .cookie-consent-reject:hover {
        background: #333;
        border-color: #555;
    }
}
