/* Cookie consent banner — shared across all pages via base.html */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    display: none;
    animation: cookieSlideUp 0.4s ease-out;
}

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

@keyframes cookieSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-banner-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.cookie-banner-text a {
    color: #90cdf4;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
}

.cookie-btn-accept {
    background: #4299e1;
    color: white;
}

.cookie-btn-accept:hover {
    background: #3182ce;
}

.cookie-btn-reject {
    background: #e2e8f0;
    color: #2d3748;
}

.cookie-btn-reject:hover {
    background: #cbd5e0;
}

@media (max-width: 640px) {
    .cookie-banner-content { flex-direction: column; }
    .cookie-banner-buttons { width: 100%; }
    .cookie-btn { flex: 1; }
}
