/* ================================================================
   cookie-banner.css — Cookie Consent Banner (card popup style)
   ================================================================ */

.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-content {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    padding: 2rem 2.5rem;
    max-width: 480px;
    width: 100%;
    animation: cookieSlideUp 0.35s ease-out;
}

@keyframes cookieSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cookie-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem;
}

.cookie-content p {
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 1.5rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-btn-outline {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    background: #fff;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    font-family: inherit;
}

.cookie-btn-outline:hover {
    border-color: #667eea;
    background: #f5f7ff;
    color: #667eea;
}

.cookie-btn {
    flex: 1;
    padding: 0.7rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
    font-family: inherit;
}

.cookie-btn:hover {
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 1.5rem;
    }

    .cookie-actions {
        flex-direction: column;
    }
}
