/* NXW LMS VIP & Single Book Access Control Styles */
.nxw-vip-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 21, 48, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 16px;
    box-sizing: border-box;
}

.nxw-vip-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nxw-vip-modal-card {
    background: #0d1838;
    border: 1px solid rgba(201, 162, 39, 0.4);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 35px rgba(201, 162, 39, 0.15);
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 32px;
    color: #e6eaf2;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.nxw-vip-modal-overlay.active .nxw-vip-modal-card {
    transform: scale(1);
}

.nxw-vip-close {
    position: absolute;
    top: 16px;
    right: 18px;
    background: transparent;
    border: none;
    color: #a9b4c6;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s;
}

.nxw-vip-close:hover {
    color: #C9A227;
}

.nxw-vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.2), rgba(232, 187, 67, 0.05));
    border: 1px solid #C9A227;
    color: #E8BB43;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.nxw-vip-title {
    font-family: Georgia, Cambria, serif;
    font-size: 26px;
    color: #FFFFFF;
    margin: 0 0 10px;
    line-height: 1.3;
}

.nxw-vip-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #A9B4C6;
    margin: 0 0 24px;
}

/* 2-Option Pricing Grid */
.nxw-opt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
    text-align: left;
}

@media (max-width: 600px) {
    .nxw-opt-grid {
        grid-template-columns: 1fr;
    }
}

.nxw-opt-box {
    background: rgba(16, 32, 70, 0.7);
    border: 1px solid rgba(220, 227, 236, 0.15);
    border-radius: 12px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s, border-color 0.2s;
}

.nxw-opt-box:hover {
    transform: translateY(-3px);
}

.nxw-opt-box.featured {
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.12) 0%, rgba(16, 32, 70, 0.9) 100%);
    border: 1.5px solid #C9A227;
    box-shadow: 0 8px 25px rgba(201, 162, 39, 0.2);
}

.nxw-opt-tag {
    position: absolute;
    top: -11px;
    right: 14px;
    background: #C9A227;
    color: #0B2545;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nxw-opt-header h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #FFFFFF;
    font-weight: 700;
}

.nxw-opt-price {
    font-size: 22px;
    font-weight: 800;
    color: #E8BB43;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.nxw-opt-price small {
    font-size: 12px;
    color: #A9B4C6;
    font-weight: normal;
}

.nxw-opt-list {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: #DCE3EC;
    flex-grow: 1;
}

.nxw-opt-list li {
    margin: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.nxw-opt-list li::before {
    content: "✔";
    color: #E8BB43;
    font-weight: bold;
    flex-shrink: 0;
}

.nxw-btn-opt-gold {
    background: linear-gradient(135deg, #C9A227, #E8BB43);
    color: #0B2545 !important;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.nxw-btn-opt-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(201, 162, 39, 0.45);
}

.nxw-btn-opt-silver {
    background: rgba(220, 227, 236, 0.1);
    color: #FFFFFF !important;
    border: 1px solid rgba(220, 227, 236, 0.3);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.nxw-btn-opt-silver:hover {
    background: rgba(220, 227, 236, 0.2);
    border-color: #FFFFFF;
}

/* Login Toggle Footer */
.nxw-vip-footer-links {
    margin-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 14px;
}

.nxw-btn-toggle-login {
    background: transparent;
    border: none;
    color: #A9B4C6;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}

.nxw-btn-toggle-login:hover {
    color: #E8BB43;
}

/* Ajax Login Box */
.nxw-vip-login-form {
    display: none;
    text-align: left;
    margin-top: 16px;
    padding: 16px;
    background: rgba(11, 37, 69, 0.8);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 8px;
}

.nxw-vip-login-form.active {
    display: block;
}

.nxw-vip-input-group {
    margin-bottom: 12px;
}

.nxw-vip-input-group label {
    display: block;
    font-size: 12px;
    color: #A9B4C6;
    margin-bottom: 4px;
    font-weight: 600;
}

.nxw-vip-input-group input {
    width: 100%;
    padding: 9px 12px;
    border-radius: 6px;
    background: rgba(8, 20, 48, 0.9);
    border: 1px solid rgba(201, 162, 39, 0.3);
    color: #FFFFFF;
    font-size: 13px;
    box-sizing: border-box;
}

.nxw-vip-input-group input:focus {
    border-color: #E8BB43;
    outline: none;
    box-shadow: 0 0 8px rgba(232, 187, 67, 0.25);
}

.nxw-vip-msg {
    font-size: 12px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
}

.nxw-vip-msg.error {
    display: block;
    background: rgba(234, 57, 67, 0.15);
    border: 1px solid #EA3943;
    color: #FFA5A8;
}

.nxw-vip-msg.success {
    display: block;
    background: rgba(58, 154, 122, 0.2);
    border: 1px solid #3A9A7A;
    color: #A3E7CA;
}