/* HEADER */

.iron-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 20px;
}

.iron-close {
    background: transparent;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: white;
}

/* BODY */

.vpn-plans {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vpn-plan {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px;

    cursor: pointer;

    transition: all .2s;
}

.vpn-plan:hover {
    border-color: var(--green);
}

.vpn-plan.active {
    border-color: var(--green);
    box-shadow: 0 0 12px rgba(34,197,94,.35);
}

.plan-duration,
.plan-expire,
.plan-speed {
    font-size: 14px;
    margin-bottom: 4px;
}

/* FOOTER */

.iron-modal-footer {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* OVERLAY */

.iron-modal-overlay {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.4);

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;

    transition: opacity .25s ease;

    z-index: 1000;
}

.iron-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}


/* MODAL */

.iron-modal {
    width: 100%;
    max-width: 420px;

    background: var(--card);
    border-radius: 14px;

    padding: 25px;

    border: 1px solid var(--border);

    transform: scale(0.9);
    opacity: 0;

    transition:
        transform .25s ease,
        opacity .25s ease;
}

.iron-modal.show {
    transform: scale(1);
    opacity: 1;
}