/**
 * Wise Checkout & Thank You Page Styles
 */

.vf-wise-card {
    background: #ffffff;
    border: 2px solid #e2ebd8;
    border-radius: 16px;
    padding: 24px;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(22, 51, 0, 0.06);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #163300;
}

.vf-wise-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf4e8;
    padding-bottom: 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.vf-wise-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vf-wise-svg {
    height: 32px;
    width: auto;
    display: block;
}

.vf-wise-badge {
    background: #eafae5;
    color: #1b5e20;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    border: 1px solid #c8e6c9;
}

.vf-wise-amount-wrap {
    text-align: right;
}

.vf-wise-amount-label {
    display: block;
    font-size: 12px;
    color: #667e58;
    text-transform: uppercase;
    font-weight: 600;
}

.vf-wise-amount-val {
    font-size: 24px;
    font-weight: 800;
    color: #163300;
    line-height: 1.2;
}

/* =========================================================
   HERO CTA: Instant Online Pay with Wise
   ========================================================= */
.vf-wise-hero-cta {
    background: linear-gradient(135deg, #163300 0%, #0d2000 100%);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 24px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: 0 8px 24px rgba(22, 51, 0, 0.22);
}

.vf-wise-hero-badge {
    display: inline-block;
    background: #9fe870;
    color: #163300;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.vf-wise-hero-title {
    margin: 0 0 4px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
}

.vf-wise-hero-desc {
    margin: 0 0 12px;
    color: #c9dec0;
    font-size: 13px;
}

.vf-wise-payment-methods-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vf-wise-pm-tag {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f1f8ed;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.vf-wise-hero-action {
    text-align: center;
    flex-shrink: 0;
}

.vf-wise-pay-now-btn {
    display: inline-block;
    background: #9fe870;
    color: #163300 !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(159, 232, 112, 0.4);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.vf-wise-pay-now-btn:hover {
    background: #b8f294;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(159, 232, 112, 0.6);
}

.vf-wise-popup-hint {
    display: block;
    margin-top: 8px;
    color: #8da482;
    font-size: 11px;
}

/* Divider */
.vf-wise-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0 20px;
}

.vf-wise-divider::before,
.vf-wise-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #dbe6d4;
}

.vf-wise-divider span {
    padding: 0 14px;
    font-size: 11px;
    font-weight: 700;
    color: #7a946e;
    letter-spacing: 0.5px;
}

/* Notice Box */
.vf-wise-notice-box {
    background: #fbfdf9;
    border: 1.5px dashed #9fe870;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.vf-wise-notice-icon {
    font-size: 24px;
    line-height: 1;
}

.vf-wise-notice-text {
    flex: 1;
}

.vf-wise-notice-text strong {
    display: block;
    font-size: 14px;
    color: #163300;
    margin-bottom: 8px;
}

.vf-wise-ref-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.vf-wise-ref-code {
    background: #163300;
    color: #9fe870;
    font-size: 18px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 1px;
    font-family: 'Consolas', 'Courier New', monospace;
}

.vf-wise-copy-btn {
    background: #9fe870;
    color: #163300;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vf-wise-copy-btn:hover {
    background: #84db52;
    transform: translateY(-1px);
}

.vf-wise-notice-text small {
    display: block;
    color: #557046;
    font-size: 12px;
}

/* Tabs */
.vf-wise-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    border-bottom: 2px solid #edf4e8;
    padding-bottom: 8px;
}

.vf-wise-tab-btn {
    background: #f4f8f0;
    border: 1px solid #d8e6ce;
    color: #445938;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vf-wise-tab-btn:hover {
    background: #eaf3e3;
    color: #163300;
}

.vf-wise-tab-btn.active {
    background: #163300;
    color: #9fe870;
    border-color: #163300;
}

/* Panels */
.vf-wise-panel {
    display: none;
}

.vf-wise-panel.active {
    display: block;
}

.vf-wise-detail-grid {
    display: grid;
    gap: 12px;
    background: #fbfdfa;
    border: 1px solid #e8f0e2;
    border-radius: 12px;
    padding: 16px 20px;
}

.vf-wise-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf4e8;
    padding-bottom: 10px;
    font-size: 13.5px;
    flex-wrap: wrap;
    gap: 8px;
}

.vf-wise-detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vf-wise-label {
    color: #5d7550;
    font-weight: 500;
}

.vf-wise-value-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vf-wise-value-group code {
    background: #edf4e8;
    padding: 3px 8px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 700;
    color: #163300;
}

.vf-wise-btn-sm {
    background: #ffffff;
    border: 1px solid #c9dec0;
    color: #163300;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.vf-wise-btn-sm:hover {
    background: #9fe870;
    border-color: #9fe870;
}

.vf-wise-extra-instructions {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #edf4e8;
    font-size: 12px;
    color: #6d8560;
    text-align: center;
}

/* Toast */
.vf-wise-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #163300;
    color: #9fe870;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 24px rgba(0,0,0,0.2);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 999999;
    pointer-events: none;
}

.vf-wise-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
