:root {
    --primary: #106db9;
    --primary-glow: rgba(16, 109, 185, 0.1);
    --bg-main: #f1f5f9;
    --bg-side: #ffffff;
    --text-head: #0f172a;
    --text-body: #475569;
    --border-light: #e2e8f0;
    --radius: 8px;
    --sidebar-width: 280px;
    --seabank: #ec1c24;
    --seabank-glow: rgba(236, 28, 36, 0.1);
}

.bg-seabank {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-glow) 100%) !important;
}

.text-seabank {
    color: var(--primary) !important;
}

.border-seabank {
    border-color: var(--primary) !important;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    margin: 0;
    overflow-x: hidden;
    font-weight: 500;
}

.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-side);
    height: 100vh;
    position: fixed;
    border-right: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 12px 32px;
    justify-content: center;
}

.logo-sq {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border-radius: 8px !important;
}

.logo-name {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-head);
    letter-spacing: -1px;
}

.nav-menu {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 14px;
    color: #475569;
    text-decoration: none !important;
    font-weight: 700;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    border-radius: 16px !important;
    position: relative;
}

.nav-link:hover {
    background: #f8fafc;
    color: var(--primary);
}

.nav-link.active {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(16, 109, 185, 0.25);
}

.icon-wrap {
    width: 38px;
    height: 38px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    font-size: 1.2rem;
    color: #64748b;
    transition: 0.3s;
    flex-shrink: 0;
}

.nav-link:hover .icon-wrap {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link.active .icon-wrap {
    background: white;
    color: var(--primary);
}

.arrow-icon {
    margin-left: auto;
    font-size: 1rem;
    opacity: 0.6;
    transition: 0.3s;
}

.nav-dropdown.open .arrow-icon {
    transform: rotate(90deg);
}

.sub-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 20px;
    margin-left: 34px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 1px solid var(--border-light);
}

.nav-dropdown.open .sub-menu {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 15px;
    margin-top: 5px;
}

.sub-link {
    color: #64748b;
    text-decoration: none;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
}

.sub-link::before {
    content: '';
    position: absolute;
    left: -21px;
    /* Overlays the 1px border-left of .sub-menu */
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--primary);
    transition: 0.2s ease;
    opacity: 0;
}

.sub-link:hover {
    color: var(--primary);
    padding-left: 18px;
}

.sub-link:hover::before {
    opacity: 1;
}

.sub-link.active {
    color: var(--primary);
}

.sub-link.active::before {
    opacity: 1;
}


.sidebar-footer {
    padding: 16px 14px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    background: #fdfdfd;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 12px !important;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.user-info-footer {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

.footer-user-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-head);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-user-balance {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
}

.logout-mini-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: #f1f5f9;
    border-radius: 8px;
    transition: 0.3s;
    text-decoration: none !important;
}

.logout-mini-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Stat Cards */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

.top-bar {
    height: 70px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 990;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    pointer-events: auto;
}

.user-dropdown-wrap {
    position: relative;
}

.top-item-btn {
    width: 42px;
    height: 42px;
    border-radius: 50% !important;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.25rem;
    background: white;
    cursor: pointer;
    transition: 0.3s;
    padding: 0;
    text-decoration: none !important;
}

.top-item-btn:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.top-item-btn.avatar-btn {
    padding: 2px;
}

.top-item-btn.avatar-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0px;
}

.btn-premium {
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary), #0c4a8a);
    color: white;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(16, 109, 185, 0.25);
    transition: 0.3s;
    border: none;
    border-radius: 10px !important;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 109, 185, 0.35);
    filter: brightness(1.1);
}

.btn-premium-outline {
    padding: 10px 18px;
    background: white;
    color: var(--text-head);
    border: 1px solid var(--border-light);
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    border-radius: 10px !important;
}

.btn-premium-outline:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* User Dropdown Menu */
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 240px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
    padding: 8px 0;
    z-index: 1001;
}

.user-dropdown-wrap.open .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
}

.dropdown-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
}

.dropdown-user-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-head);
}

.dropdown-user-balance {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-body);
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.88rem;
    transition: 0.2s;
}

.dropdown-link:hover {
    background: #f8fafc;
    color: var(--primary);
}

.dropdown-link iconify-icon {
    font-size: 1.2rem;
    color: #94a3b8;
}

.dropdown-link:hover iconify-icon {
    color: var(--primary);
}

.dropdown-link.logout {
    color: #f43f5e;
    margin-top: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.dropdown-link.logout:hover {
    background: #fff1f2;
}

.content-body {
    padding: 32px;
}

/* Stat Cards Balanced Redesign */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card-glow {
    background: #ffffff;
    padding: 22px 24px;
    border-radius: 16px !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1.5px solid var(--accent-color);
    box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    padding-left: 32px;
    /* Extra padding for the accent bar */
}

.stat-card-glow::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 36px;
    background: var(--accent-color);
    border-radius: 0 6px 6px 0;
}

.stat-card-glow:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.12);
}

.stat-card-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 32px;
    background: var(--accent-color, var(--primary));
    transform: translateY(-50%) translateX(-4px);
    transition: 0.3s;
    border-radius: 0 4px 4px 0;
}

.stat-card-glow:hover::before {
    transform: translateY(-50%) translateX(0);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 14px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: 0.3s;
}

.stat-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.stat-value {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-head);
    margin: 0;
    letter-spacing: -0.4px;
}

/* Bulletin Premium Overhaul */
.dash-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
}

.activity-plan-row {
    grid-template-columns: 2.5fr 1fr !important;
}

.dash-panel {
    background: white;
    padding: 28px;
    border: 1px solid rgba(241, 245, 249, 0.8);
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
}

.activity-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .activity-plan-row {
        grid-template-columns: 1fr !important;
    }
}

.panel-header {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-head);
    margin: 0;
}

.bulletin-container {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bulletin-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Edge */
}

.bulletin-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.bulletin-user-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 60px;
    flex-shrink: 0;
}

.bulletin-avatar {
    width: 38px;
    height: 38px;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    border-radius: 50% !important;
    border: 1px solid var(--border-light);
}

.bulletin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bulletin-headline {
    display: none;
}

.bulletin-title {
    font-weight: 800;
    font-size: 0.85rem;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bulletin-time-bottom {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    text-align: right;
    margin-top: 8px;
    padding-right: 4px;
}

.bulletin-bubble {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px !important;
    padding: 16px 20px;
    position: relative;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.bulletin-bubble::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: #f8fafc;
    border-left: 1px solid #f1f5f9;
    border-top: 1px solid #f1f5f9;
    transform: rotate(-45deg);
}

.bulletin-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    font-weight: 500;
}

/* Bank Grid Premium Overhaul */
.bank-grid-neo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 20px 10px;
    margin-top: 20px;
}

.bank-card-neo {
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: none;
    text-decoration: none !important;
    min-width: 0;
}

.bank-card-neo:hover {
    transform: translateY(-5px);
}

.bank-card-neo img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    background: white;
}

.bank-name {
    font-size: 0.7rem;
    font-weight: 800;
    color: #334155;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1.2;
    max-width: 100%;
    word-break: break-all;
}

.bank-account-type {
    font-size: 0.65rem;
    color: #94a3b8;
    font-weight: 500;
}

