/* ============================================
   STYLE.CSS - Cocopredict Pricing Page
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f5f5f5;
    color: #333333;
    min-height: 100vh;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- COLOR VARIABLES ---------- */
:root {
    --bg-primary: #f5f5f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #888888;
    --navy: #13152B;
    --navy-light: #18192D;
    --purple: #4B3B60;
    --purple-light: #493B5E;
    --lime: #A2D819;
    --lime-dark: #8CB815;
    --green: #1E8535;
    --green-dark: #166A29;
    --violet: #6C2BD9;
    --violet-light: #7C3AED;
    --gold: #f5b342;
    --gold-dark: #d4942e;
    --grey: #888888;
    --grey-light: #e8e8e8;
    --border: #e0e0e0;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 24px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* ---------- HEADER ---------- */
.header {
    background: var(--navy);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.logo-highlight {
    color: var(--violet);
}

.logo a {
    color: #ffffff;
    transition: var(--transition);
}
.logo a:hover {
    color: var(--violet-light);
}

/* ---------- NAVIGATION ---------- */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/* ---------- HEADER ACTIONS ---------- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-login-nav {
    padding: 8px 20px;
    background: var(--violet);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-login-nav:hover {
    background: var(--violet-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(108, 43, 217, 0.3);
}

.btn-signup-nav {
    padding: 8px 20px;
    background: var(--green);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    border-radius: 50px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-signup-nav:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(30, 133, 53, 0.3);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
}

/* ---------- PRICING SECTION ---------- */
.pricing-section {
    padding: 20px 0 50px;
    min-height: calc(100vh - 70px - 300px);
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------- PAGE HEADER ---------- */
.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 4px;
}

/* ---------- BACK ARROW ---------- */
.back-to-home {
    text-align: left;
    margin-bottom: 16px;
}

.back-arrow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 40px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.back-arrow-btn:hover {
    background: #e2e8f0;
}

/* ---------- COUNTRY SELECTION ---------- */
.country-selection-wrapper {
    margin-bottom: 20px;
}

.no-country-message {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border);
    margin-bottom: 20px;
}

.no-country-message i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: block;
}

