/* Global Neon + Glassmorphism Theme --------------------------------------- */
body {
    min-height: 100vh;
    background: radial-gradient(circle at top, #1b2b3b, #050615 60%, #02030a 100%);
    color: #f8f9fa;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.neo-bg-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 255, 204, 0.14), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(93, 0, 255, 0.22), transparent 55%),
        radial-gradient(circle at 50% 90%, rgba(255, 215, 0, 0.12), transparent 55%);
    opacity: 0.65;
    pointer-events: none;
    z-index: -1;
}

.neo-main {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
}

.glass-card {
    border-radius: 22px;
    background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.3), transparent 55%),
    radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.24), transparent 55%),
    rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.85),
        0 0 35px rgba(59, 130, 246, 0.25);
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
}

.glass-inner {
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.9);
    padding: 0.65rem 0.9rem;
}

.neo-navbar {
    margin: 1.25rem 1.5rem 0.5rem;
    border-radius: 999px;
    padding-inline: 1.25rem;
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.85),
        0 0 25px rgba(56, 189, 248, 0.35);
    z-index: 1000;
}

@media (max-width: 991.98px) {
    .neo-navbar {
        margin: 0.75rem 1rem 0.5rem;
        padding-inline: 1rem;
    }
    
    .neo-main {
        padding-top: 5.5rem;
    }
}

.neo-hero {
    margin-top: 0.75rem;
}

.neo-footer {
    opacity: 0.8;
}

/* Neon Theme Tokens ------------------------------------------------------- */
.text-neon {
    color: #67e8f9 !important;
}

.text-gold {
    color: #fbbf24 !important;
}

.text-purple {
    color: #c4b5fd !important;
}

.bg-gradient-neon {
    background: linear-gradient(135deg, #22d3ee, #818cf8, #fbbf24);
}

.btn-outline-neon {
    border-color: rgba(56, 189, 248, 0.7);
    color: #e0f2fe;
}

.btn-outline-neon:hover {
    background: radial-gradient(circle at top, rgba(34, 211, 238, 0.35), transparent 60%);
    color: #e0f2fe;
}

.btn-outline-gold {
    border-color: rgba(234, 179, 8, 0.8);
    color: #fbbf24;
}

.btn-outline-gold:hover {
    background: radial-gradient(circle at top, rgba(234, 179, 8, 0.35), transparent 60%);
}

.btn-outline-purple {
    border-color: rgba(168, 85, 247, 0.8);
    color: #e9d5ff;
}

.btn-outline-purple:hover {
    background: radial-gradient(circle at top, rgba(168, 85, 247, 0.35), transparent 60%);
}

.btn-glow,
.btn-glow-gold,
.btn-glow-purple {
    position: relative;
    border-radius: 999px;
    border: 0;
    padding: 0.8rem 1.8rem;
    background: radial-gradient(circle at 0 0, #22d3ee, #4f46e5);
    color: #020617;
    box-shadow:
        0 0 25px rgba(56, 189, 248, 0.7),
        0 0 55px rgba(129, 140, 248, 0.7);
    overflow: hidden;
}

.btn-glow-gold {
    background: radial-gradient(circle at 0 0, #fbbf24, #f97316);
    box-shadow:
        0 0 30px rgba(250, 204, 21, 0.9),
        0 0 55px rgba(251, 191, 36, 0.9);
}

.btn-glow-purple {
    background: radial-gradient(circle at 0 0, #a855f7, #6366f1);
    box-shadow:
        0 0 30px rgba(192, 132, 252, 0.9),
        0 0 55px rgba(129, 140, 248, 0.9);
}

.btn-glow-inner {
    position: relative;
    z-index: 1;
}

.btn-glow::before,
.btn-glow-gold::before,
.btn-glow-purple::before {
    content: "";
    position: absolute;
    inset: -120%;
    background: conic-gradient(from 180deg, rgba(34, 211, 238, 0.4), rgba(129, 140, 248, 0.4), rgba(251, 191, 36, 0.4), rgba(34, 211, 238, 0.4));
    animation: spinGlow 5s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-out;
    pointer-events: none;
}

.btn-glow:hover::before,
.btn-glow-gold:hover::before,
.btn-glow-purple:hover::before {
    opacity: 1;
}

@keyframes spinGlow {
    to {
        transform: rotate(360deg);
    }
}

/* Hero & Modules ---------------------------------------------------------- */
.neo-hero .hero-main {
    transform-style: preserve-3d;
}

.neo-hero .hero-main:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease-out;
}

.divider-glow {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.6), transparent);
}

/* Enhanced chart wrapper with better visibility */
.neo-chart-wrapper {
    height: 230px;
    max-height: 260px;
    overflow: hidden;
    position: relative;
}

.neo-chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.neo-chart-wrapper-sm {
    height: 200px;
    max-height: 220px;
}

.metric-card .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.metric-card .value {
    font-weight: 600;
}

.module-card {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.module-card:hover {
    transform: translateY(-6px) translateZ(14px);
    box-shadow:
        0 22px 60px rgba(15, 23, 42, 0.95),
        0 0 65px rgba(56, 189, 248, 0.35);
}

.neon-border-gold {
    box-shadow:
        0 0 0 1px rgba(251, 191, 36, 0.4),
        0 0 35px rgba(251, 191, 36, 0.4);
}

.neon-border-blue {
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.5),
        0 0 35px rgba(56, 189, 248, 0.5);
}

.neon-border-purple {
    box-shadow:
        0 0 0 1px rgba(168, 85, 247, 0.5),
        0 0 35px rgba(168, 85, 247, 0.5);
}

/* Progress Ring ----------------------------------------------------------- */
.progress-ring {
    position: relative;
    width: 140px;
    height: 140px;
}

.progress-ring-svg {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(30, 64, 175, 0.7);
    stroke-width: 10;
}

.progress-ring-value {
    fill: none;
    stroke: url(#grad-progress);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 0 999;
    filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.9));
}

