/* ==========================================================================
   WorldVPN Modern WHMCS Theme (Matches worldvpn.net Design System)
   ========================================================================== */

:root {
    --wvpn-slate-900: #0f172a;
    --wvpn-slate-800: #1e293b;
    --wvpn-slate-700: #334155;
    --wvpn-slate-600: #475569;
    --wvpn-slate-500: #64748b;
    --wvpn-slate-100: #f1f5f9;
    --wvpn-slate-50:  #f8fafc;
    --wvpn-sky-600:   #0284c7;
    --wvpn-sky-500:   #0ea5e9;
    --wvpn-sky-50:    #f0f9ff;
    --wvpn-amber-500: #f59e0b;
    --wvpn-emerald-600: #059669;
}

html,
body.wvpn-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: var(--wvpn-slate-50) !important;
    color: var(--wvpn-slate-800) !important;
    line-height: 1.6;
    overflow-x: hidden !important;
    max-width: 100vw;
}

/* Top Trust & Promo Bar */
.wvpn-topbar {
    background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wvpn-topbar .text-sky { color: #38bdf8; }
.wvpn-topbar .text-amber { color: #fbbf24; }
.wvpn-sep { margin: 0 8px; opacity: 0.4; }
.wvpn-code {
    background: rgba(56, 189, 248, 0.16);
    color: #7dd3fc;
    padding: 2px 6px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 11.5px;
}

.wvpn-top-link {
    color: #7dd3fc !important;
    font-weight: 600;
    text-decoration: none !important;
}
.wvpn-top-link:hover { color: #ffffff !important; }

.wvpn-top-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8fafc;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
}

.wvpn-logged-user {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 12.5px;
}

.wvpn-credit-pill {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7 !important;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    text-decoration: none !important;
}
.wvpn-credit-pill:hover {
    background: rgba(16, 185, 129, 0.28);
    color: #ffffff !important;
}

.wvpn-admin-badge {
    background: #f59e0b;
    color: #0f172a !important;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
}

/* Main Navigation Bar */
.wvpn-header {
    background: #ffffff;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.06);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.wvpn-main-nav {
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 0;
}

.wvpn-brand {
    text-decoration: none !important;
}

.wvpn-logo-img {
    height: 36px;
    width: auto;
}

.wvpn-brand-text {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--wvpn-slate-900);
}

.wvpn-brand-badge {
    background: var(--wvpn-sky-50);
    color: var(--wvpn-sky-600);
    border: 1px solid #bae6fd;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.wvpn-site-links .wvpn-site-link {
    color: var(--wvpn-slate-700);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.wvpn-site-links .wvpn-site-link:hover {
    color: var(--wvpn-sky-600);
    background: var(--wvpn-sky-50);
}

.wvpn-site-links .wvpn-site-link-hot {
    color: #b45309;
    background: #fef3c7;
    font-weight: 700;
}
.wvpn-site-links .wvpn-site-link-hot:hover {
    background: #fde68a;
    color: #92400e;
}

.wvpn-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--wvpn-slate-100);
    color: var(--wvpn-slate-800) !important;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.wvpn-cart-btn:hover {
    background: #e2e8f0;
    color: var(--wvpn-sky-600) !important;
}

.wvpn-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--wvpn-sky-600);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* WHMCS Sub-Navbar (Modern Pill Bar) */
.wvpn-subnavbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 0 !important;
}

.wvpn-mobile-toggle {
    width: 38px;
    height: 38px;
    padding: 0 !important;
    border-radius: 10px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: var(--wvpn-slate-800) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wvpn-mobile-site-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 13px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--wvpn-slate-700) !important;
    text-decoration: none !important;
}
.wvpn-mobile-site-link:hover {
    background: var(--wvpn-sky-50);
    color: var(--wvpn-sky-600) !important;
}
.wvpn-mobile-site-link .wvpn-nav-ico {
    color: var(--wvpn-sky-600);
    font-size: 13px;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}
.wvpn-mobile-site-link-hot {
    background: #fef3c7;
    color: #b45309 !important;
    font-weight: 700;
    margin-top: 2px;
}

