/* ==========================================================================
   EPP Dual Button Widget
   ========================================================================== */

.epp-dual-button {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

/* ── Base button ── */
.epp-dual-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    border: 2px solid transparent;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
    line-height: 1.2;
    white-space: nowrap;
}

.epp-dual-btn:hover {
    transform: translateY(-1px);
}

.epp-dual-btn__icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.epp-dual-btn__icon i  { font-size: 1em; }
.epp-dual-btn__icon svg { width: 1em; height: 1em; }

/* ── Button 1 default (filled) ── */
.epp-dual-btn--1.epp-dual-btn--filled {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}
.epp-dual-btn--1.epp-dual-btn--filled:hover {
    background-color: #1e40af;
    border-color: #1e40af;
}

/* ── Button 2 default (outline) ── */
.epp-dual-btn--2.epp-dual-btn--outline {
    background-color: transparent;
    border-color: #1d4ed8;
    color: #1d4ed8;
}
.epp-dual-btn--2.epp-dual-btn--outline:hover {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}

/* ── Ghost variant ── */
.epp-dual-btn--ghost {
    background: transparent;
    border-color: transparent;
    color: #1d4ed8;
    padding-left: 0;
    padding-right: 0;
}
.epp-dual-btn--ghost:hover {
    text-decoration: underline;
    transform: none;
}

/* ── Divider text ── */
.epp-dual-btn-divider {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
    user-select: none;
    flex-shrink: 0;
}

.epp-dual-btn-divider::before,
.epp-dual-btn-divider::after {
    content: '';
    display: block;
    width: 1px;
    height: 16px;
    background-color: #e5e7eb;
}

/* ── Stack on mobile ── */
@media (max-width: 480px) {
    .epp-dual-button--stack-mobile {
        flex-direction: column;
        align-items: stretch;
    }
    .epp-dual-button--stack-mobile .epp-dual-btn {
        justify-content: center;
        width: 100%;
    }
    .epp-dual-button--stack-mobile .epp-dual-btn--ghost {
        padding-left: 0;
        padding-right: 0;
    }
}