.progress-ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Mini stats & powerups --------------------------------------------------- */
.mini-stat .value {
    font-weight: 600;
}

.powerup-chip {
    cursor: pointer;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

.powerup-chip:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 15px rgba(56, 189, 248, 0.45);
}

.powerup-chip.active {
    box-shadow:
        0 0 25px rgba(251, 191, 36, 0.6),
        0 0 45px rgba(251, 191, 36, 0.35);
    border: 1px solid rgba(251, 191, 36, 0.65);
}

.powerup-chip .btn-xs {
    font-size: 0.7rem;
    padding: 0.2rem 0.75rem;
}

.powerup-chip .btn-xs.disabled {
    opacity: 0.5;
    pointer-events: none;
    border-color: rgba(148, 163, 184, 0.3);
    color: rgba(148, 163, 184, 0.8);
}

/* Coins & Candles --------------------------------------------------------- */
.coin-card {
    font-size: 0.78rem;
}

.mini-candles {
    margin-top: 0.35rem;
    height: 42px;
    border-radius: 12px;
    background: radial-gradient(circle at top, rgba(34, 211, 238, 0.2), rgba(15, 23, 42, 0.95));
    box-shadow:
        inset 0 0 0 1px rgba(30, 64, 175, 0.7),
        0 0 15px rgba(56, 189, 248, 0.5);
}

.mini-bar {
    position: relative;
    height: 7px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.8);
    overflow: hidden;
}

.mini-bar .fill {
    position: absolute;
    inset: 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e, #22d3ee, #fbbf24);
    box-shadow: 0 0 18px rgba(22, 163, 74, 0.9);
}

/* NFT cards --------------------------------------------------------------- */
.nft-card {
    font-size: 0.78rem;
}

.nft-thumbnail {
    height: 90px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow:
        0 0 22px rgba(59, 130, 246, 0.6),
        inset 0 0 0 1px rgba(15, 23, 42, 0.9);
}

