/*
ABOUTME: Cookie consent banner styling for GDPR compliance
ABOUTME: Provides fixed bottom banner with accept/decline options
*/

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(0.5rem);
    -webkit-backdrop-filter: blur(0.5rem);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

.cookie-banner-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text p {
    margin: 0 0 10px 0;
}

.cookie-banner-text a {
    color: #4CAF50;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #66BB6A;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

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

.cookie-btn-accept:hover {
    background: #45a049;
}

.cookie-btn-decline {
    background: #f44336;
    color: white;
}

.cookie-btn-decline:hover {
    background: #da190b;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-banner-text {
        min-width: auto;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}