@media (max-width: 640px) {
    .bank-grid-neo {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 15px 8px;
    }

    .bank-card-neo img {
        height: 52px;
        width: 52px;
    }
}

.bank-badge {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px !important;
    background: #eff6ff;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bank-card-neo.offline .bank-badge {
    background: #fef2f2;
    color: #ef4444;
}

/* Activity Table Premium Styling */
.view-all-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: 0.2s;
}

.view-all-link:hover {
    gap: 8px;
    opacity: 0.8;
}

.table-responsive {
    overflow-x: auto;
}

.activity-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
}

.activity-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #f1f5f9;
}

.activity-table td {
    padding: 16px;
    font-size: 0.88rem;
    color: var(--text-body);
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
}

.activity-table tr:last-child td {
    border-bottom: none;
}

.activity-table tr:hover td {
    background: #f8fafc;
}

.activity-type {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.activity-type iconify-icon {
    font-size: 1.4rem;
    padding: 8px;
    border-radius: 10px !important;
}

.activity-type.recharge iconify-icon {
    background: #ecfdf5;
    color: #10b981;
}

.activity-type.buy iconify-icon {
    background: #fef2f2;
    color: #ef4444;
}

.activity-type.update iconify-icon {
    background: #eff6ff;
    color: #3b82f6;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px !important;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.success {
    background: #ecfdf5;
    color: #10b981;
}

/* Plan Profile Widget Styling */
.plan-profile-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plan-status-tag {
    background: #eff6ff;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-main-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.plan-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.plan-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-head);
    margin: 0;
}

.plan-expiry {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}

.plan-stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.plan-stat-item .stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.plan-stat-item .stat-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-head);
}

.plan-mini-banks {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mini-bank-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
    border: 1px solid #f1f5f9;
    background: white;
}

.btn-renew-plan {
    width: 100%;
    padding: 14px;
    background: var(--text-head);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-renew-plan:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 109, 185, 0.2);
}

.referral-teaser {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: 1px dashed #e2e8f0;
}

.ref-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-head);
}

.ref-desc {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

/* Support Mini Card */
.support-mini-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    margin-top: 5px;
}

.support-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-head);
    font-weight: 700;
    font-size: 0.82rem;
}

.support-header iconify-icon {
    font-size: 1.2rem;
    color: var(--primary);
}

.support-channels {
    display: flex;
    gap: 10px;
}

.channel-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    text-decoration: none !important;
    transition: 0.3s;
}

.channel-item iconify-icon {
    font-size: 1.1rem;
}

.channel-item span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-head);
}

.channel-item:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    border: 1px solid var(--primary-glow);
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-wrapper {
        margin-left: 0;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
        display: none;
        backdrop-filter: blur(4px);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.show {
        display: block;
        opacity: 1;
    }

    /* Scroll Lock when sidebar is open */
    body.sidebar-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
        touch-action: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-row {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .mobile-toggle-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border-light);
        border-radius: 12px;
        background: white;
        font-size: 1.6rem;
        cursor: pointer;
        position: relative;
        z-index: 1100;
        transition: all 0.2s ease;
        padding: 0;
        color: var(--text-head);
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-toggle-btn:active {
        background: #f1f5f9;
        transform: scale(0.95);
    }

    .mobile-toggle-btn iconify-icon {
        pointer-events: none;
    }

    .header-actions {
        display: none !important;
    }
}

.mobile-toggle-btn {
    display: none;
}

/* Fix for mobile menu overlap */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        padding: 0 16px;
    }

    .content-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .top-bar-right {
        gap: 8px;
    }

    .top-item-btn {
        width: 38px;
        height: 38px;
    }

    /* Hide fullscreen on mobile as per user request */
    #fullscreenTrigger {
        display: none !important;
    }

    /* Ensure other critical triggers are visible */
    #notificationTrigger,
    #userDropdownTrigger {
        display: flex !important;
    }

    .logo-area {
        padding-bottom: 24px;
    }

    .nav-link {
        padding: 12px;
        gap: 12px;
    }

    .icon-wrap {
        width: 34px;
        height: 34px;
    }

    .bank-grid-neo {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .bank-card-neo {
        padding: 5px;
    }

    .bank-card-neo img {
        height: 42px;
        width: 42px;
        border-radius: 10px !important;
    }

    .bank-name {
        font-size: 0.6rem;
    }

    .top-bar {
        padding: 0 15px;
    }

    .user-info-text {
        display: none;
    }
}

.login-body {
    background-color: var(--bg-main);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 0% 0%, rgba(16, 109, 185, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(16, 109, 185, 0.05) 0%, transparent 40%);
}

.login-container {
    width: 100%;
    max-width: 500px;
    padding: 24px;
    z-index: 10;
}

.login-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-light);
}

.login-brand-logo {
    display: block;
    width: 180px;
    margin: 0 auto 16px;
    transition: 0.3s;
}

.login-brand-logo:hover {
    transform: scale(1.05);
}

.login-form-header {
    margin-bottom: 16px;
}

.login-form-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-head);
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.login-form-header p {
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 500;
}

.login-form-group {
    margin-bottom: 20px;
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #94a3b8;
    transition: 0.3s;
}

.login-password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: #94a3b8;
    cursor: pointer;
    transition: 0.3s;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.login-password-toggle:hover {
    color: var(--primary);
}

.login-form-control {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-light);
    border-radius: 8px;
    padding: 12px 16px 12px 48px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-head);
    transition: all 0.3s;
}

.login-form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.login-form-control:focus+.login-input-icon {
    color: var(--primary);
}

.login-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 0.88rem;
}

.login-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-body);
    font-weight: 600;
}

.login-checkbox-wrap input {
    width: 17px;
    height: 17px;
    padding: 0;
    margin: 0;
    border-radius: 4px;
    border: 1.5px solid var(--border-light);
    cursor: pointer;
}

.login-btn-forgot {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: 0.2s;
}

.login-btn-forgot:hover {
    color: var(--primary);
}

.login-btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-social-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.login-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1.5px solid var(--border-light);
    font-size: 1.25rem;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.login-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.login-social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.login-social-btn.zalo:hover {
    border-color: #0068ff;
    color: #0068ff;
}

.login-social-btn.discord:hover {
    border-color: #5865f2;
    color: #5865f2;
}

.login-social-btn.telegram:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.login-btn-submit:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    color: white;
}

.login-social-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.login-social-divider::before,
.login-social-divider::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: var(--border-light);
}

.login-register-footer {
    margin-top: 24px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-body);
    font-weight: 600;
}

.login-register-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Profile Page Styles */
.profile-header-neo {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px 0;
}

.profile-avatar-wrap {
    position: relative;
    width: 120px;
    height: 120px;
}

.profile-avatar-large {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-change-avatar {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(16, 109, 185, 0.4);
    cursor: pointer;
    transition: 0.3s;
}

.btn-change-avatar:hover {
    transform: scale(1.1);
}

.profile-name-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-display-name {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-head);
    letter-spacing: -0.5px;
}

.profile-badge-role {
    padding: 6px 16px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-block;
    width: fit-content;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-head);
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-head);
    transition: 0.3s;
}

.form-input:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #f1f5f9;
}

.input-with-icon {
    position: relative;
}