.nft-thumbnail.ape {
    background-image: radial-gradient(circle at 20% 20%, #fbbf24, transparent 55%),
    radial-gradient(circle at 80% 80%, #f97316, transparent 55%),
    linear-gradient(135deg, #1f2933, #020617);
}

.nft-thumbnail.samurai {
    background-image: radial-gradient(circle at 20% 20%, #6366f1, transparent 55%),
    radial-gradient(circle at 80% 80%, #ec4899, transparent 55%),
    linear-gradient(135deg, #020617, #020617);
}

/* Avatar & Widgets -------------------------------------------------------- */
.avatar-orb {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 0, #22d3ee, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b1120;
    font-weight: 700;
    font-size: 1.35rem;
    box-shadow:
        0 0 0 3px rgba(15, 23, 42, 0.9),
        0 0 35px rgba(59, 130, 246, 0.85);
}

.widget .btn-xs {
    padding: 0.3rem 0.6rem;
    font-size: 0.72rem;
}

.leaderboard-list li + li {
    margin-top: 0.15rem;
}

/* Live ticker ------------------------------------------------------------- */
.live-ticker {
    min-height: 1.1rem;
    font-size: 0.8rem;
}

.brand-orb {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 10%, #22d3ee, #4f46e5);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.7);
}

/* Navbar Logo Styling */
.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 255, 204, 0.5));
    transition: all 0.3s ease;
}

.navbar-logo:hover {
    filter: drop-shadow(0 0 12px rgba(0, 255, 204, 0.8));
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 30px;
    }
}

/* Responsive tweaks ------------------------------------------------------- */
@media (max-width: 768px) {
    .neo-navbar {
        margin-inline: 0.5rem;
    }
}

/* Transaction table ------------------------------------------------------- */
.transaction-table-wrapper {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.transaction-table {
    background: transparent;
    border: none;
    margin: 0;
    width: 100%;
}

.transaction-table thead {
    background: rgba(15, 23, 42, 0.6);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.transaction-table thead th {
    border: none;
    color: rgba(148, 163, 184, 0.9);
    font-weight: 600;
    font-size: 0.75rem;
    padding: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    white-space: nowrap;
}

.transaction-table tbody {
    background: transparent;
}

.transaction-row {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    transition: background-color 0.2s ease;
    position: relative;
}

.transaction-row:hover {
    background-color: rgba(59, 130, 246, 0.08);
}

.transaction-row:last-child {
    border-bottom: none;
}

.transaction-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border: none;
    color: rgba(248, 250, 252, 0.95);
    font-size: 0.875rem;
}

.transaction-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.7rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.transaction-badge i {
    font-size: 0.7rem;
}

.transaction-badge.tx-success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.transaction-badge.tx-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.transaction-badge.tx-secondary {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.transaction-description {
    font-size: 0.875rem;
    color: rgba(248, 250, 252, 0.95);
    line-height: 1.5;
}

.transaction-amount {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.transaction-amount.tx-amount-positive {
    color: #22c55e;
}

.transaction-amount.tx-amount-negative {
    color: #ef4444;
}

.transaction-date {
    font-size: 0.8rem;
    color: rgba(148, 163, 184, 0.85);
    white-space: nowrap;
}


/* Responsive */
@media (max-width: 768px) {
    .transaction-table-wrapper {
        overflow-x: auto;
    }
    
    .transaction-table {
        min-width: 600px;
    }
    
    .transaction-description {
        max-width: 200px;
        font-size: 0.8rem;
    }
}

/* Empty state */
.transaction-table-wrapper + .text-center {
    padding: 3rem 1.5rem;
}

.transaction-table-wrapper + .text-center i {
    opacity: 0.5;
    color: rgba(148, 163, 184, 0.4);
}

/* Auth pages --------------------------------------------------------------- */
.auth-row {
    min-height: calc(100vh - 6rem);
    align-items: flex-start;
    padding-top: 2.5rem;
}

.auth-card {
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 0 0, rgba(34, 211, 238, 0.15), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.15), transparent 60%);
    opacity: 0.7;
    pointer-events: none;
}

.auth-card .form-control {
    border-radius: 999px;
    padding-inline: 1rem;
}

.auth-card .btn-glow {
    margin-top: 0.2rem;
}

.auth-illustration {
    position: relative;
    padding: 2.2rem 1.8rem;
}

.auth-illustration-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-illustration-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.auth-illustration-gradient {
    margin-top: 1.25rem;
    height: 130px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1, #f97316);
    box-shadow:
        0 0 40px rgba(56, 189, 248, 0.6),
        0 0 65px rgba(96, 165, 250, 0.6);
}

.auth-panel {
    padding: 2.2rem 2.2rem 2rem;
}

.auth-panel form {
    max-width: 420px;
    margin: 0 auto;
}

.auth-panel .form-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.auth-panel .form-control {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.9),
        inset 0 0 10px rgba(15, 23, 42, 0.9);
    padding-inline: 1.2rem;
    height: 44px;
}

/* Notification System ---------------------------------------------------- */
.notification-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    pointer-events: none;
}

.notification-popup {
    pointer-events: all;
    background: radial-gradient(circle at top left, rgba(96, 165, 250, 0.4), transparent 55%),
                radial-gradient(circle at bottom right, rgba(147, 51, 234, 0.3), transparent 55%),
                rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.9),
        0 0 35px rgba(59, 130, 246, 0.4);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-width: 320px;
}

.notification-popup::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #22d3ee, #4f46e5);
}

