/**
 * VapeCyprus Age Verification Overlay
 */

/* Hide instantly when cookie exists — set by inline <head> script. */
html.vc-age-ok #vc-age-overlay {
    display: none !important;
}

#vc-age-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    transition: opacity 0.3s ease;
}

.vc-age-modal {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.vc-age-logo {
    max-width: 160px;
    height: auto;
    margin-bottom: 20px;
}

#vc-age-title {
    margin: 0 0 10px;
    font-size: 24px;
    color: #222;
}

.vc-age-desc {
    margin: 0 0 8px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.vc-age-question {
    margin: 0 0 24px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.vc-age-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.vc-age-btn {
    padding: 12px 40px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.vc-age-btn-yes {
    background: #2271b1;
    color: #fff;
}

.vc-age-btn-yes:hover {
    background: #135e96;
}

.vc-age-btn-no {
    background: #ddd;
    color: #333;
}

.vc-age-btn-no:hover {
    background: #ccc;
}

.vc-age-error {
    color: #d63638;
    font-size: 13px;
    margin: 0;
}

/* Mobile */
@media (max-width: 480px) {
    .vc-age-modal {
        padding: 24px 16px;
        border-radius: 8px;
    }

    .vc-age-btn {
        padding: 10px 28px;
        font-size: 14px;
    }
}