.input-with-icon iconify-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.profile-form .btn-premium,
.profile-form .btn-premium-outline {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 800;
    border-radius: 14px !important;
}

.input-with-icon .form-input {
    padding-left: 48px;
}

.session-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.session-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 12px;
}

.session-icon {
    width: 44px;
    height: 44px;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.session-details {
    display: flex;
    flex-direction: column;
}

.session-label {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 600;
}

.session-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-head);
}

.alert-info-neo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.alert-info-neo iconify-icon {
    font-size: 1.3rem;
}

@media (max-width: 768px) {
    .profile-header-neo {
        flex-direction: column;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Premium Profile Redesign Styles */
.profile-premium-container {
    width: 100%;
}

.profile-card-premium {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
}

.profile-cover-area {
    height: 160px;
    background: linear-gradient(135deg, var(--primary), #0c4a8a);
    position: relative;
    overflow: hidden;
}

.cover-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.profile-identity-section {
    padding: 0 40px 24px;
    margin-top: -45px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    flex-wrap: wrap;
}

.identity-left {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    flex: 1;
}

.avatar-container {
    position: relative;
    z-index: 10;
}

.avatar-glass {
    width: 140px;
    height: 140px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: visible;
}

.main-avatar {
    width: 100%;
    height: 100%;
    border-radius: 34px;
    object-fit: cover;
}

.avatar-upload-trigger {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 34px;
    height: 34px;
    background: var(--primary);
    color: white;
    border: 3px solid white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(16, 109, 185, 0.4);
    cursor: pointer;
    transition: 0.3s;
    z-index: 1001;
}

.avatar-upload-trigger iconify-icon {
    font-size: 1.1rem;
}

.avatar-upload-trigger:hover {
    transform: scale(1.1);
    background: #0c4a8a;
}

.user-main-meta {
    padding-bottom: 15px;
}

.name-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.user-full-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-head);
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.role-pill {
    padding: 4px 12px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #e2e8f0;
}

.meta-bottom-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
}

.meta-item {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.meta-item iconify-icon {
    font-size: 1.1rem;
    color: #94a3b8;
}

/* Vertical Separator for Meta */
.meta-bottom-row .meta-item:not(:last-child)::after {
    content: '';
    width: 4px;
    height: 4px;
    background: #cbd5e1;
    border-radius: 50%;
    margin-left: 15px;
}

.identity-right {
    padding-bottom: 5px;
}

.stats-compact-grid {
    display: flex;
    gap: 16px;
}

.stat-box-neo {
    background: white;
    padding: 12px 20px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    min-width: 180px;
    transition: 0.3s;
}

.stat-box-neo:hover {
    transform: translateY(-3px);
    border-color: var(--primary-glow);
    box-shadow: 0 10px 25px rgba(16, 109, 185, 0.08);
}

.s-icon-wrap {
    width: 44px;
    height: 44px;
    background: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    border-radius: 12px;
}

.s-content {
    display: flex;
    flex-direction: column;
}

.s-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.s-value {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-head);
}

.premium-panel {
    background: white;
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(241, 245, 249, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.panel-header-neo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.panel-header-neo iconify-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.panel-header-neo h5 {
    margin: 0;
    font-weight: 800;
    color: var(--text-head);
    font-size: 1.05rem;
}

.premium-form-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row-neo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-neo {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.form-group-neo label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-head);
}

.input-wrap-neo {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap-neo iconify-icon {
    position: absolute;
    left: 18px;
    font-size: 1.2rem;
    color: #94a3b8;
    transition: 0.3s;
}

.input-wrap-neo input {
    width: 100%;
    padding: 14px 18px 14px 50px;
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-head);
    transition: 0.3s;
}

.input-wrap-neo input:focus {
    outline: none;
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-wrap-neo input:focus+iconify-icon {
    color: var(--primary);
}

.input-wrap-neo.disabled input {
    background: #f1f5f9;
    cursor: not-allowed;
    color: #64748b;
}

.btn-premium-action {
    width: 100%;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary), #0c4a8a);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(16, 109, 185, 0.2);
}

.btn-premium-outline-action {
    width: 100%;
    padding: 16px;
    background: white;
    color: var(--text-head);
    border: 2px solid #f1f5f9;
    border-radius: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-premium-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(16, 109, 185, 0.3);
}

.btn-premium-outline-action:hover {
    background: #f8fafc;
    border-color: var(--primary);
    color: var(--primary);
}

.session-list-premium {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.session-card-neo {
    padding: 15px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #f1f5f9;
    position: relative;
}

.s-icon {
    width: 42px;
    height: 42px;
    background: white;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.3rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.03);
}

.s-icon.active {
    color: var(--primary);
    background: var(--primary-glow);
}

.s-info {
    display: flex;
    flex-direction: column;
}

.s-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
}

.s-val {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-head);
}

.s-status-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #10b981;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 6px;
}

.referral-box-premium {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 25px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    color: white;
}

