/**
 * Modal Theme System — v11.2.1
 * 
 * Cung cấp 4 phong cách thiết kế cho Popup chọn gói thuê:
 *   1. rvl-modal-theme-material  — Material Design 3 (Google)
 *   2. rvl-modal-theme-apple     — Apple HIG (iOS/macOS)
 *   3. rvl-modal-theme-developer — ThemeForest Premium (Bold)
 *   4. rvl-modal-theme-viet      — Việt Premium (Recommended)
 * 
 * Default (không class) = thiết kế hiện tại (Bootstrap/Utility).
 * Class được thêm vào #rvl-modal overlay, CSS override cascading xuống.
 */

/* ============================================================
   1. MATERIAL DESIGN 3 — Phong cách Google
   ============================================================ */

/* Overlay */
.rvl-modal-theme-material.rvl-modal-overlay {
    background: rgba(0, 0, 0, 0.32);
}

/* Modal Container */
.rvl-modal-theme-material .rvl-modal {
    border-radius: 16px;
    box-shadow:
        0 1px 3px 0 rgba(0, 0, 0, 0.3),
        0 4px 8px 3px rgba(0, 0, 0, 0.15);
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    box-sizing: border-box;
    margin: auto; /* Fix horizontal centering inside fixed overlay */
}

.rvl-modal-theme-material .rvl-modal * {
    box-sizing: border-box;
}

/* Header — MD3: No separator, transparent bg, large title */
.rvl-modal-theme-material .rvl-modal-header {
    background: transparent;
    border-bottom: none;
    padding: 20px 16px 0 20px; /* Small trick to balance visual weight of the cross button */
    border-radius: 16px 16px 0 0;
}

.rvl-modal-theme-material .rvl-modal-header h3 {
    font-size: 24px;
    font-weight: 400;
    color: #1C1B1F;
    letter-spacing: 0;
    line-height: 1.33;
}

.rvl-modal-theme-material .rvl-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s cubic-bezier(0.2, 0, 0, 1);
    font-size: 1.5em;
    color: #49454F;
    margin-right: -4px; /* Pull the X button slightly to the right to visually align with the blue box below */
}

.rvl-modal-theme-material .rvl-modal-close:hover {
    background-color: rgba(28, 27, 31, 0.08);
}

