/**
 * Cookie Banner Styles
 * GDPR-compliant cookie consent banner
 */

/* Banner Container */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    font-family: 'Malinton', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Banner States */
.cookie-banner-visible {
    transform: translateY(0);
}

.cookie-banner-hiding {
    transform: translateY(100%);
}

/* Banner Content Layout */
.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

/* Text Content */
.cookie-banner-text {
    flex: 1;
    min-width: 0;
}

.cookie-banner-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.cookie-banner-description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

/* Actions Container */
.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Buttons */
.cookie-btn {
    padding: 0.875rem 1.5rem;
    min-height: 44px;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: #ffffff;
    color: #0a0a0a;
}

.cookie-btn-accept:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.cookie-btn-accept:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.cookie-btn-reject:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 2px;
}

/* Privacy Policy Link */
.cookie-link {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
    white-space: nowrap;
}

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

.cookie-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Close Button */
.cookie-banner-close {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-banner-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.cookie-banner-close:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.72);
    outline-offset: 2px;
}

/* Tablet and Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 1rem;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cookie-btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner-close {
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Small Mobile Responsive */
@media (max-width: 480px) {
    .cookie-banner-title {
        font-size: 1rem;
    }

    .cookie-banner-description {
        font-size: 0.8125rem;
    }

    .cookie-btn {
        padding: 0.875rem 1.25rem;
        min-height: 44px;
        font-size: 0.8125rem;
    }
}