.ref-icon-bg {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.ref-content {
    position: relative;
    z-index: 1;
}

.ref-content h6 {
    font-weight: 800;
    margin-bottom: 10px;
}

.ref-content p {
    font-size: 0.85rem;
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-ref-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none !important;
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-ref-link:hover {
    color: var(--primary);
}

@media (max-width: 991px) {
    .profile-identity-section {
        justify-content: center;
        text-align: center;
        margin-top: -50px;
        padding: 0 20px 30px;
        gap: 0px;
    }

    .identity-left {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .name-badge-row {
        justify-content: center;
    }

    .meta-bottom-row {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .meta-bottom-row .meta-item:not(:last-child)::after {
        display: none;
    }

    .identity-right {
        width: 100%;
        margin-top: 20px;
    }

    .stats-compact-grid {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .profile-cover-area {
        height: 120px;
    }

    .avatar-glass {
        width: 110px;
        height: 110px;
    }

    .user-full-name {
        font-size: 1.5rem;
    }

    .stats-compact-grid {
        flex-direction: column;
        width: 100%;
    }

    .stat-box-neo {
        min-width: unset;
        width: 100%;
    }

    .form-row-neo {
        grid-template-columns: 1fr;
    }
}

/* Premium Toast Styles */
.premium-toast {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 20px 40px rgba(16, 109, 185, 0.12) !important;
    border-radius: 20px !important;
    padding: 10px 15px !important;
}

.premium-toast-title {
    font-size: 0.95rem !important;
    font-weight: 900 !important;
    color: #1a202c !important;
    margin-bottom: 2px !important;
}

.premium-toast-content {
    font-size: 0.85rem !important;
    color: #4a5568 !important;
    font-weight: 600 !important;
}

/* Success Icon Color */
.swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: var(--primary) !important;
}

.swal2-icon.swal2-success {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border: .25em solid rgba(16, 109, 185, .2) !important;
}

/* Progress Bar Color */
.swal2-timer-progress-bar {
    background: var(--primary) !important;
    height: 4px !important;
    border-radius: 0 0 20px 20px !important;
}

.swal2-toast-show {
    animation: swal2-toast-show 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

@keyframes swal2-toast-show {
    0% {
        transform: translateY(-20px) scale(0.9);
        opacity: 0;
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

/* Base SweetAlert2 Popup Responsive Fix */
.swal2-container {
    z-index: 9999 !important;
}

.swal2-popup {
    width: 90% !important;
    max-width: 450px !important;
    border-radius: 10px !important;
    padding: 2.5rem 1.5rem !important;
}

@media (max-width: 576px) {
    .swal2-popup {
        width: 90% !important;
        margin: 0 auto !important;
        padding: 2rem 1rem !important;
        border-radius: 20px !important;
    }

    .swal2-title {
        font-size: 1.4rem !important;
    }

    .swal2-html-container {
        font-size: 0.9rem !important;
    }

    .swal2-actions {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .swal2-actions button {
        width: 100% !important;
        margin: 0 !important;
        padding: 12px !important;
        border-radius: 12px !important;
    }
}


/* Payment Methods Grid */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
}

.payment-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: var(--radius);
    padding: 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.payment-card:hover {
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.payment-card.active {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(16, 109, 185, 0.1);
}

.payment-card .p-check {
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--primary);
    font-size: 1.2rem;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.3s;
}

.payment-card.active .p-check {
    opacity: 1;
    transform: scale(1);
}

.bank-logo-wrap {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: calc(var(--radius) * 0.8);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.bank-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.payment-card:hover .bank-logo,
.payment-card.active .bank-logo {
    filter: grayscale(0);
    opacity: 1;
}

.bank-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.b-name {
    display: block;
    font-weight: 800;
    font-size: 0.9rem;
    color: #1a202c;
}

.b-tag {
    display: inline-block;
    font-size: 0.65rem;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
}

/* QR Frame tech design */
.qr-frame {
    position: relative;
    width: 240px;
    margin: 0 auto;
    padding: 15px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.qr-inner img {
    width: 100%;
    border-radius: calc(var(--radius) * 0.6);
    display: block;
}

.qr-frame [class^="corner-"] {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid var(--primary);
    z-index: 2;
}

.corner-tl {
    top: -5px;
    left: -5px;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-radius: var(--radius) 0 0 0;
}

.corner-tr {
    top: -5px;
    right: -5px;
    border-left: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 var(--radius) 0 0;
}

.corner-bl {
    bottom: -5px;
    left: -5px;
    border-right: 0 !important;
    border-top: 0 !important;
    border-radius: 0 0 0 var(--radius);
}

.corner-br {
    bottom: -5px;
    right: -5px;
    border-left: 0 !important;
    border-top: 0 !important;
    border-radius: 0 0 var(--radius) 0;
}

.scan-line {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    z-index: 3;
    animation: scan 3s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes scan {

    0%,
    100% {
        top: 15px;
    }

    50% {
        top: calc(100% - 17px);
    }
}

.qr-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.badge-neo {
    padding: 6px 14px;
    background: #f1f5f9;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}

.badge-neo.info {
    background: #eff6ff;
    color: #2563eb;
}

.badge-neo.success {
    background: #ecfdf5;
    color: #059669;
}

.badge-neo iconify-icon {
    font-size: 1rem;
}

/* Transfer Details Nebula style */
.transfer-info-list {
    background: #f8fafc;
    padding: 20px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.t-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.t-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.t-value-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1a202c;
}

.highlight-nebula {
    background: linear-gradient(135deg, rgba(16, 109, 185, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%) !important;
    margin: 5px -10px;
    padding: 15px 10px !important;
    border-radius: var(--radius) !important;
    border: 1px dashed rgba(16, 109, 185, 0.3) !important;
}

.text-nebula {
    color: var(--primary) !important;
    font-weight: 900 !important;
}

.copy-btn {
    border: none;
    background: white;
    color: var(--primary);
    padding: 4px;
    border-radius: calc(var(--radius) * 0.5);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: 0.2s;
    display: flex;
}

.copy-btn:hover {
    background: var(--primary);
    color: white;
}

/* Notice Box */
.recharge-notice-neo {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff9f0;
    border-radius: var(--radius);
    border: 1px solid #fee2e2;
}

.n-icon {
    font-size: 1.8rem;
    color: #f59e0b;
}

.n-text h6 {
    font-weight: 900;
    margin-bottom: 5px;
    color: #92400e;
}

.n-text ul {
    margin: 0;
    padding-left: 18px;
}

.n-text li {
    font-size: 0.85rem;
    color: #b45309;
    font-weight: 500;
}

/* Table Customization */
.recharge-table-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.premium-table-neo {
    margin: 0;
}

.premium-table-neo thead th {
    background: #f8fafc;
    border: none;
    padding: 15px 20px;
    font-size: 0.8rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.premium-table-neo tbody td {
    padding: 15px 20px;
    vertical-align: middle;
    border-top: 1px solid #f8fafc;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.empty-icon-wrap {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.empty-icon-wrap iconify-icon {
    font-size: 2.5rem;
    color: #cbd5e1;
}

/* Security & 2FA */
.btn-danger-neo {
    background: #fef2f2 !important;
    color: #ef4444 !important;
    border: 1px solid #fee2e2 !important;
}

.btn-danger-neo:hover {
    background: #ef4444 !important;
    color: white !important;
}

.custom-modal-neo .modal-content {
    border: none;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.btn-close-neo {
    background: #f1f5f9;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: 0.3s;
}

.btn-close-neo:hover {
    background: #ef4444;
    color: white;
}

.input-wrap-neo .input-neo {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border-radius: var(--radius);
    border: 2px solid #f1f5f9;
    background: #f8fafc;
    font-weight: 700;
    transition: 0.3s;
    font-size: 0.95rem;
}

.input-wrap-neo .input-neo:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.input-wrap-neo {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrap-neo iconify-icon {
    position: absolute;
    left: 15px;
    font-size: 1.2rem;
    color: #94a3b8;
}

.label-neo {
    font-weight: 800;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 8px;
    display: block;
}

.btn-premium-action {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.4s;
    cursor: pointer;
}

.btn-premium-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-premium-action:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --- Rent Bank Pricing Styles --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.pricing-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 109, 185, 0.1);
    border-color: var(--primary);
}

.pricing-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #f8fafc;
}

.pricing-name {
    font-weight: 850;
    font-size: 1.1rem;
    color: var(--text-head);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.price-value {
    font-size: 2.4rem;
    font-weight: 950 !important;
    color: var(--primary) !important;
    line-height: 1.2;
}

.price-period {
    font-size: 0.9rem;
    font-weight: 700;
    color: #94a3b8;
    margin-top: -5px;
}

.pricing-badge {
    display: inline-block;
    padding: 6px 16px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.pricing-body {
    padding: 30px;
    flex-grow: 1;
}

.bank-icons-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 25px;
    min-height: 24px;
}

.bank-icons-row img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: contain;
    background: #fff;
    border: 1px solid #f1f5f9;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.feature-list .feature-item {
    font-size: 0.82rem;
    color: var(--text-sub);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.pricing-footer {
    padding: 20px 30px 40px;
    position: relative;
    margin-top: auto;
}

.card-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ecfdf5" fill-opacity="1" d="M0,224L80,213.3C160,203,320,181,480,186.7C640,192,800,224,960,218.7C1120,213,1280,171,1360,149.3L1440,128L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
    z-index: 0;
}

.btn-pricing {
    position: relative;
    z-index: 1;
    width: 100%;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* --- Rent Bank Modal: Tier Chips --- */
.tier-option {
    display: none;
}

.tier-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tier-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    min-width: 100px;
    flex: 1;
    text-align: center;
}

.tier-option:checked+.tier-label {
    border-color: var(--primary, #4361ee);
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    box-shadow: 0 4px 14px rgba(67, 97, 238, 0.18);
}

.tier-label .tier-days {
    font-weight: 800;
    font-size: 14px;
    color: #1e293b;
}

.tier-option:checked+.tier-label .tier-days {
    color: #1d4ed8;
}

.tier-label .tier-price {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 3px;
}

.tier-option:checked+.tier-label .tier-price {
    color: #3b82f6;
}

/* Coupon input */
.coupon-wrap {
    position: relative;
}

.coupon-wrap input {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 10px 82px 10px 16px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    background: #f8fafc;
}

.coupon-wrap input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

.coupon-wrap button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 700;
}

/* Modal bank icons row */
.modal-bank-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 4px;
}

.modal-bank-row img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    object-fit: contain;
    background: #f1f5f9;
    padding: 3px;
    border: 1px solid #e2e8f0;
}

/* Order summary box */
.rent-summary {
    background: linear-gradient(135deg, #f8faff 0%, #eff6ff 100%);
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 16px 20px;
}

/* E-Captcha Styles */
.captcha-hero {
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: calc(var(--radius) * 1.5);
    padding: 40px;
    color: white;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.captcha-hero-content {
    position: relative;
    z-index: 2;
}

.captcha-hero-icon {
    position: absolute;
    right: -30px;
    bottom: -30px;
    font-size: 15rem;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.captcha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 25px;
}

.captcha-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--radius);
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.captcha-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    border-color: var(--primary);
}

.captcha-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.captcha-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-logo-wrapper {
    width: 54px;
    height: 54px;
    background: #f8fafc;
    border-radius: calc(var(--radius) * 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid #f1f5f9;
}

.brand-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name-wrap h6 {
    font-weight: 950;
    font-size: 1rem;
    color: var(--text-head);
    margin: 0;
    letter-spacing: -0.5px;
}

.brand-name-wrap span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.captcha-price-row {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 10px;
}

.price-container {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.price-value {
    font-size: 1.6rem;
    font-weight: 950;
    color: var(--primary);
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-value span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-sub);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #10b981;
    background: #f0fdf4;
    padding: 6px 12px;
    border-radius: 100px;
    border: 1px solid #dcfce7;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.btn-use-captcha {
    background: #1e293b;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: calc(var(--radius) * 0.7);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-use-captcha:hover {
    background: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(16, 109, 185, 0.2);
}

@media (max-width: 768px) {
    .captcha-grid {
        grid-template-columns: 1fr;
    }

    .captcha-hero {
        padding: 30px 20px;
    }
}

/* Banking & MBBank CSS */
.page-header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.btn-add-bank {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 12px !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 12px var(--primary-glow);
    text-decoration: none !important;
}

.btn-add-bank:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
    filter: brightness(1.1);
    color: white;
}

.form-label-custom {
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
}

.form-control-custom {
    background: #fdfdfd;
    border: 1px solid var(--border-light);
    border-radius: 12px !important;
    padding: 12px 16px;
    font-size: 0.9rem;
    transition: 0.3s;
    width: 100%;
}

.form-control-custom:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    outline: none;
}

.checkbox-container {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.5;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-submit-bank {
    background: var(--primary);
    color: white;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 12px !important;
    font-weight: 700;
    margin-top: 24px;
    transition: 0.3s;
}

.btn-submit-bank:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

.bank-item-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px !important;
    padding: 20px;
    margin-bottom: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bank-item-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.bank-info {
    display: flex;
    align-items: center;
    gap: 0;
}

.bank-logo-box {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px !important;
    background: white;
    border: 1px solid #f1f5f9;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.bank-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    text-align: left;
}

.bank-acc-name {
    font-weight: 800;
    color: var(--text-head);
    font-size: 1rem;
}

.bank-acc-num {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 20px !important;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: var(--primary-glow);
    color: var(--primary);
}

.status-inactive {
    background: #f1f5f9;
    color: #64748b;
}

.bank-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .page-header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .btn-add-bank {
        width: 100%;
        justify-content: center;
    }

    .bank-item-card {
        padding: 24px 20px 20px 20px;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        gap: 10px;
    }

    .bank-info {
        width: 100%;
    }

    .bank-acc-name {
        font-size: 1.1rem;
        display: block;
        padding-right: 40px;
        word-break: break-all;
        color: var(--text-head);
    }

    .bank-acc-num {
        margin-top: 4px;
        display: block;
        font-size: 0.85rem;
        color: var(--text-body);
        opacity: 0.8;
    }

    .bank-actions {
        width: 100%;
        margin-top: 6px;
        padding-top: 16px;
        border-top: 1px dashed #e2e8f0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .bank-item-card .dropdown {
        position: absolute;
        top: 20px;
        right: 16px;
    }

    .top-item-btn {
        width: 36px;
        height: 36px;
        background: #f8fafc;
        border: 1px solid #f1f5f9;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .status-badge {
        padding: 5px 12px;
        font-size: 0.7rem;
    }
}

/* Modal Premium Styling */
.modal-content-premium {
    border: none;
    border-radius: var(--radius) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.modal-header-premium {
    border-bottom: 1px solid #f1f5f9;
    padding: 24px 32px;
    background: #fdfdfd;
    border-radius: var(--radius) var(--radius) 0 0 !important;
}

.modal-title-premium {
    font-weight: 900;
    color: var(--text-head);
    font-size: 1.25rem;
}

.modal-body-premium {
    padding: 32px;
}

.close-modal-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: 0.3s;
}

.close-modal-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* --- MBBank History Styling --- */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 24px;
}

.btn-back:hover {
    background: #f8fafc;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.account-mini-card {
    background: #fff;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-bar {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    flex: 1;
}

.date-input-wrapper,
.select-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.date-input-wrapper label,
.select-input-wrapper label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
}

.date-input-custom,
.select-input-custom {
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #1e293b;
    font-weight: 600;
    min-width: 160px;
    transition: all 0.2s ease;
}

.date-input-custom:focus,
.select-input-custom:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 153, 255, 0.1);
}

.btn-filter {
    height: 48px;
    padding: 0 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 153, 255, 0.3);
}

.btn-sync-premium {
    height: 48px;
    padding: 0 24px;
    background: #fff;
    color: #1e293b;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-sync-premium:hover {
    border-color: #10b981;
    color: #10b981;
    background: #f0fdf4;
}

.history-panel {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.history-table thead th {
    background: #f8fafc;
    padding: 18px 24px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 1px;
    border-bottom: 2px solid #f1f5f9;
}

.transaction-card td {
    padding: 20px 24px;
    vertical-align: middle;
    border-bottom: 1px solid #f1f5f9;
}

.transaction-card:hover {
    background-color: #f8fafc;
}

.pagination-container {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }

    .date-input-custom,
    .select-input-custom {
        min-width: 100%;
    }

    .btn-sync-premium {
        width: 100%;
        justify-content: center;
    }
}

/* --- Layout & Utilities --- */
.header-button-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 768px) {
    .header-button-group {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-add-bank {
        width: 100%;
        justify-content: center;
    }
}

/* ZaloPay Custom Styles - Harmonized with Website Theme */
.zalopay-theme {
    --primary-zp: var(--primary);
    /* Use website primary blue */
    --secondary-zp: #0c4a8a;
    /* Darker shade for gradient matching */
    --accent-zp: #ffffff;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 2px dashed #e2e8f0;
    margin-bottom: 20px;
    position: relative;
    min-height: 250px;
}

.qr-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.qr-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    z-index: 10;
}

.qr-refresh-btn {
    margin-top: 15px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--primary) !important;
    color: white;
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.qr-refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--primary-glow);
}

.login-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: white;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.step-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
}