/* Info Bar */
.rvl-modal-theme-material .rvl-modal-info {
    background: var(--rvl-primary-color, #E8DEF8);
    color: #ffffff;
    border-radius: 8px;
    margin: 16px 20px 0 20px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.1px;
}

/* Body */
.rvl-modal-theme-material .rvl-modal-body {
    padding: 16px 20px 8px 20px;
}

/* Pricing Items — MD3 Outlined Card style */
.rvl-modal-theme-material .rvl-pricing-list label {
    border: 1px solid #79747E;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.rvl-modal-theme-material .rvl-pricing-list label:hover {
    background-color: rgba(var(--rvl-primary-rgb, 103, 80, 164), 0.08) !important;
    border-color: var(--rvl-primary-color, #6750A4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12) !important;
}

.rvl-modal-theme-material .rvl-pricing-list input[type="radio"]:checked + label {
    border-color: var(--rvl-primary-color, #6750A4) !important;
    background-color: rgba(var(--rvl-primary-rgb, 103, 80, 164), 0.08) !important;
    box-shadow: 0 0 0 1px var(--rvl-primary-color, #6750A4), 0 1px 3px rgba(var(--rvl-primary-rgb, 103, 80, 164), 0.3) !important;
}

/* Plan Info — MD3 Typography */
.rvl-modal-theme-material .rvl-plan-duration {
    font-size: 16px;
    font-weight: 500;
    color: #1C1B1F;
    letter-spacing: 0.15px;
}

.rvl-modal-theme-material .rvl-plan-price {
    color: var(--rvl-primary-color, #6750A4);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.15px;
}

.rvl-modal-theme-material .rvl-plan-pph {
    color: #49454F;
    font-size: 12px;
    letter-spacing: 0.4px;
}

/* Email Capture — MD3 Outlined Text Field */
.rvl-modal-theme-material .rvl-email-capture label {
    font-weight: 500;
    font-size: 14px;
    color: #49454F;
    letter-spacing: 0.1px;
}

.rvl-modal-theme-material .rvl-email-capture input {
    border: 1px solid #79747E;
    border-radius: 4px;
    padding: 12px 14px;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rvl-modal-theme-material .rvl-email-capture input:focus {
    border-color: var(--rvl-primary-color, #6750A4) !important;
    box-shadow: none !important;
    outline: none !important;
}

.rvl-modal-theme-material .rvl-email-capture .description {
    font-size: 12px;
    color: #49454F;
    letter-spacing: 0.4px;
}

/* Footer — MD3 Filled Button */
.rvl-modal-theme-material .rvl-modal-footer {
    background: transparent;
    border-top: none;
    padding: 8px 20px 20px 20px;
    border-radius: 0 0 16px 16px;
}

.rvl-modal-theme-material .rvl-modal-footer .rvl-proceed-btn {
    border-radius: 16px !important;
    height: 56px !important;
    line-height: 56px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1px !important;
    text-transform: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) !important;
}

.rvl-modal-theme-material .rvl-modal-footer .rvl-proceed-btn:hover:not(:disabled) {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* Error Container */
.rvl-modal-theme-material .rvl-modal-error-container {
    border-radius: 8px;
    border: 1px solid #B3261E;
    background: #FCEEEE;
    color: #B3261E;
}

/* Badge — MD3 style */
.rvl-modal-theme-material .rvl-badge-label {
    border-radius: 4px;
    font-size: 11px;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Modal animation */
.rvl-modal-theme-material .rvl-modal {
    animation: rvl-modal-material-enter 0.3s cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes rvl-modal-material-enter {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Grid view adjustment for MD3 */
.rvl-modal-theme-material .rvl-pricing-list.rvl-grid-view label {
    min-height: 72px;
}


/* ============================================================
   2. APPLE HIG — Phong cách Apple (iOS / macOS)
   ============================================================ */

/* Overlay — Lighter, Apple style */
.rvl-modal-theme-apple.rvl-modal-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Modal Container — Frosted Glass */
.rvl-modal-theme-apple .rvl-modal {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1),
                0 8px 40px rgba(0, 0, 0, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
    overflow: hidden;
}

/* Fallback for browsers without backdrop-filter */
@supports not (backdrop-filter: blur(1px)) {
    .rvl-modal-theme-apple .rvl-modal {
        background: rgba(255, 255, 255, 0.97);
    }
}

/* Header — Apple: centered title, hairline bottom */
.rvl-modal-theme-apple .rvl-modal-header {
    background: transparent;
    border-bottom: 0.5px solid rgba(60, 60, 67, 0.18);
    padding: 16px 16px;
    justify-content: center;
    position: relative;
    border-radius: 14px 14px 0 0;
}

.rvl-modal-theme-apple .rvl-modal-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.41px;
    text-align: center;
    width: 100%;
    line-height: 1.29;
}

.rvl-modal-theme-apple .rvl-modal-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(60, 60, 67, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    color: rgba(60, 60, 67, 0.6);
    transition: background-color 0.15s ease;
}

.rvl-modal-theme-apple .rvl-modal-close:hover {
    background: rgba(60, 60, 67, 0.15);
    color: rgba(60, 60, 67, 0.8);
}

/* Info Bar — Apple: subtle, pill-like */
.rvl-modal-theme-apple .rvl-modal-info {
    background: rgba(0, 122, 255, 0.06);
    color: #3C3C43;
    font-size: 13px;
    font-weight: 400;
    padding: 10px 16px;
    border-bottom: 0.5px solid rgba(60, 60, 67, 0.18);
}

/* Body */
.rvl-modal-theme-apple .rvl-modal-body {
    padding: 8px 16px 4px 16px;
}

/* Pricing Items — Apple: Row list with hairline separators */
.rvl-modal-theme-apple .rvl-pricing-list label {
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 0.5px solid rgba(60, 60, 67, 0.18) !important;
    padding: 14px 0 !important;
    margin-left: 0;
    transition: background-color 0.15s ease;
}

.rvl-modal-theme-apple .rvl-pricing-list li:last-child label {
    border-bottom: none !important;
}

.rvl-modal-theme-apple .rvl-pricing-list label:hover {
    background-color: rgba(60, 60, 67, 0.04) !important;
    box-shadow: none !important;
}

.rvl-modal-theme-apple .rvl-pricing-list input[type="radio"]:checked + label {
    background-color: rgba(0, 122, 255, 0.06) !important;
    border-color: rgba(60, 60, 67, 0.18) !important;
    box-shadow: none !important;
}

/* Plan Info — Apple Typography */
.rvl-modal-theme-apple .rvl-plan-duration {
    font-size: 17px;
    font-weight: 400;
    color: #000000;
    letter-spacing: -0.41px;
}

.rvl-modal-theme-apple .rvl-plan-price {
    color: #007AFF;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: -0.41px;
}

.rvl-modal-theme-apple .rvl-plan-pph {
    color: #8E8E93;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.08px;
}

/* Grid View override for Apple — List style preferred */
.rvl-modal-theme-apple .rvl-pricing-list.rvl-grid-view {
    display: block !important;
}

.rvl-modal-theme-apple .rvl-pricing-list.rvl-grid-view li {
    margin-bottom: 0 !important;
}

.rvl-modal-theme-apple .rvl-pricing-list.rvl-grid-view label {
    flex-direction: row !important;
    min-height: auto !important;
}

/* Email Capture — Apple: clean input */
.rvl-modal-theme-apple .rvl-email-capture {
    border-top: 0.5px solid rgba(60, 60, 67, 0.18);
}

.rvl-modal-theme-apple .rvl-email-capture label {
    font-weight: 600;
    font-size: 13px;
    color: #3C3C43;
    text-transform: uppercase;
    letter-spacing: -0.08px;
}

.rvl-modal-theme-apple .rvl-email-capture input {
    border: 0.5px solid rgba(60, 60, 67, 0.24);
    border-radius: 10px;
    padding: 11px 16px;
    font-size: 17px;
    letter-spacing: -0.41px;
    background: rgba(118, 118, 128, 0.06);
    transition: border-color 0.15s ease;
}

.rvl-modal-theme-apple .rvl-email-capture input:focus {
    border-color: #007AFF !important;
    box-shadow: 0 0 0 3.5px rgba(0, 122, 255, 0.25) !important;
    outline: none !important;
    background: #fff;
}

.rvl-modal-theme-apple .rvl-email-capture .description {
    font-size: 13px;
    color: #8E8E93;
    letter-spacing: -0.08px;
}

/* Footer — Apple */
.rvl-modal-theme-apple .rvl-modal-footer {
    background: transparent;
    border-top: 0.5px solid rgba(60, 60, 67, 0.18);
    padding: 12px 16px 16px 16px;
    border-radius: 0 0 14px 14px;
}

.rvl-modal-theme-apple .rvl-modal-footer .rvl-proceed-btn {
    border-radius: 12px !important;
    height: 50px !important;
    line-height: 50px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: -0.41px !important;
    background: #007AFF !important;
    box-shadow: none !important;
}

.rvl-modal-theme-apple .rvl-modal-footer .rvl-proceed-btn:hover:not(:disabled) {
    background: #0071E3 !important;
}

.rvl-modal-theme-apple .rvl-modal-footer .rvl-proceed-btn:active:not(:disabled) {
    transform: scale(0.98) !important;
    background: #0062CC !important;
}

/* Error Container — Apple */
.rvl-modal-theme-apple .rvl-modal-error-container {
    border-radius: 10px;
    border: none;
    background: rgba(255, 59, 48, 0.08);
    color: #FF3B30;
}

/* Badge — Apple style */
.rvl-modal-theme-apple .rvl-badge-label {
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: -0.08px;
}

/* Modal animation — Apple Spring */
.rvl-modal-theme-apple .rvl-modal {
    animation: rvl-modal-apple-enter 0.4s cubic-bezier(0.32, 0.72, 0, 1) forwards;
}

@keyframes rvl-modal-apple-enter {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ============================================================
   3. THEMEFOREST PREMIUM — Phong cách Bold / Developer
   ============================================================ */

/* Overlay — Deeper */
.rvl-modal-theme-developer.rvl-modal-overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Modal Container */
.rvl-modal-theme-developer .rvl-modal {
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    background: #fff;
}

/* Header — Dark gradient */
.rvl-modal-theme-developer .rvl-modal-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-bottom: none;
    padding: 20px 24px;
    border-radius: 16px 16px 0 0;
}

.rvl-modal-theme-developer .rvl-modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

.rvl-modal-theme-developer .rvl-modal-close {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.6em;
    transition: color 0.2s ease;
}

.rvl-modal-theme-developer .rvl-modal-close:hover {
    color: #ffffff;
}

/* Info Bar — Accent strip */
.rvl-modal-theme-developer .rvl-modal-info {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.08), rgba(15, 52, 96, 0.08));
    color: #1a1a2e;
    border-bottom: 2px solid rgba(233, 69, 96, 0.15);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    letter-spacing: -0.2px;
}

/* Body */
.rvl-modal-theme-developer .rvl-modal-body {
    padding: 20px 24px 8px 24px;
}

/* Pricing Items — Premium cards */
.rvl-modal-theme-developer .rvl-pricing-list label {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative !important;
}

.rvl-modal-theme-developer .rvl-pricing-list label:hover {
    border-color: #e94560 !important;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.15) !important;
    background-color: rgba(233, 69, 96, 0.02) !important;
}

.rvl-modal-theme-developer .rvl-pricing-list input[type="radio"]:checked + label {
    border-color: transparent !important;
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, #e94560, #0f3460) border-box !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.2) !important;
}

/* Plan Info — Bold Typography */
.rvl-modal-theme-developer .rvl-plan-duration {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.3px;
}

.rvl-modal-theme-developer .rvl-plan-price {
    color: #e94560;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.rvl-modal-theme-developer .rvl-plan-pph {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

/* Email Capture — Premium styled */
.rvl-modal-theme-developer .rvl-email-capture label {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
    letter-spacing: -0.2px;
}

.rvl-modal-theme-developer .rvl-email-capture input {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.25s ease;
    background: #fafafa;
}

.rvl-modal-theme-developer .rvl-email-capture input:focus {
    border-color: #e94560 !important;
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.12) !important;
    outline: none !important;
    background: #fff;
}

.rvl-modal-theme-developer .rvl-email-capture .description {
    font-size: 13px;
    color: #6b7280;
}

/* Footer — Gradient CTA */
.rvl-modal-theme-developer .rvl-modal-footer {
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    padding: 16px 24px 24px 24px;
    border-radius: 0 0 16px 16px;
}

.rvl-modal-theme-developer .rvl-modal-footer .rvl-proceed-btn {
    background: linear-gradient(135deg, #e94560 0%, #c62828 100%) !important;
    border-radius: 12px !important;
    height: 52px !important;
    line-height: 52px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3) !important;
    transition: all 0.25s ease !important;
}

.rvl-modal-theme-developer .rvl-modal-footer .rvl-proceed-btn:hover:not(:disabled) {
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4) !important;
    transform: translateY(-1px) !important;
}

.rvl-modal-theme-developer .rvl-modal-footer .rvl-proceed-btn:active:not(:disabled) {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 10px rgba(233, 69, 96, 0.3) !important;
}

/* Override the shine effect to match gradient button */
.rvl-modal-theme-developer .rvl-modal-footer .rvl-proceed-btn:not(:disabled)::after {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* Error Container — ThemeForest */
.rvl-modal-theme-developer .rvl-modal-error-container {
    border-radius: 10px;
    border: 1px solid #fca5a5;
    background: #fef2f2;
    color: #991b1b;
}

/* Badge — Premium Ribbon-like */
.rvl-modal-theme-developer .rvl-badge-label {
    border-radius: 4px 4px 4px 0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* Modal animation — Scale + Bounce */
.rvl-modal-theme-developer .rvl-modal {
    animation: rvl-modal-developer-enter 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes rvl-modal-developer-enter {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Grid View fine-tune for Developer theme */
.rvl-modal-theme-developer .rvl-pricing-list.rvl-grid-view label {
    min-height: 72px;
}

/* Promo message style override */
.rvl-modal-theme-developer .rvl-promo-message-container > div {
    border-radius: 10px !important;
}

.rvl-modal-theme-apple .rvl-promo-message-container > div {
    border-radius: 10px !important;
    border-style: solid !important;
    border-width: 0.5px !important;
}

.rvl-modal-theme-material .rvl-promo-message-container > div {
    border-radius: 12px !important;
}


/* ============================================================
   4. VIỆT PREMIUM — Phong cách tối ưu chuyển đổi thị trường VN
   ============================================================
   Triết lý:
   - Giữ layout quen thuộc của Default (không gây lạ lẫm)
   - Thêm điểm nhấn màu cam-đỏ ấm (#E63946) — màu tâm lý mua hàng VN
   - Card list rõ ràng, tick xanh lá khi chọn (trust builder)
   - Header có underline accent gọn gàng thay vì dark gradient
   - CTA button gradient ấm + shine effect = urgency không rối mắt
   - Typography Inter — modern, dễ đọc trên mọi màn hình
   ============================================================ */

/* Overlay */
.rvl-modal-theme-viet.rvl-modal-overlay {
    background: rgba(0, 0, 0, 0.55);
}

/* Modal Container */
.rvl-modal-theme-viet .rvl-modal {
    border-radius: 12px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.12),
        0 16px 40px rgba(0, 0, 0, 0.18);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Header — Clean white, accent underline bên trái */
.rvl-modal-theme-viet .rvl-modal-header {
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
}

.rvl-modal-theme-viet .rvl-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
    line-height: 1.3;
    padding-left: 10px;
    border-left: 3px solid #E63946;
}

.rvl-modal-theme-viet .rvl-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    color: #9ca3af;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.rvl-modal-theme-viet .rvl-modal-close:hover {
    background-color: #f5f5f5;
    color: #374151;
}

/* Info Bar — Accent nhẹ, border-left đỏ cam */
.rvl-modal-theme-viet .rvl-modal-info {
    background: #fff8f8;
    color: #333;
    border-left: 3px solid #E63946;
    border-bottom: 1px solid #fde8e8;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    letter-spacing: -0.1px;
}

/* Body */
.rvl-modal-theme-viet .rvl-modal-body {
    padding: 14px 20px 6px 20px;
}

/* Pricing Items — Card clean, border rõ, hover lift nhẹ */
.rvl-modal-theme-viet .rvl-pricing-list label {
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 13px 15px;
    transition: all 0.2s ease;
    background: #fafafa;
}

.rvl-modal-theme-viet .rvl-pricing-list label:hover {
    border-color: #E63946 !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* Selected — border đỏ cam + tick xanh lá (trust signal) */
.rvl-modal-theme-viet .rvl-pricing-list input[type="radio"]:checked + label {
    border-color: #E63946 !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1), 0 4px 14px rgba(230, 57, 70, 0.08) !important;
}

/* Plan Info — Typography sắc nét */
.rvl-modal-theme-viet .rvl-plan-duration {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    letter-spacing: -0.2px;
}

.rvl-modal-theme-viet .rvl-plan-price {
    color: #E63946;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.3px;
}

.rvl-modal-theme-viet .rvl-plan-pph {
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
}

/* Email Capture */
.rvl-modal-theme-viet .rvl-email-capture label {
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    letter-spacing: -0.1px;
}

.rvl-modal-theme-viet .rvl-email-capture input {
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 15px;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.rvl-modal-theme-viet .rvl-email-capture input:focus {
    border-color: #E63946 !important;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12) !important;
    outline: none !important;
    background: #fff;
}

.rvl-modal-theme-viet .rvl-email-capture .description {
    font-size: 12px;
    color: #9ca3af;
}

/* Footer — CTA gradient ấm, nổi bật không rối mắt */
.rvl-modal-theme-viet .rvl-modal-footer {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 14px 20px 20px 20px;
    border-radius: 0 0 12px 12px;
}

.rvl-modal-theme-viet .rvl-modal-footer .rvl-proceed-btn {
    background: linear-gradient(135deg, #E63946 0%, #c1121f 100%) !important;
    border-radius: 10px !important;
    height: 50px !important;
    line-height: 50px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.35) !important;
    transition: all 0.22s ease !important;
}

.rvl-modal-theme-viet .rvl-modal-footer .rvl-proceed-btn:hover:not(:disabled) {
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45) !important;
    transform: translateY(-1px) !important;
}

.rvl-modal-theme-viet .rvl-modal-footer .rvl-proceed-btn:active:not(:disabled) {
    transform: translateY(1px) !important;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3) !important;
}

/* Shine effect kế thừa từ default — tăng tốc độ nhẹ hơn */
.rvl-modal-theme-viet .rvl-modal-footer .rvl-proceed-btn:not(:disabled)::after {
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
}

/* Error Container */
.rvl-modal-theme-viet .rvl-modal-error-container {
    border-radius: 8px;
    border: 1px solid #fca5a5;
    background: #fef2f2;
    color: #b91c1c;
}

/* Badge — Clean pill, không rối */
.rvl-modal-theme-viet .rvl-badge-label {
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

/* Modal animation — Slide up nhẹ (giữ quen thuộc như default) */
.rvl-modal-theme-viet .rvl-modal {
    animation: rvl-modal-viet-enter 0.28s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes rvl-modal-viet-enter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Grid view */
.rvl-modal-theme-viet .rvl-pricing-list.rvl-grid-view label {
    min-height: 70px;
    background: #fafafa;
}

/* Promo message */
.rvl-modal-theme-viet .rvl-promo-message-container > div {
    border-radius: 8px !important;
    border-left: 3px solid #E63946 !important;
}