.wvpn-subnavbar #nav,
.wvpn-subnavbar .navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 1199.98px) {
    .wvpn-subnavbar {
        padding: 0 !important;
    }
    .wvpn-subnavbar #mainNavbar {
        padding: 8px 0 12px;
    }
    .wvpn-subnavbar #nav,
    .wvpn-subnavbar .navbar-nav {
        align-items: stretch !important;
        width: 100% !important;
        flex-direction: column !important;
        gap: 2px !important;
    }
    .wvpn-subnavbar .wvpn-subnav-item {
        width: 100% !important;
    }
    .wvpn-subnavbar .wvpn-subnav-link {
        display: flex !important;
        width: 100% !important;
        justify-content: flex-start !important;
        padding: 9px 13px !important;
        font-size: 14px !important;
    }
    .wvpn-subnavbar .wvpn-subnav-link.dropdown-toggle::after {
        margin-left: auto !important;
    }
    .wvpn-subnavbar .wvpn-dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        box-shadow: none !important;
        background: #f8fafc !important;
        border: 1px solid #e2e8f0 !important;
        margin: 4px 0 6px 0 !important;
    }
}

@media (max-width: 991.98px) {
    .wvpn-register-top-btn {
        display: none !important;
    }
}

@media (max-width: 767.98px) {
    .wvpn-topbar {
        font-size: 11.5px;
        padding: 6px 0;
    }
    .wvpn-topbar .container {
        gap: 6px;
    }
    .wvpn-logo-img {
        height: 28px;
    }
    .wvpn-brand-text {
        font-size: 17px;
    }
    .wvpn-cart-btn,
    .wvpn-mobile-toggle,
    .wvpn-logout-btn {
        width: 36px !important;
        height: 36px !important;
        padding: 0 !important;
        flex-shrink: 0;
    }
    .wvpn-login-btn {
        padding: 5px 11px !important;
        font-size: 12px !important;
        height: 36px !important;
        flex-shrink: 0;
    }
    .wvpn-page-banner {
        padding: 14px 0;
    }
    .wvpn-page-title {
        font-size: 20px;
    }
    .wvpn-service-hero {
        padding: 18px 16px !important;
    }
    .wvpn-service-hero .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 8px;
    }
}

.wvpn-subnavbar .wvpn-subnav-item {
    margin: 0 !important;
}

.wvpn-subnavbar .wvpn-subnav-link {
    display: inline-flex !important;
    align-items: center !important;
    color: var(--wvpn-slate-700) !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    padding: 7px 13px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.wvpn-subnavbar .wvpn-subnav-link .wvpn-nav-ico {
    color: var(--wvpn-sky-600);
    font-size: 13px;
    margin-right: 7px;
    opacity: 0.85;
}

.wvpn-subnavbar .wvpn-subnav-link:hover,
.wvpn-subnavbar .wvpn-subnav-item.active > .wvpn-subnav-link,
.wvpn-subnavbar .wvpn-subnav-item.show > .wvpn-subnav-link {
    color: var(--wvpn-sky-600) !important;
    background: var(--wvpn-sky-50) !important;
}

.wvpn-subnavbar .wvpn-dropdown-menu {
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 8px !important;
    margin-top: 6px !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.11) !important;
    min-width: 210px;
}

.wvpn-subnavbar .wvpn-dropdown-link {
    display: flex !important;
    align-items: center !important;
    border-radius: 9px !important;
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    color: var(--wvpn-slate-700) !important;
    transition: all 0.15s ease;
}

.wvpn-subnavbar .wvpn-dropdown-link:hover {
    background: var(--wvpn-sky-50) !important;
    color: var(--wvpn-sky-600) !important;
}

/* Page Header / Breadcrumb Banner */
.wvpn-page-banner {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 55%, #eff6ff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 22px 0;
}

.wvpn-page-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
    margin: 0;
    letter-spacing: -0.02em;
}

.wvpn-page-tagline {
    font-size: 14px;
    color: var(--wvpn-slate-500);
}

.wvpn-breadcrumb-wrap .breadcrumb {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px;
}

/* Main Body */
.wvpn-main-body {
    padding: 32px 0 56px;
    min-height: 60vh;
}

/* Buttons matching worldvpn.net */
.wvpn-btn-primary,
.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 9px 20px !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.22);
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
}