.step-number {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.4;
}

.login-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.status-waiting {
    background: #fef3c7;
    color: #92400e;
}

.status-success {
    background: #ecfdf5;
    color: #065f46;
}

/* API Documentation Styles */
.api-docs-container {
    display: flex;
    gap: 24px;
    min-height: calc(100vh - 200px);
}

.api-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: var(--radius, 20px);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: fit-content;
    position: sticky;
    top: 20px;
    border: 1px solid var(--border-light, #f1f5f9);
}

.api-content {
    flex-grow: 1;
    background: white;
    border-radius: var(--radius, 24px);
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    min-width: 0;
    border: 1px solid var(--border-light, #f1f5f9);
}

.bank-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #64748b;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.bank-nav-item:hover {
    background: #f8fafc;
    color: var(--primary);
}

.bank-nav-item.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.bank-nav-item .icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    font-size: 1.2rem;
}

.bank-nav-item.active .icon-box {
    background: rgba(255, 255, 255, 0.2);
}

.api-section {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.api-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.endpoint-badge {
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.badge-post {
    background: #eef2ff;
    color: #4f46e5;
}

.badge-get {
    background: #ecfdf5;
    color: #059669;
}

.endpoint-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--border-light, #f1f5f9);
    border-radius: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.endpoint-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-color: var(--primary-glow, #e0f2fe);
}

.badge-post {
    background: #ecfdf5;
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.badge-get {
    background: #eff6ff;
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.code-block {
    background: #0f172a;
    border-radius: 12px;
    padding: 20px;
    color: #e2e8f0;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.85rem;
    position: relative;
    margin: 16px 0;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: pre;
    line-height: 1.6;
}

.code-block::before {
    content: attr(data-lang);
    position: absolute;
    top: 0;
    right: 20px;
    padding: 4px 8px;
    background: #334155;
    border-radius: 0 0 6px 6px;
    font-size: 0.7rem;
    color: #94a3b8;
}

.copy-code-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    transition: all 0.2s;
}

.copy-code-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.param-table {
    width: 100%;
    margin: 20px 0;
}

.param-table th {
    background: #f8fafc;
    padding: 12px;
    text-align: left;
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.param-table td {
    padding: 12px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.required-star {
    color: #ef4444;
    margin-left: 2px;
}

@media (max-width: 991px) {
    .api-docs-container {
        flex-direction: column;
    }

    .api-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        overflow-x: auto;
        display: flex;
        gap: 10px;
        padding: 10px;
    }

    .bank-nav-item {
        margin-bottom: 0;
        white-space: nowrap;
    }
}

.json-key {
    color: #fdba74;
}

.json-string {
    color: #86efac;
}

.json-number {
    color: #fb923c;
}

.endpoint-input-wrap {
    position: relative;
    margin: 16px 0;
}

.endpoint-url-display {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 100px 14px 16px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow-x: auto;
}

.endpoint-url-display b {
    color: var(--primary);
    font-weight: 700;
}

.endpoint-url-display .url-param {
    color: #f97316;
    background: rgba(249, 115, 22, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.copy-endpoint-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.2s;
    box-shadow: 0 2px 4px var(--primary-glow);
}

.copy-endpoint-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-50%) scale(1.02);
}


.qr-creator-container {
    width: 100%;
    margin: 0;
    padding: 0 15px;
}

@media (max-width: 768px) {
    .qr-creator-container {
        padding: 0 10px;
    }
}

.qr-config-panel,
.qr-preview-panel {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(226, 232, 240, 0.8);
    height: 100%;
    transition: all 0.4s ease;
}

@media (max-width: 1200px) {

    .qr-config-panel,
    .qr-preview-panel {
        padding: 25px;
    }
}

@media (max-width: 768px) {

    .qr-config-panel,
    .qr-preview-panel {
        padding: 20px 15px;
        border-radius: 20px;
    }
}

.qr-config-panel:hover,
.qr-preview-panel:hover {
    box-shadow: 0 20px 80px rgba(16, 109, 185, 0.05);
    border-color: rgba(16, 109, 185, 0.1);
}

.qr-preview-panel {
    text-align: center;
    position: sticky;
    top: 100px;
}

.form-label-premium {
    font-weight: 800;
    font-size: 0.8rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 14px;
    display: block;
}

.input-premium {
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 16px 20px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    outline: none;
    background: #f8fafc;
    color: #1e293b;
}

.input-premium:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 5px rgba(16, 109, 185, 0.06);
}

.download-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), #0c4a8a);
    color: white;
    border: none;
    border-radius: 18px;
    font-weight: 800;
    font-size: 1rem;
    margin-top: 30px;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(16, 109, 185, 0.25);
    filter: brightness(1.1);
}

