/**
 * EU Cookie Consent Banner Styles for KDRT News
 * Matches KDRT burgundy, gold, cream, and red branding
 */

.eu-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8B2635 0%, #B8860B 100%);
    color: #F5F5DC;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(139, 38, 53, 0.3);
    border-top: 3px solid #CC1A00;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

.eu-cookie-text {
    flex: 1;
    min-width: 0;
}

.eu-cookie-title {
    color: #F5F5DC;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-family: 'Crimson Text', serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.eu-cookie-title i {
    color: #CCAC00;
    font-size: 1.2rem;
}

.eu-cookie-message {
    color: rgba(245, 245, 220, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.eu-cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.eu-cookie-actions .btn {
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.btn-accept {
    background: #CC1A00;
    color: white;
    box-shadow: 0 2px 8px rgba(204, 26, 0, 0.3);
}

.btn-accept:hover {
    background: #B8160A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 26, 0, 0.4);
}

.btn-decline {
    background: rgba(245, 245, 220, 0.2);
    color: #F5F5DC;
    border: 1px solid rgba(245, 245, 220, 0.3);
}

.btn-decline:hover {
    background: rgba(245, 245, 220, 0.3);
    border-color: rgba(245, 245, 220, 0.5);
    transform: translateY(-1px);
}

.btn-learn-more {
    background: transparent;
    color: #CCAC00;
    border: 1px solid #CCAC00;
    font-size: 0.85rem;
    padding: 8px 14px;
}

.btn-learn-more:hover {
    background: #CCAC00;
    color: #8B2635;
    transform: translateY(-1px);
    text-decoration: none;
}

.eu-cookie-actions i {
    font-size: 0.9rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .eu-cookie-content {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        text-align: center;
    }
    
    .eu-cookie-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .eu-cookie-actions .btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
    
    .btn-learn-more {
        order: 3;
        flex-basis: 100%;
    }
    
    .eu-cookie-title {
        font-size: 1rem;
        justify-content: center;
    }
    
    .eu-cookie-message {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .eu-cookie-actions .btn {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
    
    .eu-cookie-content {
        padding: 12px;
    }
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .eu-cookie-banner {
        background: #8B2635;
        border-top-width: 4px;
    }
    
    .btn-accept {
        background: #CC1A00;
        border: 2px solid white;
    }
    
    .btn-decline {
        border: 2px solid #F5F5DC;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .eu-cookie-banner {
        transition: none;
    }
    
    .eu-cookie-actions .btn {
        transition: none;
    }
}