.wvpn-btn-primary:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.wvpn-btn-outline {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    color: var(--wvpn-slate-800) !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 9px 20px !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
}
.wvpn-btn-outline:hover {
    border-color: var(--wvpn-sky-600) !important;
    color: var(--wvpn-sky-600) !important;
    background: var(--wvpn-sky-50) !important;
}

.wvpn-btn-amber {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #0f172a !important;
    border-radius: 10px !important;
    padding: 9px 20px !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
}
.wvpn-btn-amber:hover {
    background: #d97706 !important;
    color: #ffffff !important;
}

.wvpn-btn-light {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    padding: 9px 20px !important;
    display: inline-flex;
    align-items: center !important;
    justify-content: center !important;
}
.wvpn-btn-light:hover {
    background: rgba(255, 255, 255, 0.24) !important;
}

.btn-sm.wvpn-btn-primary,
.btn-sm.wvpn-btn-outline,
.btn-sm.wvpn-btn-amber,
.btn-sm.wvpn-btn-light {
    padding: 7px 16px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

.btn-block.wvpn-btn-primary,
.btn-block.wvpn-btn-outline,
.btn-block.wvpn-btn-amber {
    display: flex !important;
    width: 100% !important;
}

/* Homepage Hero & Cards */
.wvpn-home-hero {
    background: linear-gradient(135deg, #0f172a 0%, #0c4a6e 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.22);
}

.wvpn-hero-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.18);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
}

.wvpn-hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-top: 8px;
}

.wvpn-hero-sub {
    color: #cbd5e1;
    font-size: 15px;
    max-width: 620px;
}

.wvpn-hero-promo-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 20px;
}

.wvpn-promo-tag {
    color: #fbbf24;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.wvpn-promo-price {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 6px 0;
}
.wvpn-promo-price span { font-size: 16px; font-weight: 600; color: #cbd5e1; }
.wvpn-promo-sub { font-size: 12.5px; color: #cbd5e1; }

.wvpn-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
}

.wvpn-plan-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}
.wvpn-plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
    border-color: #bae6fd;
}

.wvpn-plan-featured {
    border: 2px solid var(--wvpn-sky-600);
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.12);
}

.wvpn-plan-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}
.wvpn-badge-sky { background: #e0f2fe; color: #0369a1; }
.wvpn-badge-indigo { background: #e0e7ff; color: #4338ca; }
.wvpn-badge-emerald { background: #d1fae5; color: #047857; }

.wvpn-plan-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
}

.wvpn-plan-desc {
    color: var(--wvpn-slate-600);
    font-size: 14px;
}

.wvpn-plan-coupon {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 13px;
}

.wvpn-quick-tile {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    color: var(--wvpn-slate-800) !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.wvpn-quick-tile i {
    font-size: 20px;
    color: var(--wvpn-sky-600);
    margin-right: 12px;
}
.wvpn-quick-tile:hover {
    border-color: var(--wvpn-sky-600);
    background: var(--wvpn-sky-50);
    transform: translateY(-2px);
}

/* Client Area Cards, Sidebars & Unpaid Invoice Banner */
.wvpn-unpaid-banner {
    background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
    border: 1.5px solid #f59e0b;
    border-radius: 16px;
    padding: 16px 20px;
    color: #78350f;
}

.wvpn-unpaid-badge {
    background: #f59e0b;
    color: #0f172a;
    font-size: 11.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    text-transform: uppercase;
}

.card,
.sidebar .card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03) !important;
    overflow: hidden;
}

.card-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-weight: 700;
}

.wvpn-login-card {
    max-width: 480px;
    border-radius: 20px !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07) !important;
}

.wvpn-login-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--wvpn-sky-50);
    color: var(--wvpn-sky-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.wvpn-stat-tile {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    height: 100%;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
}

.tiles .wvpn-stat-tile i {
    font-size: 42px !important;
    top: 16px !important;
    right: 16px !important;
    color: #cbd5e1 !important;
}

.tiles .wvpn-stat-tile:hover i {
    font-size: 46px !important;
    color: #94a3b8 !important;
}

.tiles .wvpn-stat-tile .stat {
    font-size: 36px !important;
    line-height: 40px !important;
    font-weight: 700;
    color: var(--wvpn-slate-900);
    position: relative;
    z-index: 2;
}

.tiles .wvpn-stat-tile .stat.wvpn-stat-credit {
    font-size: 28px !important;
    line-height: 40px !important;
}

.tiles .wvpn-stat-tile .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 4px;
    position: relative;
    z-index: 2;
}