.qr-placeholder {
    aspect-ratio: 1;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #94a3b8;
    gap: 18px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.qr-wrapper-premium {
    position: relative;
    padding: 30px;
    background: white;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
    display: inline-block;
}

.qr-frame-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.qr-frame-decor::before,
.qr-frame-decor::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 6px solid var(--primary);
}

.qr-frame-decor::before {
    top: 10px;
    left: 10px;
    border-right: 0;
    border-bottom: 0;
    border-radius: 20px 0 0 0;
}

.qr-frame-decor::after {
    top: 10px;
    right: 10px;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0 20px 0 0;
}

.qr-frame-decor-bottom::before,
.qr-frame-decor-bottom::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 6px solid var(--primary);
}

.qr-frame-decor-bottom::before {
    bottom: 10px;
    left: 10px;
    border-right: 0;
    border-top: 0;
    border-radius: 0 0 0 20px;
}

.qr-frame-decor-bottom::after {
    bottom: 10px;
    right: 10px;
    border-left: 0;
    border-top: 0;
    border-radius: 0 0 20px 0;
}

.scan-line-anim {
    position: absolute;
    top: 10%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 20px var(--primary);
    z-index: 10;
    animation: scanMove 3.5s infinite ease-in-out;
}

@keyframes scanMove {

    0%,
    100% {
        top: 10%;
        opacity: 0;
    }

    50% {
        top: 90%;
        opacity: 1;
    }
}


.select2-container--default .select2-selection--single {
    border: 2px solid #f1f5f9 !important;
    border-radius: 16px !important;
    height: 62px !important;
    display: flex;
    align-items: center;
    transition: all 0.3s !important;
    background: #f8fafc !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--primary) !important;
    background: white !important;
    box-shadow: 0 0 0 5px rgba(16, 109, 185, 0.06) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 20px !important;
    font-weight: 700;
    color: #1e293b !important;
    font-size: 1rem;
    display: flex;
    align-items: center;
    height: 100% !important;
    line-height: normal !important;
    /* Reset default line-height */
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    display: none !important;
}