.no-country-message h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.no-country-message p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-select-country {
    padding: 10px 32px;
    background: var(--violet);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-select-country:hover {
    background: var(--violet-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(108, 43, 217, 0.3);
}

.selected-country-wrapper {
    display: none !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.selected-country-wrapper.active {
    display: flex !important;
}

.selected-country-display {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #ffffff;
    border: 2px solid var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.selected-country-display:hover {
    border-color: var(--violet);
    box-shadow: var(--shadow-hover);
}

.selected-country-display .country-flag {
    font-size: 1.4rem;
}

.selected-country-display .country-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.selected-country-display i {
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: var(--transition);
}

.selected-country-display:hover i {
    color: var(--violet);
}

.change-country-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: transparent;
    border: 1px dashed var(--border);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.change-country-btn:hover {
    border-color: var(--violet);
    color: var(--violet);
}

/* ---------- BILLING TABS ---------- */
.billing-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.billing-tab {
    padding: 10px 28px;
    border: 2px solid var(--border);
    border-radius: 50px;
    background: white;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.billing-tab:hover {
    border-color: var(--violet);
    color: var(--violet);
}

.billing-tab.active {
    background: var(--violet);
    color: white;
    border-color: var(--violet);
}

/* ---------- VIP PLANS ---------- */
.vip-plans-section {
    margin-top: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.vip-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.vip-plan-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    padding: 24px 20px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
}

.vip-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.vip-plan-card.selected {
    border-color: var(--violet);
    background: rgba(108, 43, 217, 0.03);
}

.vip-plan-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--violet);
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.vip-plan-card .vip-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.vip-plan-card .vip-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--violet);
    margin: 8px 0;
}

.vip-plan-card .vip-price .vip-period {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.vip-plan-card .vip-badge {
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 50px;
    background: rgba(30, 133, 53, 0.12);
    color: var(--green);
    margin: 4px 0 8px;
    display: inline-block;
}

.vip-plan-card .vip-badge.all-access {
    background: rgba(245, 179, 66, 0.15);
    color: var(--gold-dark);
}

.vip-plan-card .vip-select-btn {
    width: 100%;
    padding: 10px;
    background: #f8fafc;
    color: var(--text-secondary);
    border: 1.5px solid var(--border);
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 12px;
}

.vip-plan-card .vip-select-btn:hover {
    background: #f1f5f9;
    border-color: var(--violet);
    color: var(--violet);
}

.vip-plan-card .vip-select-btn.selected {
    background: var(--violet);
    color: #ffffff;
    border-color: var(--violet);
}

.vip-plan-card.all-access-card {
    border-color: var(--gold);
    background: rgba(245, 179, 66, 0.03);
}

.vip-plan-card.all-access-card .vip-name {
    color: var(--gold-dark);
}

/* ---------- FAQ SECTION ---------- */
.faq-section {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 32px;
    box-shadow: var(--shadow);
    margin-top: 32px;
}

.faq-section h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    margin-bottom: 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--navy);
}

.faq-question:hover {
    background: rgba(108, 43, 217, 0.03);
}

.faq-question i {
    transition: var(--transition);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 18px 14px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

/* ---------- MODAL OVERLAY ---------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: var(--radius-lg);
    max-width: 520px;
    width: 90%;
    padding: 28px;
    animation: modalSlideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-header h3 i {
    color: var(--violet);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.modal-body {
    margin-bottom: 16px;
}

/* ---------- BOTTOM SHEET ---------- */
.sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.sheet-overlay.open {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
}

.bottom-sheet.open {
    transform: translateY(0);
}

/* ---------- COUNTRY MODAL ---------- */
.country-modal {
    max-width: 480px;
}

.country-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f5f5f5;
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.country-search-box i {
    color: var(--text-muted);
}

.country-search-box input {
    border: none;
    background: none;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    width: 100%;
    outline: none;
}

.country-list-modal {
    max-height: 350px;
    overflow-y: auto;
}

.country-list-modal::-webkit-scrollbar {
    width: 4px;
}

.country-list-modal::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.country-list-modal::-webkit-scrollbar-thumb {
    background: var(--violet);
    border-radius: 4px;
}

.country-option-modal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.country-option-modal:hover {
    background: rgba(108, 43, 217, 0.05);
}

.country-option-modal .flag {
    font-size: 1.2rem;
}

.country-option-modal .name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.country-option-modal .currency {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.country-option-modal.selected {
    background: rgba(108, 43, 217, 0.08);
    border: 1px solid var(--violet);
}

.no-countries {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ---------- COUNTRY BOTTOM SHEET ---------- */
.country-sheet {
    max-height: 80vh;
}

.country-sheet .sheet-container {
    padding: 0 20px 20px;
    max-height: 80vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sheet-handle {
    width: 40px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    margin: 10px auto 0;
    flex-shrink: 0;
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
    flex-shrink: 0;
}

.sheet-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
}

.sheet-header h3 i {
    margin-right: 8px;
}

.sheet-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheet-close:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.sheet-search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f5f5f5;
    border-radius: var(--radius);
    margin: 8px 0 12px;
    flex-shrink: 0;
}

.sheet-search i {
    color: var(--text-muted);
}

.sheet-search input {
    border: none;
    background: none;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    width: 100%;
    outline: none;
}

.country-sheet .sheet-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.country-sheet .sheet-body::-webkit-scrollbar {
    width: 4px;
}

.country-sheet .sheet-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.country-sheet .sheet-body::-webkit-scrollbar-thumb {
    background: var(--violet);
    border-radius: 4px;
}

.country-sheet-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.country-sheet-option:hover {
    background: rgba(108, 43, 217, 0.05);
}

.country-sheet-option .flag {
    font-size: 1.2rem;
}

.country-sheet-option .name {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.country-sheet-option .currency {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.country-sheet-option.selected {
    background: rgba(108, 43, 217, 0.08);
    border: 1px solid var(--violet);
}

/* ---------- PAYMENT METHODS ---------- */
.payment-modal {
    max-width: 500px;
}

.payment-modal .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.payment-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 8px 0;
}

.payment-pill {
    background: #f8fafc;
    border: 2px solid var(--border);
    border-radius: 60px;
    padding: 12px 28px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.payment-pill:hover {
    transform: translateY(-3px);
    border-color: var(--violet);
    box-shadow: var(--shadow-hover);
}

.payment-pill.selected {
    background: var(--violet);
    border-color: var(--violet);
}

.payment-pill.selected .pill-name {
    color: white;
}

.pill-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.btn-back-to-payment {
    display: block;
    margin: 20px auto 0;
    padding: 10px 24px;
    background: #f1f5f9;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    width: 100%;
    max-width: 200px;
}

.btn-back-to-payment:hover {
    background: #e2e8f0;
}

.payment-methods-sheet .sheet-body {
    padding: 0 20px 20px;
    overflow-y: auto;
}

.payment-methods-sheet .sheet-body .section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ---------- PAYMENT DETAILS ---------- */
.payment-details-modal {
    max-width: 580px;
}

.modal-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.back-arrow-modal {
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--border);
    transition: var(--transition);
    color: var(--text-secondary);
}

.back-arrow-modal:hover {
    background: #e2e8f0;
}

.plan-summary-full {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.plan-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.plan-summary-header i {
    color: var(--gold);
}

.plan-summary-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.plan-summary-details .plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0;
}

.plan-summary-details .amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--violet);
}

.plan-summary-details .period-badge {
    font-size: 0.7rem;
    background: var(--border);
    padding: 2px 12px;
    border-radius: 40px;
    color: var(--text-secondary);
}

.payment-instructions-card {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.payment-instructions-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-instructions-card h4 i {
    color: var(--gold);
}

.payment-instructions-text {
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--text-secondary);
    background: white;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    white-space: pre-line;
}

.payment-details-table,
.payment-details-table-mobile {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.payment-details-table h4,
.payment-details-table-mobile h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-details-table h4 i,
.payment-details-table-mobile h4 i {
    color: var(--violet);
}

.details-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: white;
    border-radius: var(--radius);
    padding: 12px 16px;
    border: 1px solid var(--border);
}

.details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed #e8edf2;
}

.details-row:last-child {
    border-bottom: none;
}

.details-row .label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.details-row .value {
    font-weight: 600;
    color: var(--navy);
    font-size: 0.9rem;
}

.details-row .value.highlight {
    color: var(--violet);
    font-size: 1.1rem;
}

.upload-section,
.upload-section-mobile {
    margin-top: 20px;
}

.upload-header,
.upload-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.upload-header h4,
.upload-header-mobile h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-header h4 i,
.upload-header-mobile h4 i {
    color: var(--violet);
}

.upload-limit,
.upload-limit-mobile {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 40px;
}

.upload-area,
.upload-area-mobile {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: #fafcff;
}

.upload-area:hover,
.upload-area-mobile:hover {
    border-color: var(--violet);
    background: rgba(108, 43, 217, 0.02);
}

.upload-area i,
.upload-area-mobile i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

.upload-area:hover i,
.upload-area-mobile:hover i {
    color: var(--violet);
}

.upload-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.upload-hint {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 4px;
}

.upload-area input,
.upload-area-mobile input {
    display: none;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    background: #f8fafc;
}

.image-preview-item:hover {
    transform: scale(1.05);
    border-color: var(--violet);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .delete-image {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: 2px solid white;
    font-size: 0.6rem;
}

.modal-footer {
    padding: 20px 0 0;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

.modal-footer .btn-secondary,
.modal-footer .btn-primary {
    flex: 1;
    padding: 12px 24px;
    border-radius: 60px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-secondary {
    background: #f1f5f9;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-primary {
    background: var(--violet);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--violet-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(108, 43, 217, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---------- PAYMENT DETAILS SHEET ---------- */
.payment-details-sheet .sheet-container {
    padding: 0 20px 20px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.payment-details-sheet .sheet-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 16px;
}

.sheet-footer {
    display: flex;
    gap: 12px;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 16px;
}

.btn-secondary-mobile {
    flex: 1;
    padding: 14px;
    border-radius: 60px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--border);
    background: #f1f5f9;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-secondary-mobile:hover {
    background: #e2e8f0;
}

.btn-submit-mobile {
    flex: 2;
    padding: 14px;
    border-radius: 60px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: var(--violet);
    color: white;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-submit-mobile:hover:not(:disabled) {
    background: var(--violet-light);
}

.btn-submit-mobile:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.plan-summary-box-mobile {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.plan-summary-box-mobile h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plan-summary-box-mobile h4 i {
    color: var(--gold);
}

.selected-plan-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-plan-summary .plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0;
}

.selected-plan-summary .amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--violet);
}

.payment-instructions-card-mobile {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
}

.payment-instructions-card-mobile h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-instructions-card-mobile h4 i {
    color: var(--gold);
}

/* ---------- SUCCESS MODAL ---------- */
.success-modal-content {
    max-width: 450px;
    text-align: center;
    padding: 40px 32px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleIn 0.3s ease;
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-modal-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.success-modal-content > p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.transaction-ref {
    background: #f8fafc;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin: 16px 0;
    text-align: left;
    border: 1px solid var(--border);
    line-height: 1.8;
}

.transaction-ref strong {
    color: var(--navy);
}

.pending-message {
    background: #fef3c7;
    border-radius: var(--radius);
    padding: 16px;
    margin: 16px 0;
    text-align: center;
}

.pending-message i {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 8px;
    display: inline-block;
}

.pending-message p {
    color: #92400e;
    font-size: 0.85rem;
}

.pending-message .small-text {
    font-size: 0.7rem;
    color: #b45309;
}

.success-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.success-modal-buttons .btn-secondary,
.success-modal-buttons .btn-primary {
    flex: 1;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.success-modal-buttons .btn-secondary {
    background: #f1f5f9;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.success-modal-buttons .btn-secondary:hover {
    background: #e2e8f0;
}

.success-modal-buttons .btn-primary {
    background: var(--violet);
    color: white;
}

.success-modal-buttons .btn-primary:hover {
    background: var(--violet-light);
    transform: translateY(-2px);
}

/* ---------- ERROR MODAL ---------- */
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

.error-modal-overlay.open {
    display: flex;
}

.error-modal-content {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 400px;
    width: 90%;
    padding: 32px 28px;
    text-align: center;
    animation: scaleIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.error-modal-icon {
    width: 64px;
    height: 64px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.error-modal-icon i {
    font-size: 2rem;
    color: #ef4444;
}

.error-modal-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.error-modal-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.error-modal-buttons .btn-gotit {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--violet);
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
}

.error-modal-buttons .btn-gotit:hover {
    background: var(--violet-light);
    transform: translateY(-2px);
}

/* ---------- LIGHTBOX ---------- */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30000;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.lightbox-modal.open {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
}

.lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--navy);
    border: none;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0 20px;
    margin-top: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand .logo-highlight {
    font-size: 1.4rem;
    font-weight: 900;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-top: 8px;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--lime);
}

.footer-column .telegram-link {
    color: rgba(38, 165, 228, 0.7) !important;
}
.footer-column .telegram-link:hover {
    color: #26a5e4 !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* ---------- TOAST ---------- */
#customToast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--navy);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    z-index: 99999;
    display: none;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    font-family: 'Inter', sans-serif;
    text-align: center;
    max-width: 90%;
}

#customToast.success {
    background: var(--green);
}
#customToast.error {
    background: #dc3545;
}
#customToast.info {
    background: var(--violet);
}

/* ---------- MOBILE BACK BUTTON ---------- */
.mobile-back-btn {
    display: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .vip-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--navy);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 12px 20px;
        flex-direction: column;
        align-items: stretch;
        transform: translateY(-120%);
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }
    .nav-list > li > a {
        padding: 10px 12px;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }
    .nav-list > li > a:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.05);
    }
    .mobile-toggle {
        display: block;
    }
    .header-actions .btn-login-nav,
    .header-actions .btn-signup-nav {
        display: none;
    }
    .pricing-section {
        padding: 16px 0 30px;
    }
    .pricing-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    .pricing-header h1 {
        font-size: 1.5rem;
    }
    .pricing-header p {
        font-size: 0.9rem;
    }
    .back-to-home {
        margin-bottom: 12px;
    }
    .back-arrow-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    .vip-plans-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .billing-tabs {
        gap: 8px;
    }
    .billing-tab {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    .vip-plan-card {
        padding: 18px 14px 16px;
    }
    .vip-plan-card .vip-name {
        font-size: 0.9rem;
    }
    .vip-plan-card .vip-price {
        font-size: 1.3rem;
    }
    .vip-plan-card .vip-price .vip-period {
        font-size: 0.7rem;
    }
    .vip-plan-card .vip-select-btn {
        font-size: 0.75rem;
        padding: 8px;
    }
    .no-country-message {
        padding: 40px 20px;
    }
    .no-country-message i {
        font-size: 3rem;
    }
    .no-country-message h3 {
        font-size: 1.1rem;
    }
    .selected-country-wrapper {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100%;
        flex-wrap: nowrap !important;
        margin-bottom: 16px;
    }
    .selected-country-display {
        flex: 1;
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
        justify-content: flex-start;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .selected-country-display .country-flag {
        font-size: 1.1rem !important;
        flex-shrink: 0;
    }
    .selected-country-display .country-name {
        font-size: 0.85rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
    }
    .selected-country-display i {
        flex-shrink: 0;
        margin-left: auto;
        font-size: 0.7rem;
    }
    .change-country-btn {
        font-size: 0.7rem !important;
        padding: 6px 12px !important;
        white-space: nowrap;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    .change-country-btn i {
        font-size: 0.65rem;
    }
    .payment-modal {
        max-width: 100%;
    }
    .details-table {
        padding: 10px 14px;
    }
    .details-row {
        font-size: 0.8rem;
        padding: 4px 0;
    }
    .details-row .value {
        font-size: 0.85rem;
    }
    .details-row .value.highlight {
        font-size: 1rem;
    }
    .btn-back-to-payment {
        max-width: 100%;
    }
    .sheet-footer {
        flex-direction: column;
    }
    .btn-secondary-mobile,
    .btn-submit-mobile {
        width: 100%;
    }
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .faq-section {
        padding: 20px;
    }
    .faq-question {
        font-size: 0.8rem;
        padding: 12px 14px;
    }
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .payment-details-sheet .sheet-container {
        padding: 0 16px 16px;
    }
    .plan-summary-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .plan-summary-details .amount {
        font-size: 1.3rem;
    }
    .modal-footer {
        flex-direction: column;
    }
    .modal-footer .btn-secondary,
    .modal-footer .btn-primary {
        width: 100%;
    }
    .success-modal-content {
        padding: 28px 20px;
    }
    .success-modal-buttons {
        flex-direction: column;
    }
}

/* ---------- PAYMENT PILLS - MOBILE HORIZONTAL ---------- */
@media (max-width: 768px) {
    .payment-pills-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
        padding: 8px 0 !important;
    }
    
    .payment-pill {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }
    
    /* For mobile sheet */
    .payment-methods-sheet .payment-pills-container {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
        justify-content: center !important;
    }
    
    .payment-methods-sheet .payment-pill {
        flex: 0 1 auto !important;
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
        white-space: nowrap !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    .logo {
        font-size: 1.3rem;
    }
    .header-inner {
        height: 60px;
    }
    .main-nav {
        top: 60px;
        max-height: calc(100vh - 60px);
    }
    .pricing-header h1 {
        font-size: 1.2rem;
    }
    .vip-plans-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .vip-plan-card {
        padding: 14px 10px 12px;
    }
    .vip-plan-card .vip-name {
        font-size: 0.8rem;
    }
    .vip-plan-card .vip-price {
        font-size: 1.1rem;
        margin: 4px 0;
    }
    .vip-plan-card .vip-price .vip-period {
        font-size: 0.6rem;
    }
    .vip-plan-card .vip-select-btn {
        font-size: 0.65rem;
        padding: 6px;
        margin-top: 8px;
    }
    .billing-tab {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    .no-country-message {
        padding: 30px 16px;
    }
    .no-country-message i {
        font-size: 2.5rem;
    }
    .no-country-message h3 {
        font-size: 1rem;
    }
    .no-country-message p {
        font-size: 0.85rem;
    }
    .btn-select-country {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    .selected-country-display {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    .selected-country-display .country-flag {
        font-size: 0.9rem !important;
    }
    .selected-country-display .country-name {
        font-size: 0.75rem !important;
    }
    .change-country-btn {
        font-size: 0.6rem !important;
        padding: 4px 10px !important;
    }
    .payment-details-table,
    .payment-details-table-mobile {
        padding: 12px;
    }
    .details-table {
        padding: 8px 12px;
    }
    .details-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        padding: 8px 0;
    }
    .details-row .label {
        font-size: 0.75rem;
    }
    .details-row .value {
        font-size: 0.85rem;
    }
    .modal-content {
        padding: 16px !important;
    }
    .modal-header h3 {
        font-size: 0.9rem !important;
    }
    .plan-summary-full {
        padding: 14px;
    }
    .plan-summary-details .plan-name {
        font-size: 0.95rem;
    }
    .plan-summary-details .amount {
        font-size: 1.1rem;
    }
    .payment-instructions-card {
        padding: 14px;
    }
    .upload-area {
        padding: 16px 12px;
    }
    .upload-area i {
        font-size: 1.5rem;
    }
    .upload-text {
        font-size: 0.75rem;
    }
    .upload-hint {
        font-size: 0.6rem;
    }
    .image-preview-item {
        width: 60px;
        height: 60px;
    }
    .success-modal-content {
        padding: 20px 16px;
    }
    .success-icon {
        width: 60px;
        height: 60px;
    }
    .success-icon i {
        font-size: 2rem;
    }
    .success-modal-content h3 {
        font-size: 1.1rem;
    }
    .error-modal-content {
        padding: 24px 20px;
    }
    #customToast {
        bottom: 16px;
        font-size: 0.75rem;
        padding: 10px 20px;
        max-width: 95%;
    }
    .footer-links {
        grid-template-columns: 1fr;
    }
    .faq-section {
        padding: 16px;
    }
    .faq-question {
        font-size: 0.75rem;
        padding: 10px 12px;
    }
    .payment-pill {
        padding: 6px 12px !important;
        font-size: 0.7rem !important;
    }
}
/* ---------- SHEET FOOTER - HORIZONTAL BUTTONS ---------- */
@media (max-width: 768px) {
    .sheet-footer {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        padding: 16px 0 !important;
        border-top: 1px solid var(--border);
        margin-top: 16px;
    }
    
    .btn-secondary-mobile {
        flex: 1 !important;
        padding: 12px 16px !important;
        border-radius: 60px !important;
        font-weight: 600 !important;
        font-size: 0.85rem !important;
        cursor: pointer !important;
        border: 1px solid var(--border) !important;
        background: #f1f5f9 !important;
        color: var(--text-secondary) !important;
        transition: var(--transition) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-width: 0 !important;
    }
    
    .btn-secondary-mobile:hover {
        background: #e2e8f0 !important;
    }
    
    .btn-submit-mobile {
        flex: 2 !important;
        padding: 12px 16px !important;
        border-radius: 60px !important;
        font-weight: 700 !important;
        font-size: 0.85rem !important;
        cursor: pointer !important;
        border: none !important;
        background: var(--violet) !important;
        color: white !important;
        transition: var(--transition) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        min-width: 0 !important;
    }
    
    .btn-submit-mobile:hover:not(:disabled) {
        background: var(--violet-light) !important;
    }
    
    .btn-submit-mobile:disabled {
        opacity: 0.6 !important;
        cursor: not-allowed !important;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .btn-secondary-mobile {
        font-size: 0.75rem !important;
        padding: 10px 12px !important;
    }
    
    .btn-submit-mobile {
        font-size: 0.75rem !important;
        padding: 10px 12px !important;
    }
}
/* ---------- FIX MODAL HEIGHT ON SEARCH ---------- */
@media (max-width: 768px) {
    .country-modal .modal-content {
        min-height: 90vh !important;
        height: 90vh !important;
        max-height: 90vh !important;
        display: flex !important;
        flex-direction: column !important;
        border-radius: 0 !important;
        padding: 16px !important;
    }
    
    .country-modal .modal-body {
        flex: 1 !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .country-list-modal {
        flex: 1 !important;
        overflow-y: auto !important;
        min-height: 200px !important;
        max-height: none !important;
        padding-bottom: 20px !important;
    }
    
    .country-sheet {
        height: 90vh !important;
        max-height: 90vh !important;
        min-height: 90vh !important;
    }
    
    .country-sheet .sheet-container {
        height: 100% !important;
        max-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 16px !important;
    }
    
    .country-sheet .sheet-body {
        flex: 1 !important;
        overflow-y: auto !important;
        min-height: 200px !important;
        padding-bottom: 20px !important;
    }
}

/* Desktop */
@media (min-width: 769px) {
    .country-modal .modal-content {
        min-height: 500px !important;
        height: auto !important;
        max-height: 80vh !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .country-modal .modal-body {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        min-height: 300px !important;
    }
    
    .country-list-modal {
        flex: 1 !important;
        overflow-y: auto !important;
        min-height: 250px !important;
        max-height: none !important;
    }
}
/* ---------- SELECT COUNTRY BUTTON - FULL WIDTH CENTERED ---------- */
.btn-select-country {
    padding: 16px 32px;
    background: var(--violet);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 200px;
    margin: 0 auto;
}

.btn-select-country:hover {
    background: var(--violet-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(108, 43, 217, 0.3);
}

.btn-select-country i {
    font-size: 1rem;
}

/* Mobile - Full width centered */
@media (max-width: 768px) {
    .btn-select-country {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px 20px !important;
        font-size: 1rem !important;
        border-radius: 60px !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
    }
}

/* Very small screens */
@media (max-width: 480px) {
    .btn-select-country {
        padding: 14px 16px !important;
        font-size: 0.95rem !important;
        gap: 8px !important;
    }
}

/* Center the no-country-message content */
.no-country-message {
    text-align: center;
    padding: 40px 20px;
}

.no-country-message .btn-select-country {
    margin: 0 auto;
}

/* Center the dropdown */
.country-selection-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* For the selected country display on mobile */
@media (max-width: 768px) {
    .selected-country-wrapper {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        flex-wrap: nowrap !important;
        margin-bottom: 16px;
    }
    
    .selected-country-display {
        flex: 1;
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
        justify-content: flex-start;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .selected-country-display .country-flag {
        font-size: 1.1rem !important;
        flex-shrink: 0;
    }
    
    .selected-country-display .country-name {
        font-size: 0.85rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
    }
    
    .selected-country-display i {
        flex-shrink: 0;
        margin-left: auto;
        font-size: 0.7rem;
    }
    
    .change-country-btn {
        font-size: 0.7rem !important;
        padding: 6px 12px !important;
        white-space: nowrap;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    
    .change-country-btn i {
        font-size: 0.65rem;
    }
}