/* VIP Membership Page Styles */
.vip-wrapper {
    padding: 20px 40px;
    font-family: "Vazir", "DanaFaNum", sans-serif;
    color: #fff;
    min-height: calc(100vh - 80px);
    max-width: 1000px;
    margin: 0 auto;
    direction: rtl;
}

.vip-crown-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFD700, #F59E0B);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
    margin-bottom: 15px;
    color: #fff;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.vip-hero-title {
    font-size: 20px;
    margin-bottom: 10px;
    background: linear-gradient(to right, #ffffff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'IRANYekanX';
    font-weight: 900;
}

.vip-hero-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-bottom: 20px;
}

.vip-hero-glow {
    position: absolute;
    width: 250px;
    height: 100px;
    background: #F59E0B;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(100px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.vip-hero-section {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.vip-hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.vip-feature-chip {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.vip-feature-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(245, 158, 11, 0.3);
}

.vip-feature-chip i {
    margin-left: 8px;
    font-size: 14px;
    color: #F59E0B;
}

.vip-dashboard-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.vip-status-box {
    flex: 1;
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.vip-status-box:hover {
    transform: translateY(-2px);
}

.vip-status-box.active {
    background: linear-gradient(135deg, #10B981, #059669);
}

.vip-status-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.vip-watermark-icon {
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 100px;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.vip-status-content {
    display: flex;
    flex-direction: column;
    z-index: 1;
    flex: 1;
}

.vip-status-text-group {
    margin-bottom: 2px;
}

.vip-status-subtext {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-weight: 300;
}

.dark-glass-box {
    border-color: rgba(255, 255, 255, 0.1);
}

.vip-progress-bar-container {
    height: 4px;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-top: 10px;
    overflow: hidden;
}

.vip-progress-bar-fill {
    height: 100%;
    background: #F59E0B;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.gold-icon i {
    color: #F59E0B;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4));
}

.vip-status-text {
    font-size: 16px;
    font-weight: 700;
}

.vip-days-text {
    font-size: 39px;
    font-weight: 700;
    color: #F59E0B;
    margin: 7px;
}

.vip-days-text span {
    font-size: 12px;
    font-weight: 400;
}

.vip-status-icon {
    font-size: 30px;
    color: rgba(255, 255, 255, 0.2);
}

.vip-section-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #f1f5f9;
}

.vip-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.vip-plan-card {
    border-radius: 24px;
    padding: 15px 20px;
    border: 1px solid rgb(255 255 255 / 18%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.vip-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.1);
}

.vip-plan-card.best-value {
    border: 2px solid #F59E0B;
    background: linear-gradient(to bottom, #2d261e, #1F2937);
}

.vip-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg, #F59E0B, #D97706);
    color: #fff;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 700;
    border-bottom-left-radius: 15px;
    box-shadow: 2px 2px 10px rgba(245, 158, 11, 0.3);
    right: 0;
    left: auto;
}

.vip-plan-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.vip-plan-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-left: 12px;
}

.vip-plan-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.vip-plan-subname {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.vip-price-section {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.vip-price-amount {
    font-size: 24px;
    font-weight: 700;
    margin-left: 6px;
}

.vip-price-currency {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.vip-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 15px 0;
}

.vip-plan-detail {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.vip-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #304FFE, #536DFE);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    transition: opacity 0.3s;
    border: none;
    cursor: pointer;
    width: 100%;
}

.vip-buy-button:hover {
    opacity: 0.9;
}

.vip-plan-card.best-value .vip-buy-button {
    background: linear-gradient(135deg, #F59E0B, #D97706);
}

.vip-buy-button i {
    margin-left: 8px;
}

/* VIP Modal Base Styles */
.vip-modal-body {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vip-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #F59E0B;
    margin-bottom: 15px;
}

.vip-modal-icon.blue-bg {
    background: rgba(59, 130, 246, 0.12);
    color: #3B82F6;
}

.vip-modal-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.vip-modal-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 380px;
}

/* Phone Warning Banner */
.phone-warning-banner {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.phone-warning-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.phone-warning-icon-bg {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #F59E0B;
    flex-shrink: 0;
}

.phone-warning-text-container {
    flex: 1;
}

.phone-warning-title {
    font-size: 14px;
    font-weight: 700;
    color: #F59E0B;
    margin: 0 0 4px 0;
}

.phone-warning-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 300;
}

.phone-verify-action-btn {
    background: #F59E0B;
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.phone-verify-action-btn:hover {
    background: #d97706;
    transform: translateY(-1px);
}

/* Phone Input Form & Verification Modal Styles */
.phone-input-container {
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 10px 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.phone-input-container:focus-within {
    border-color: #3B82F6;
    background: rgba(255, 255, 255, 0.08);
}

.phone-input-container i {
    color: #9CA3AF;
    font-size: 16px;
    margin-left: 12px;
}

.phone-text-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    direction: ltr;
    text-align: left;
}

.phone-text-input.code-input {
    letter-spacing: 6px;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.phone-text-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: normal;
    font-size: 13px;
}

.change-phone-link {
    background: transparent;
    border: none;
    color: #3B82F6;
    font-size: 12px;
    cursor: pointer;
    margin-bottom: 16px;
    text-decoration: underline;
}

/* Plan Summary Box inside Payment Modal */
.vip-plan-summary-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.vip-plan-summary-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.vip-plan-summary-price {
    font-size: 15px;
    color: #F59E0B;
    font-weight: 800;
}

/* Payment Method Cards */
.payment-method-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    align-self: flex-start;
    margin-bottom: 10px;
    font-weight: 700;
}

.payment-method-card {
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-method-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.payment-method-card.active-direct {
    border-color: #3B82F6;
    background: rgba(59, 130, 246, 0.1);
}

.payment-method-card.active-wallet {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.payment-method-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #9CA3AF;
    margin-left: 12px;
    flex-shrink: 0;
}

.payment-method-card.active-direct .payment-method-icon-box {
    background: rgba(59, 130, 246, 0.2);
    color: #3B82F6;
}

.payment-method-card.active-wallet .payment-method-icon-box {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

.payment-method-info {
    flex: 1;
    text-align: right;
}

.payment-method-title {
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2px;
}

.payment-method-card.active-direct .payment-method-title,
.payment-method-card.active-wallet .payment-method-title {
    color: #ffffff;
}

.payment-method-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

.radio-circle-outer {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
}

.radio-circle-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.active-direct .radio-circle-inner {
    background: #3B82F6;
}

.active-wallet .radio-circle-inner {
    background: #10B981;
}

.active-direct .radio-circle-outer {
    border-color: #3B82F6;
}

.active-wallet .radio-circle-outer {
    border-color: #10B981;
}

.vip-warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
}

.vip-warning-text {
    color: #F59E0B;
    font-size: 13px;
    line-height: 1.6;
}

.vip-modal-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.vip-btn-cancel {
    flex: 1;
    padding: 13px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 13.5px;
    transition: background 0.3s;
}

.vip-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.vip-btn-confirm {
    flex: 1.4;
    padding: 13px;
    border-radius: 12px;
    background: #304FFE;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 13.5px;
    transition: background 0.3s;
}

.vip-btn-confirm.wallet-btn {
    background: #10B981;
}

.vip-btn-confirm.wallet-btn:hover {
    background: #059669;
}

.vip-btn-confirm:hover {
    background: #1A237E;
}

.vip-success-icon-bg {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 230, 118, 0.1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    font-size: 32px;
    color: #00E676;
}

.vip-btn-close {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: #fff;
    color: #000;
    border: none;
    cursor: pointer;
    font-weight: 700;
    margin-top: 25px;
    transition: background 0.3s;
}

.vip-btn-close:hover {
    background: #e2e8f0;
}

/* Enlarged Modal Card for VIP Section */
.vip-modal-container .popup-unlock {
    width: 480px !important;
    max-width: 92vw !important;
}

.vip-modal-container .unlock__body {
    background-color: #1a2233 !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
    padding: 8px 12px !important;
}

/* Phone Error Alert Banner inside Modal */
.phone-error-alert {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 14px;
    color: #fca5a5;
    font-size: 13px;
    font-weight: 500;
    text-align: right;
    animation: fadeInError 0.3s ease;
}

.phone-error-alert i {
    color: #ef4444;
    font-size: 16px;
    flex-shrink: 0;
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Payment Waiting Banner Styles */
.payment-waiting-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(147, 51, 234, 0.12));
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 18px;
    padding: 16px 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    animation: pulseBorder 2.5s infinite ease-in-out;
}

@keyframes pulseBorder {
    0% { border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 0 0 rgba(59, 130, 246, 0); }
    50% { border-color: rgba(59, 130, 246, 0.7); box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); }
    100% { border-color: rgba(59, 130, 246, 0.35); box-shadow: 0 0 0 rgba(59, 130, 246, 0); }
}

.payment-waiting-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.payment-waiting-icon-bg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #60A5FA;
    flex-shrink: 0;
}

.payment-waiting-text-container {
    flex: 1;
}

.payment-waiting-title {
    font-size: 14px;
    font-weight: 700;
    color: #60A5FA;
    margin: 0 0 4px 0;
}

.payment-waiting-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 300;
}

.payment-waiting-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.payment-check-btn {
    background: #3B82F6;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 9px 16px;
    font-weight: 700;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-check-btn:hover {
    background: #2563EB;
    transform: translateY(-1px);
}

.payment-check-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.payment-cancel-btn {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 9px 14px;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.payment-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}