/* Hide Recent News, Client Contacts, User Management, and Your Profile in Client Area */
[menuItemName="Recent News"],
[menuItemName="Client Contacts"],
[menuItemName="Contacts"],
[menuItemName="User Management"],
[menuItemName="Your Profile"],
#Secondary_Navbar-Account-User_Management,
#Secondary_Navbar-Account-Your_Profile {
    display: none !important;
}

/* VPN Service Details Page (clientareaproductdetails.tpl) */
.wvpn-service-hero {
    background: linear-gradient(145deg, #0f172a 0%, #1e293b 100%);
    color: #f8fafc;
    border-radius: 18px;
    padding: 22px 20px;
    height: 100%;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.14);
}

.wvpn-service-type-badge {
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #7dd3fc;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.wvpn-status-pill {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 0.04em;
    background: #334155;
    color: #e2e8f0;
}
.wvpn-status-pill.status-active {
    background: #10b981;
    color: #022c22;
}
.wvpn-status-pill.status-pending {
    background: #f59e0b;
    color: #0f172a;
}
.wvpn-status-pill.status-suspended,
.wvpn-status-pill.status-terminated,
.wvpn-status-pill.status-cancelled {
    background: #ef4444;
    color: #ffffff;
}

.wvpn-service-icon-circle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.14);
    border: 2px solid rgba(56, 189, 248, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #38bdf8;
}

.wvpn-service-plan-name {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.wvpn-service-group-name {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 600;
}

.wvpn-cred-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 10px 14px;
}

.wvpn-cred-ip {
    background: rgba(14, 165, 233, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}

.wvpn-cred-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
    font-weight: 700;
}

.wvpn-cred-value {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
}

.wvpn-copy-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #f8fafc !important;
    font-size: 11.5px;
    font-weight: 700;
    border-radius: 8px;
    padding: 4px 10px;
}
.wvpn-copy-btn:hover {
    background: #0284c7;
    border-color: #38bdf8;
}

.wvpn-details-heading {
    font-size: 15px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
}

.wvpn-kv-list {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.wvpn-kv-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13.5px;
}
.wvpn-kv-row:last-child {
    border-bottom: none;
}

.wvpn-kv-label {
    color: var(--wvpn-slate-600);
    font-weight: 600;
}

.wvpn-kv-val {
    color: var(--wvpn-slate-900);
    text-align: right;
}

.wvpn-quick-actions-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
}

.wvpn-quick-actions-title {
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--wvpn-slate-700);
}

/* Services List Filter Pills & Table Icons */
.wvpn-filter-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--wvpn-slate-700);
    font-weight: 600;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: 12.5px !important;
}
.wvpn-filter-pill:hover,
.wvpn-filter-pill.active {
    background: var(--wvpn-sky-50);
    border-color: var(--wvpn-sky-600);
    color: var(--wvpn-sky-600);
}

.wvpn-table-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 15px;
}
.wvpn-table-icon.active {
    background: #d1fae5;
    color: #059669;
}

/* Store / Product Group Cards (/index.php?rp=/store/worldvpn) */
.wvpn-store-heading {
    font-size: 28px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
    letter-spacing: -0.02em;
}

.wvpn-code-inline {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 700;
}

.wvpn-store-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.wvpn-store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.09);
    border-color: #7dd3fc;
}

.wvpn-store-card-featured {
    border: 2px solid var(--wvpn-sky-600);
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.11);
}

.wvpn-store-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--wvpn-sky-50);
    color: var(--wvpn-sky-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.wvpn-store-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
}

.wvpn-store-price-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 16px;
    text-align: center;
}

.wvpn-starting-from {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--wvpn-slate-500);
}

.wvpn-store-price-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
    line-height: 1.15;
}

.wvpn-store-price-cycle {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--wvpn-slate-500);
    margin-top: 2px;
}

.wvpn-feature-desc {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--wvpn-slate-700);
    line-height: 1.6;
}

.wvpn-check-list li {
    font-size: 13px;
    color: var(--wvpn-slate-600);
    padding: 4px 0;
}

