/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    transform: translateY(20px);
    width: 380px;
    max-width: calc(100vw - 40px);
    background-color: #222222;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    padding: 1.25rem;
    position: relative;
}

.cookie-header {
    margin-bottom: 0.75rem;
}

.cookie-header h3 {
    color: #ffffff;
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.cookie-banner .animated-bar {
    margin: 0.4rem 0 0.75rem;
    width: 50px;
}

.cookie-description {
    margin-bottom: 0.75rem;
}

.cookie-description p {
    color: #bbbbbb;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.cookie-banner a {
    color: #a020f0;
    text-decoration: none;
    transition: color 0.3s;
}

.cookie-banner a:hover {
    color: #8a00ff;
    text-decoration: underline;
}

.cookie-privacy-link {
    font-size: 0.8rem;
    color: #999999;
    margin-bottom: 1rem;
    text-align: left;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-buttons .btn {
    padding: 0.4rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Mobile optimizations for cookie banner */
@media (max-width: 767px) {
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        max-width: calc(100vw - 20px);
        width: 350px;
    }
    
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-header h3 {
        font-size: 1.2rem;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .cookie-banner {
        width: calc(100vw - 20px);
        bottom: 10px;
        right: 10px;
        left: auto;
    }
    
    .cookie-header h3 {
        font-size: 1.1rem;
    }
    
    .cookie-description p {
        font-size: 0.85rem;
    }
    
    .cookie-privacy-link {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .cookie-buttons .btn {
        padding: 0.35rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (max-width: 767px) {
    .cookie-banner {
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }
    
    .cookie-content {
        padding: 0.8rem;
    }
    
    .cookie-header {
        margin-bottom: 0.5rem;
    }
    
    .cookie-header h3 {
        font-size: 1.1rem;
    }
}