.bank-selection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    /* margin-top: -2px; */
}

.bank-selection-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 2px;
    border: 1px solid #f1f5f9;
}

.bank-selection-name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    height: 100%;
    line-height: normal !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 60px !important;
    right: 18px !important;
}

.select2-dropdown {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden;
    margin-top: 10px;
}

.select2-search--dropdown {
    padding: 15px 20px !important;
    background: #fcfdfe;
}

.select2-search--dropdown .select2-search__field {
    border-radius: 12px !important;
    padding: 12px 18px !important;
    border: 1.5px solid #edf2f7 !important;
    background: white !important;
}

.select2-results__option {
    padding: 15px 20px !important;
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s ease;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #f0f7ff !important;
    color: var(--primary) !important;
}


.bank-option-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bank-option-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: white;
    padding: 4px;
    border: 1px solid #f1f5f9;
}

.bank-option-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bank-option-name {
    font-weight: 800;
    font-size: 1rem;
    color: #1e293b;
}

.bank-option-full {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}


.qr-capture-area {
    padding: 30px;
    background: white;
    display: inline-block;
    border-radius: 30px;
    max-width: 100%;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .qr-capture-area {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .qr-capture-area {
        padding: 15px;
        border-radius: 24px;
    }
}

.qr-wrapper-premium {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    background: white;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.qr-wrapper-premium canvas {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain;
}

@media (max-width: 576px) {
    .qr-wrapper-premium {
        max-width: 300px;
    }
}

.sticker-grid {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.sticker-item {
    flex: 1;
    background: #f8fafc;
    border: 2px solid #f1f5f9;
    border-radius: 16px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.sticker-item:hover {
    border-color: #cbd5e1;
    background: white;
    transform: translateY(-2px);
}

.sticker-item.active {
    border-color: var(--primary);
    background: #f0f7ff;
    box-shadow: 0 8px 20px rgba(16, 109, 185, 0.1);
}

.sticker-item span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #475569;
}

.sticker-preview {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sticker-preview.none {
    font-size: 0.7rem;
    font-weight: 800;
    color: #94a3b8;
}

.btn-upload-small {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    padding: 8px 16px;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-upload-small:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f9ff;
    transform: translateY(-1px);
}

.custom-logo-upload-wrapper {
    display: flex;
    align-items: center;
}

#logo-preview-box {
    display: flex;
    align-items: center;
    border-left: 1px solid #e2e8f0;
    padding-left: 15px;
}

.qr-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15%;
    min-width: 45px;
    max-width: 65px;
    aspect-ratio: 1;
    background: white;
    padding: 1.5%;
    border-radius: 20%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.qr-center-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-sticker {
    position: absolute;
    z-index: 6;
    pointer-events: none;
}

.sticker-scan-me {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(16, 109, 185, 0.3);
    white-space: nowrap;
}

.sticker-scan-me::after {
    content: 'SCAN ME';
}

.sticker-heart {
    bottom: 5px;
    right: 5px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    background-image: url('/assets/clients/images/cute.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sticker-heart::after {
    content: none;
}

.sticker-premium {
    top: -15px;
    right: -15px;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 6;
    background-image: url('/assets/clients/images/premium.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sticker-premium::after {
    content: none;
}


.qr-center-logo img,
.bank-logo-img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* API Documentation Styles */
.api-doc-method {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #3b71ed;
    background: rgba(59, 113, 237, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
}

.api-doc-endpoint {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s;
    margin-bottom: 12px;
}

.api-doc-endpoint:hover {
    border-color: #3b71ed;
    background: #fff;
    box-shadow: 0 4px 12px rgba(59, 113, 237, 0.08);
}

.endpoint-method {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    background: #3b71ed;
    padding: 3px 8px;
    border-radius: 5px;
    flex-shrink: 0;
}

.api-doc-endpoint code {
    color: #1e293b;
    font-size: 12px;
    font-weight: 700;
    background: none;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.api-doc-endpoint .copy-icon {
    color: #cbd5e1;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.2s;
}

.api-doc-endpoint:hover .copy-icon {
    color: #3b71ed;
}

.api-doc-code-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
}

.param-list {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.param-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.param-item:last-child {
    border-bottom: none;
}

.param-key {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    min-width: 110px;
    font-family: 'Space Grotesk', monospace;
}

.param-type {
    font-size: 10px;
    font-weight: 700;
    color: #3b71ed;
    background: rgba(59, 113, 237, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.param-type.type-success {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.08);
}

.param-desc {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.api-code-block {
    background: #0f172a;
    border: none;
    border-radius: 12px;
    padding: 16px 18px;
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
}

.api-code-block code {
    color: #e2e8f0 !important;
    background: none !important;
    padding: 0 !important;
    font-family: 'Space Grotesk', monospace !important;
}

/* Active Subscription Page Styles */
.card-plan-hero {
    position: relative;
    overflow: hidden;
    color: white;
    border-radius: 20px !important;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 100, 0.1);
}

.card-plan-hero.is-active {
    background: linear-gradient(135deg, #106db9 0%, #1e40af 100%);
}

.card-plan-hero.is-expired {
    background: linear-gradient(135deg, #64748b 0%, #334155 100%);
    filter: grayscale(0.2);
}

.card-plan-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.plan-icon-hex {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fbbf24;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.badge-status-premium {
    background: rgba(255, 255, 255, 0.23);
    padding: 5px 14px;
    border-radius: 100px !important;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    display: inline-block;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.plan-desc-premium {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.plan-meta-grid {
    margin-top: 24px;
}

.meta-item-premium {
    background: rgba(255, 255, 255, 0.08);
    padding: 16px;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.meta-item-premium:hover {
    background: rgba(255, 255, 255, 0.15);
}

.meta-label-premium {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.meta-value-premium {
    font-weight: 800;
    font-size: 15px;
    color: white;
}

.plan-features-card {
    background: rgba(255, 255, 255, 0.98);
    color: #1e293b;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

.banks-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.bank-pill-premium {
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 12px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.bank-pill-premium:hover {
    background: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.bank-logo-xs-premium {
    width: 24px;
    height: 24px;
    border-radius: 6px !important;
    object-fit: contain;
}

.bank-pill-code-premium {
    font-size: 12px;
    font-weight: 800;
    color: #1e293b;
}

.no-plan-box-premium {
    background: #fff;
    border: 2px dashed #e2e8f0;
    border-radius: 20px !important;
}

.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-primary {
    color: var(--primary) !important;
}

/* Cron Action Buttons */
.cron-action-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    position: relative;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
}

.cron-action-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

.cron-action-btn.renew {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.1);
}

.cron-action-btn.renew:hover {
    background: #10b981;
    color: white;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.25);
}

.cron-action-btn.edit {
    background: rgba(16, 109, 185, 0.08);
    color: var(--primary);
    border-color: rgba(16, 109, 185, 0.1);
}

.cron-action-btn.edit:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(16, 109, 185, 0.25);
}

.cron-action-btn.delete {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.1);
}

/* Premium Input Group */
.input-group-premium {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2.5px solid #f1f5f9;
    border-radius: 16px !important;
    padding: 0 18px;
    height: 60px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-group-premium:focus-within {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(16, 109, 185, 0.06);
}

.input-group-premium .icon-left {
    font-size: 1.4rem;
    color: #94a3b8;
    margin-right: 12px;
    transition: 0.3s;
}

.input-group-premium:focus-within .icon-left {
    color: var(--primary);
}

.input-group-premium .form-control-premium {
    background: transparent;
    border: none;
    height: 100%;
    padding: 0;
    font-size: 1.05rem;
    color: #1e293b;
    flex: 1;
}

.input-group-premium .form-control-premium:focus {
    box-shadow: none;
    outline: none;
}

.input-group-premium .unit-text {
    font-weight: 800;
    font-size: 0.85rem;
    color: #64748b;
    background: white;
    padding: 6px 14px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* Premium Status Toggle */
.status-toggle-premium {
    display: flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 14px;
    gap: 6px;
    border: 1px solid #e2e8f0;
}

.status-toggle-item {
    flex: 1;
    position: relative;
}

.status-toggle-item input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.status-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-toggle-item input:checked+.status-toggle-label {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.status-toggle-item:nth-child(1) input:checked+.status-toggle-label {
    color: #10b981;
}

.status-toggle-item:nth-child(2) input:checked+.status-toggle-label {
    color: #3b82f6;
    /* Changed to primary-blue for active */
}

.status-toggle-item-expired {
    color: #ef4444;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.status-toggle-item input:checked+.status-toggle-label iconify-icon {
    transform: scale(1.15);
}

.premium-toast-container {
    padding: 15px !important;
}

.premium-toast {
    font-family: 'Inter', 'Outfit', sans-serif !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    max-width: 350px !important;
    width: auto !important;
    align-items: center !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.premium-toast-title {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.premium-toast-content {
    font-size: 0.85rem !important;
    color: #64748b !important;
    margin-top: 4px !important;
}

/* SweetAlert2 Toast Premium Styles */
.swal2-container.swal2-top-end {
    right: 0 !important;
    top: 0 !important;
    padding: 10px !important;
    z-index: 99999 !important;
    pointer-events: none;
}

.swal2-toast {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border-radius: 12px !important;
    padding: 12px 15px !important;
    font-family: 'Space Grotesk', sans-serif !important;
    width: auto !important;
    max-width: calc(100vw - 20px) !important;
    min-width: 250px !important;
    margin: 5px !important;
    display: flex !important;
    align-items: center !important;
    background: #fff !important;
    border: none !important;
    pointer-events: auto;
}

@media (max-width: 576px) {
    .swal2-container.swal2-top-end {
        left: auto !important;
        right: 0 !important;
        padding: 10px !important;
        display: block !important;
    }

    .swal2-toast {
        max-width: 280px !important;
        margin-right: 5px !important;
        margin-left: auto !important;
    }
}

/* Login Decoration Blobs */
.login-blob {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 109, 185, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    filter: blur(40px);
}

.login-blob-1 {
    top: -100px;
    left: -100px;
}

.login-blob-2 {
    bottom: -150px;
    right: -100px;
}

@media (max-width: 768px) {
    .login-blob {
        width: 300px;
        height: 300px;
        opacity: 0.5;
    }
}

.swal2-toast .swal2-title {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #1e293b !important;
    padding: 0 0 0 10px !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    flex-grow: 1 !important;
    white-space: normal !important;
}

.swal2-toast .swal2-icon {
    margin: 0 !important;
    transform: scale(0.5);
    transform-origin: center center;
    flex-shrink: 0 !important;
}

/* Success Icon Custom color */
.swal2-toast .swal2-icon.swal2-success {
    border-color: var(--primary) !important;
}

.swal2-toast .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: var(--primary) !important;
}

.swal2-toast .swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(16, 109, 185, 0.2) !important;
}

/* API Documentation Styles */
.endpoint-badge {
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
}

.badge-post {
    background: #10b981;
    color: #fff;
}

.badge-get {
    background: #3b82f6;
    color: #fff;
}

.endpoint-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.endpoint-url-display {
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    color: #334155;
    border: 1px solid #e2e8f0;
    word-break: break-all;
}

.param-table {
    width: 100%;
    margin-top: 10px;
}

.param-table th {
    background: #f8fafc;
    padding: 10px;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
}

.param-table td {
    padding: 12px 10px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.required-star {
    color: #ef4444;
    margin-left: 2px;
}

.code-block {
    background: #1e293b;
    color: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    margin-top: 10px;
    position: relative;
    white-space: pre-wrap;
}

.code-block::before {
    content: attr(data-lang);
    position: absolute;
    top: 0;
    right: 20px;
    padding: 4px 8px;
    background: #334155;
    color: #94a3b8;
    font-size: 10px;
    border-radius: 0 0 8px 8px;
}

.json-key {
    color: #7dd3fc;
}

.json-string {
    color: #86efac;
}

.json-number {
    color: #fdba74;
}
/* Page Content Styles */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-header {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 10px;
}

.breadcrumb {
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    font-size: 0.85rem;
    font-weight: 600;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.page-content-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.page-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-body);
}

.page-body h1, .page-body h2, .page-body h3, .page-body h4, .page-body h5, .page-body h6 {
    color: var(--text-head);
    font-weight: 800;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.page-body p {
    margin-bottom: 1rem;
}

.page-body ul, .page-body ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.page-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.page-body a:hover {
    color: #0c4a8a;
    text-decoration: underline;
}

.page-body blockquote {
    padding: 20px;
    background: var(--bg-main);
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    margin: 1.5rem 0;
    font-style: italic;
}


/* Make page content full width */
.page-container {
    max-width: 100% !important;
    width: 100% !important;
}


/* Guest Alert Welcome Section */
.guest-alert-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.guest-alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
}

.guest-alert-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.guest-alert-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-head);
    margin-bottom: 8px;
}

.guest-alert-desc {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.guest-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.social-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.social-divider::before, .social-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-light);
}

.social-login-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.social-btn-item {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: 0.3s;
    background: white;
    text-decoration: none !important;
}

.social-btn-item:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 6px 15px var(--primary-glow);
}


/* Compact Guest Alert */
.guest-alert-card {
    padding: 16px 24px !important;
    display: flex !important;
    align-items: center !important;
    text-align: left !important;
    gap: 20px !important;
    flex-wrap: wrap !important;
}

.guest-alert-card::before {
    width: 4px !important;
}

.guest-alert-icon {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.4rem !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.guest-info-side {
    flex: 1 !important;
    min-width: 200px !important;
}

.guest-alert-title {
    font-size: 1.1rem !important;
    margin-bottom: 2px !important;
}

.guest-alert-desc {
    font-size: 0.85rem !important;
    margin-bottom: 0 !important;
    max-width: 100% !important;
}

.guest-actions {
    margin-bottom: 0 !important;
    gap: 10px !important;
}

.guest-actions .btn-premium, 
.guest-actions .btn-premium-outline {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
}

.social-divider {
    margin-bottom: 0 !important;
    font-size: 0.7rem !important;
    width: 100% !important;
    margin: 10px 0 !important;
}

.social-login-icons {
    gap: 12px !important;
    width: 100% !important;
    justify-content: flex-start !important;
}

.social-btn-item {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.1rem !important;
}

