/**
 *  ____                _        ____
 * |  _ \ _ __ ___  ___| |_ __ _|  _ \  _____   __
 * | |_) | '__/ _ \/ __| __/ _` | | | |/ _ \ \ / /
 * |  __/| | |  __/\__ \ || (_| | |_| |  __/\ V /
 * |_|   |_|  \___||___/\__\__,_|____/ \___| \_/
 *
 * PrestaDev.pl - PD Age Verification Pro
 *
 * NOTICE OF LICENSE
 *
 * This source file is licensed under the PrestaDev Proprietary License
 * shipped with this package in the file LICENSE.md.
 * If you did not receive a copy of the license, please contact: info@prestadev.pl
 *
 * DISCLAIMER
 *
 * Do not edit, modify or copy this file.
 * If you wish to customize it, contact us at info@prestadev.pl.
 *
 * @author    Patryk Marek <info@prestadev.pl>
 * @copyright 2012-2026 Patryk Marek - PrestaDev.pl
 *
 * @see      https://prestadev.pl
 *
 * @version   1.0.0
 *
 * @license   PrestaDev.pl Patryk Marek Proprietary License
 *
 * @date      2026-03-11
 */

/* ── Overlay ── */
#pdageverify-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
    overflow-y: auto;
    padding: 20px;
}

#pdageverify-overlay.pdageverify-hidden {
    opacity: 0;
    pointer-events: none;
}

/* ── Modal box ── */
#pdageverify-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    max-width: 520px;
    width: 100%;
    padding: 48px 40px 36px;
    text-align: center;
    position: relative;
    transform: translateY(0) scale(1);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 1;
}

#pdageverify-overlay.pdageverify-hidden #pdageverify-modal {
    transform: translateY(-30px) scale(0.95);
    opacity: 0;
}

/* ── Icon ── */
.pdageverify-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
}

.pdageverify-icon svg {
    display: block;
}

/* ── Typography ── */
.pdageverify-heading {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.pdageverify-message {
    font-size: 15px;
    color: #555770;
    line-height: 1.6;
    margin: 0 0 24px;
    padding: 0 8px;
}

.pdageverify-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    margin: 0 auto 24px;
    max-width: 80%;
}

.pdageverify-question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 28px;
}

/* ── Buttons ── */
.pdageverify-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.pdageverify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff !important;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-decoration: none !important;
    letter-spacing: 0.2px;
    line-height: 1.4;
}

.pdageverify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    filter: brightness(1.08);
}

.pdageverify-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pdageverify-btn:focus {
    outline: 3px solid rgba(66, 133, 244, 0.5);
    outline-offset: 2px;
}

.pdageverify-btn-yes {
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.35);
}

.pdageverify-btn-no {
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.35);
}

/* ── Footer note ── */
.pdageverify-footer-note {
    font-size: 12px;
    color: #999;
    margin: 24px 0 0;
    line-height: 1.5;
}

/* ── Body lock ── */
body.pdageverify-locked {
    overflow: hidden !important;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    #pdageverify-modal {
        padding: 36px 24px 28px;
        border-radius: 12px;
    }

    .pdageverify-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
    }

    .pdageverify-icon svg {
        width: 44px;
        height: 44px;
    }

    .pdageverify-heading {
        font-size: 20px;
    }

    .pdageverify-message {
        font-size: 14px;
        padding: 0;
    }

    .pdageverify-question {
        font-size: 16px;
    }

    .pdageverify-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .pdageverify-btn {
        min-width: 100%;
        padding: 13px 24px;
        font-size: 15px;
    }
}