/* Remove Left Cart Sidebar & Style Configure Product Page (cart.php?a=confproduct) */
#order-standard_cart .cart-sidebar,
#order-standard_cart .sidebar-collapsed {
    display: none !important;
}

#order-standard_cart .cart-body {
    width: 100% !important;
    float: none !important;
}

.wvpn-conf-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
}

.wvpn-conf-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wvpn-conf-tag {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7dd3fc;
}

.wvpn-conf-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.wvpn-conf-desc {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

.wvpn-conf-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
}

.wvpn-conf-label {
    display: block;
    font-size: 14.5px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
    margin-bottom: 10px;
}

.wvpn-select-lg {
    height: 46px !important;
    border-radius: 11px !important;
    border: 1.5px solid #cbd5e1 !important;
    font-weight: 600 !important;
    color: var(--wvpn-slate-900) !important;
    background-color: #ffffff !important;
}
.wvpn-select-lg:focus {
    border-color: var(--wvpn-sky-600) !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14) !important;
}

.wvpn-conf-help {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px !important;
    font-size: 13px;
    color: var(--wvpn-slate-700);
}

/* View Cart Page (cart.php?a=view) */
.wvpn-cart-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 12px;
    transition: border-color 0.15s ease;
}
.wvpn-cart-item:last-child {
    margin-bottom: 0;
}
.wvpn-cart-item:hover {
    border-color: #bae6fd;
}

.wvpn-cart-item-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
}

.wvpn-edit-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--wvpn-sky-600) !important;
    text-decoration: none !important;
}
.wvpn-edit-link:hover {
    text-decoration: underline !important;
}

.wvpn-opt-pill {
    display: inline-block;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 3px 10px;
    font-size: 12px;
    color: var(--wvpn-slate-700);
    margin: 2px 6px 2px 0;
}

.wvpn-cart-item-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--wvpn-slate-900);
}

.wvpn-cart-item-cycle {
    font-size: 12px;
    font-weight: 600;
    color: var(--wvpn-slate-500);
}

/* Checkout Page (cart.php?a=checkout) */
.wvpn-account-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.15s ease;
}
.wvpn-account-box.active {
    background: var(--wvpn-sky-50);
    border-color: var(--wvpn-sky-600);
}

.wvpn-checkout-total-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wvpn-checkout-total-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.wvpn-checkout-total-amount {
    font-size: 26px;
    font-weight: 800;
    color: #38bdf8;
}

.wvpn-credit-checkout-box {
    background: #ecfdf5 !important;
    border: 1px solid #6ee7b7 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-size: 13px;
}

.wvpn-gateway-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wvpn-gateway-option {
    display: flex !important;
    align-items: center !important;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px !important;
    margin: 0 !important;
    cursor: pointer;
    font-weight: 600;
    color: var(--wvpn-slate-800);
    transition: all 0.15s ease;
}
.wvpn-gateway-option:hover {
    border-color: var(--wvpn-sky-600);
    background: var(--wvpn-sky-50);
}
.wvpn-gateway-option .iradio_square-blue,
.wvpn-gateway-option input[type="radio"] {
    margin: 0 14px 0 0 !important;
    flex-shrink: 0 !important;
}
.wvpn-gateway-name {
    line-height: 1.45;
    font-size: 13.5px;
    color: var(--wvpn-slate-800);
    font-weight: 600;
}

.wvpn-tos-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
.wvpn-tos-box label {
    padding-left: 0 !important;
}
.wvpn-tos-box .icheckbox_square-blue,
.wvpn-tos-box input[type="checkbox"] {
    margin: 0 12px 0 0 !important;
    flex-shrink: 0 !important;
}

.wvpn-account-box .iradio_square-blue,
.wvpn-account-box input[type="radio"] {
    margin: 0 10px 0 0 !important;
}

.wvpn-ssl-note {
    font-size: 12px;
    color: var(--wvpn-slate-500);
}

/* View Ticket Conversation Thread (viewticket.php) */
.wvpn-ticket-msg-card {
    border-radius: 16px !important;
    overflow: hidden;
}

.wvpn-msg-staff {
    border: 1.5px solid #bae6fd !important;
}

.wvpn-msg-staff .wvpn-ticket-msg-header {
    background: #f0f9ff;
    border-bottom: 1px solid #e0f2fe;
}

