/* Cookie Consent CSS - Mobile-first design
 * Path: public_html/css/cookie-consent.css
 * Version: 1.0.1
 */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(26, 54, 93, 0.95);
    color: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: bottom 0.4s ease-in-out;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.cookie-banner-text {
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

.cookie-banner-text a {
    color: #81c5ff;
    text-decoration: underline;
}

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

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

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.cookie-btn-accept {
    background: #28a745;
    color: white;
}

.cookie-btn-accept:hover {
    background: #218838;
    transform: translateY(-1px);
}

.cookie-btn-decline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-decline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .cookie-banner {
        padding: 20px 30px;
    }
    
    .cookie-banner-content {
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }
    
    .cookie-banner-text {
        font-size: 15px;
    }
    
    .cookie-banner-buttons {
        flex-shrink: 0;
        justify-content: flex-end;
    }
    
    .cookie-btn {
        padding: 10px 20px;
        font-size: 15px;
        min-width: 100px;
    }
}

/* Large screens */
@media (min-width: 1024px) {
    .cookie-banner {
        padding: 25px 40px;
    }
}

/* Animation for smooth entrance */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner.show {
    animation: slideUp 0.4s ease-out;
}

/* Ensure banner doesn't cover important content on small screens */
@media (max-height: 600px) {
    .cookie-banner {
        position: relative;
        bottom: auto;
    }
    
    .cookie-banner.show {
        bottom: auto;
    }
}