/* === Cookie Popup === */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    max-width: 780px;
    padding: 25px 25px 20px 25px;
    z-index: 9999;
    display: none;
    /* shown via JS */
    gap: 16px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    animation: fadeIn 0.4s ease-in-out;
}

/* Close Button */
.cookie-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: #666666;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
}

.cookie-close:hover {
    color: #0872b9;
    transform: scale(1.2);
}

.cookie-popup p {
    font-size: 0.95rem;
    color: #555555;
    line-height: 1.5;
    margin: 0;
    padding-right: 20px;
}

.cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cookie-btn {
    background: #8bc53f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cookie-btn:hover {
    background: #0872b9;
    transform: translateY(-1px);
}

.cookie-link {
    color: #0872b9;
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.9rem;
}

/* === Animation === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .cookie-popup {
        flex-direction: column;
    }
}
    /* === Responsive === */
    @media (max-width: 480px) {
        .cookie-popup {
            bottom: 10px;
            right: 10px;
            max-width: 90%;
            padding: 20px;
        }

        .cookie-btn {
            padding: 9px 16px;
            font-size: 0.9rem;
        }

        .cookie-close {
            top: 6px;
            right: 8px;
            font-size: 1.3rem;
        }
    }