.notification-popup.success::before {
    background: linear-gradient(180deg, #22c55e, #16a34a);
}

.notification-popup.error::before {
    background: linear-gradient(180deg, #ef4444, #dc2626);
}

.notification-popup.warning::before {
    background: linear-gradient(180deg, #fbbf24, #f59e0b);
}

.notification-popup.info::before {
    background: linear-gradient(180deg, #22d3ee, #4f46e5);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.notification-popup.hiding {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.notification-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.notification-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.notification-popup.success .notification-icon {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.notification-popup.error .notification-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.notification-popup.warning .notification-icon {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.notification-popup.info .notification-icon {
    background: rgba(56, 189, 248, 0.2);
    color: #22d3ee;
}

.notification-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #f8f9fa;
    flex: 1;
}

.notification-close {
    background: transparent;
    border: 0;
    color: rgba(148, 163, 184, 0.8);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease-out;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #f8f9fa;
}

.notification-message {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.9);
    line-height: 1.5;
    margin-top: 0.25rem;
}

.notification-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #22d3ee, #4f46e5);
    border-radius: 0 0 16px 16px;
    animation: progressBar 5s linear forwards;
}

.notification-popup.success .notification-progress {
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.notification-popup.error .notification-progress {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

@keyframes progressBar {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

.auth-panel .btn-glow {
    width: 100%;
}

/* Company Logos Section ------------------------------------------------ */
.company-logos-container {
    overflow: hidden;
    position: relative;
}

.company-logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    align-items: center;
    justify-items: center;
    padding: 1rem 0;
}

.company-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.company-logo-item:hover {
    background: rgba(103, 232, 249, 0.1);
    border-color: rgba(103, 232, 249, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(103, 232, 249, 0.2);
}

.company-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.3) brightness(0.9);
    transition: all 0.3s ease;
}

.company-logo-item:hover .company-logo {
    filter: grayscale(0) brightness(1.1);
    transform: scale(1.05);
}

/* Wallet QR Code Styles ------------------------------------------------ */
.qr-code-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
}

.qr-code-section .text-center {
    margin-bottom: 1rem;
}

.wallet-qr-code {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1.25rem;
    border: 2px solid rgba(103, 232, 249, 0.3);
    min-height: 280px;
    width: 100%;
    position: relative;
}

.wallet-qr-code img.qr-code-image {
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(103, 232, 249, 0.4);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem;
}

.qr-code-image {
    min-height: 220px;
    min-width: 220px;
}

.admin-wallet-section {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.admin-wallet-section .input-group .form-control {
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 12px 0 0 12px;
}

.admin-wallet-section .input-group .btn {
    border-radius: 0 12px 12px 0;
    border-left: none;
    padding: 0.75rem 1rem;
}

.admin-wallet-section .alert {
    margin-top: 1rem;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .wallet-qr-code {
        min-height: 240px;
        padding: 1rem;
    }
    
    .qr-code-image {
        min-height: 180px;
        min-width: 180px;
    }
}

.wallet-qr-code canvas {
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(103, 232, 249, 0.4);
    background: white;
    padding: 0.75rem;
    max-width: 100%;
    height: auto;
}

/* Payment Method Selector Styles ------------------------------------------------ */
.payment-method-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-method-icon-container {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(103, 232, 249, 0.3);
    padding: 0.5rem;
}

.payment-method-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.form-select-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    flex: 1;
}

.form-control-lg {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
}

.input-group-text {
    border-left: none;
}

.input-group .form-control {
    border-right: none;
}

.input-group .form-control:focus {
    border-right: 1px solid rgba(103, 232, 249, 0.5);
}

@media (max-width: 768px) {
    .wallet-qr-code {
        min-height: 200px;
        padding: 1rem;
    }
    
    .wallet-qr-code canvas {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .company-logos-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 1rem;
    }
    
    .company-logo-item {
        height: 80px;
        padding: 0.75rem;
    }
    
    .company-logo {
        max-height: 60px;
    }
    
    .auth-panel {
        padding: 1.8rem 1.5rem 1.5rem;
    }
    .auth-illustration {
        display: none;
    }
    
    .neo-navbar {
        margin: 0.5rem 0.75rem 0.5rem;
        padding-inline: 0.875rem;
    }
    
    .neo-main {
        padding-top: 5rem;
    }
}

/* Mobile Side Menu Styles ------------------------------------------------ */
.mobile-side-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-side-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 3, 10, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.95));
    border-left: 1px solid rgba(103, 232, 249, 0.3);
    box-shadow: -10px 0 40px rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-radius: 0;
}

.mobile-side-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: #f8f9fa;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(148, 163, 184, 0.1);
    color: #67e8f9;
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-item {
    margin: 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    color: #e0f2fe;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-menu-link:hover {
    background: rgba(103, 232, 249, 0.1);
    color: #67e8f9;
    border-left-color: #67e8f9;
}

.mobile-menu-link i {
    font-size: 1.1rem;
    width: 24px;
}

.mobile-menu-user {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: auto;
}

.mobile-menu-user .text-neon {
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.mobile-menu-auth {
    padding: 1.5rem 1.25rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    margin-top: auto;
}

/* Prevent body scroll when menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Navbar toggler styling */
.navbar-toggler {
    border: 1px solid rgba(103, 232, 249, 0.3);
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(103, 232, 249, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28103, 232, 249, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