.wvpn-msg-client .wvpn-ticket-msg-header {
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.wvpn-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.wvpn-msg-avatar.staff {
    background: var(--wvpn-sky-600);
    color: #ffffff;
}
.wvpn-msg-avatar.client {
    background: #e2e8f0;
    color: var(--wvpn-slate-700);
}

.wvpn-msg-body {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--wvpn-slate-800);
}

/* Modern Form Inputs, Step Badges & Phone Input (register.php & clientarea) */
.wvpn-step-badge {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--wvpn-sky-600);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.wvpn-field-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--wvpn-slate-600);
    margin-bottom: 6px;
}

.wvpn-conf-section .form-control,
.wvpn-conf-section .custom-select,
.wvpn-input {
    height: 44px !important;
    border-radius: 10px !important;
    border: 1.5px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: var(--wvpn-slate-900) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 14px !important;
    box-shadow: none !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wvpn-conf-section textarea.form-control {
    height: auto !important;
}

.wvpn-conf-section .form-control:focus,
.wvpn-conf-section .custom-select:focus,
.wvpn-input:focus {
    border-color: var(--wvpn-sky-600) !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.13) !important;
}

.wvpn-conf-section .intl-tel-input .form-control {
    padding-left: 82px !important;
}

/* Modern Markdown Editor & File Upload (submitticket.php & viewticket.php) */
.md-editor {
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 12px !important;
    overflow: hidden;
    background: #ffffff !important;
}
.md-editor.active {
    border-color: var(--wvpn-sky-600) !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.13) !important;
}
.md-editor > .md-header,
.md-editor .md-footer {
    background: #f8fafc !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid #e2e8f0;
}
.md-editor > textarea {
    background: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 14px !important;
    padding: 14px !important;
    color: var(--wvpn-slate-900) !important;
    border-top: none !important;
}
.custom-file,
.custom-file-input,
.custom-file-label {
    height: 42px !important;
}
.custom-file-label {
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    line-height: 26px !important;
    font-size: 13.5px !important;
    color: var(--wvpn-slate-700) !important;
}
.custom-file-label::after {
    height: 39px !important;
    line-height: 26px !important;
    background: #f1f5f9 !important;
    color: var(--wvpn-slate-800) !important;
    font-weight: 700;
    border-left: 1px solid #cbd5e1 !important;
    border-radius: 0 9px 9px 0 !important;
}

/* Shopping Cart (#order-standard_cart) Modernization */
#order-standard_cart .order-summary,
#order-standard_cart .summary-container {
    background: var(--wvpn-slate-900) !important;
    color: #f8fafc !important;
    border-radius: 16px !important;
    border: 1px solid #1e293b !important;
    padding: 20px !important;
}

#order-standard_cart .order-summary h2 {
    background: transparent !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}

#order-standard_cart .btn-checkout {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.28) !important;
}

.wvpn-cart-trustbar {
    background: #ffffff;
    border: 1px solid #bae6fd;
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: var(--wvpn-slate-700);
}
.wvpn-cart-trustbar span {
    margin: 4px 10px 4px 0;
}
.wvpn-cart-trustbar i {
    color: var(--wvpn-sky-600);
    margin-right: 5px;
}

/* Footer matching worldvpn.net */
.wvpn-footer {
    background: var(--wvpn-slate-900) !important;
    color: #94a3b8 !important;
    padding: 52px 0 36px !important;
    border-top: 1px solid #1e293b;
    font-size: 13.5px;
}

.wvpn-footer-brand {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}

.wvpn-footer-desc {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.65;
}

.wvpn-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin-right: 6px;
}

.wvpn-footer-heading {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.wvpn-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wvpn-footer-links li {
    margin-bottom: 8px;
}

.wvpn-footer-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.wvpn-footer-links a:hover {
    color: #38bdf8 !important;
}

.wvpn-refund-note {
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid #38bdf8;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    color: #cbd5e1;
}

.wvpn-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #64748b;
    font-size: 13px;
}

.wvpn-lang-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #e2e8f0 !important;
    border-radius: 8px;
}

.wvpn-pay-icons i {
    font-size: 22px;
    color: #cbd5e1;
    margin-left: 10px;
}
