* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Global Utility Classes */
.hidden {
    display: none !important;
}

:root {
--primary-cyan: #00D9C0;
    --cyan-hover: #00C4AD;
    --cyan-light: #1FFFD6;
    --shopify-purple: #7C5EDF;
    --shopify-green: #95BF47;
    --shopify-light-blue: #5BAEF3;
    --cyan-glow: rgba(0, 217, 192, 0.3);
    --dark-bg: #0A0A0F;
    --dark-card: #151518;
    --dark-border: #2A2A35;
    --dark-text: #E8E8F0;
    --dark-text-secondary: #A0A0B0;
    

}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    transition: background-color 0.5s ease, color 0.3s ease;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body {
    background: #101011;
    color: var(--dark-text);
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

.dark-theme .gradient-orb.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 217, 192, 0.3) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.dark-theme .gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 192, 0.2) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: 7s;
}

.dark-theme .gradient-orb.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(31, 255, 214, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}


@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 217, 192, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 192, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Mouse Glow Effect */
.mouse-glow {
    position: fixed;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 217, 192, 0.15) 0%, rgba(0, 217, 192, 0.05) 40%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: opacity 0.3s ease;
    display: block;
    opacity: 1;
}

.dashboard-header {
    padding: 0;
    border-bottom: 1px solid;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    height: 73px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    outline: none;
    transition: height 0.3s ease;
}

.dashboard-header {
    background: #151518;
    border-color: var(--dark-border);
}

.header-content {
    width: 100%;
    padding: 0 24px;
    padding-left: 320px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: padding 0.3s ease, gap 0.3s ease;
}

.header-spacer {
    flex: 1;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-cyan);
    margin: 0;
    margin-left: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    flex: 0 1 auto;
    min-width: 150px;
    transition: font-size 0.3s ease, margin 0.3s ease, max-width 0.3s ease;
}

/* FREE Badge for autohitter pages */
.free-badge-inline {
    display: none; /* Hidden by default (desktop) */
}

@media (max-width: 768px) {
    .free-badge-inline {
        display: inline-block;
        background: rgba(0, 217, 192, 0.1);
        border: 1px solid rgba(0, 217, 192, 0.3);
        color: var(--primary-cyan);
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 4px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-left: auto;
        white-space: nowrap;
    }
}

.logo-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-circle-small {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle-small svg {
    color: #1A1A1A;
}

.logo-image-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 217, 192, 0.2));
}

.header-title {
    font-size: 20px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-refresh {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--primary-cyan);
    border: none;
    border-radius: 8px;
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-refresh:hover {
    background: var(--cyan-hover);
}

.btn-refresh svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-btn {
    border-color: var(--dark-border);
    color: var(--dark-text);
}

.user-btn:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 217, 192, 0.1);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-yellow);
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.user-name {
    font-weight: 500;
}

.dashboard-main {
    padding: 40px 0;
    padding-left: 10px;
    padding-right: 10px;
}

.dashboard-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

.welcome-section {
    margin-bottom: 40px;
}

.dashboard-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.dashboard-subtitle {
    font-size: 18px;
    opacity: 0.8;
}

.dashboard-subtitle {
    color: var(--dark-text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    padding: 24px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid;
}

.stat-card {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-cyan);
}

.stat-card:hover {
    box-shadow: 0 12px 32px rgba(0, 217, 192, 0.2);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon.yellow {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--cyan-light) 100%);
}

.stat-icon svg {
    color: #1A1A1A;
}

.stat-content {
    flex: 1;
}

.stat-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
    opacity: 0.8;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.info-section {
    margin-bottom: 40px;
}

.info-card {
    padding: 32px;
    border-radius: 10px;
    border: 1px solid;
}

.info-card {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

.info-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
}

.info-grid {
    display: grid;
    gap: 16px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item {
    background: rgba(0, 217, 192, 0.05);
}

.info-item:hover {
    background: rgba(0, 217, 192, 0.15);
}

.info-label {
    font-weight: 500;
    opacity: 0.8;
}

.info-value {
    font-weight: 600;
    color: var(--primary-cyan);
}

.actions-section {
    display: flex;
    justify-content: center;
}

.logout-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 10px;
    border: 2px solid var(--primary-cyan);
    background: transparent;
    color: var(--primary-cyan);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: var(--primary-cyan);
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 192, 0.3);
}

/* Header Actions Styles */
.credits-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 217, 192, 0.1);
    border: 1px solid rgba(0, 217, 192, 0.3);
    border-radius: 12px;
    color: var(--primary-cyan);
    transition: padding 0.3s ease, font-size 0.3s ease, gap 0.3s ease;
}

.credits-display svg {
    color: var(--primary-cyan);
}

.credits-amount {
    font-weight: 600;
    font-size: 14px;
}

.user-profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s ease, padding 0.3s ease, gap 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
}

.user-profile-link:hover {
    background: rgba(0, 217, 192, 0.1);
    border-color: rgba(0, 217, 192, 0.3);
}

.user-profile-link .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-profile-link .user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-cyan);
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.user-profile-link .user-name {
    font-size: 14px;
    font-weight: 500;
}

.logout-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: var(--dark-text-secondary);
    transition: all 0.3s ease, width 0.3s ease, height 0.3s ease, padding 0.3s ease;
    text-decoration: none;
}

.logout-icon-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.user-profile-link.active {
    background: rgba(0, 217, 192, 0.1);
    border-color: rgba(0, 217, 192, 0.3);
}

/* Profile Page Styles */
.profile-header {
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--primary-cyan);
}

.profile-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-text);
}

.profile-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 32px;
}

.profile-avatar-section {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--dark-border);
    margin-bottom: 24px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-cyan);
}

.profile-avatar-placeholder-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-cyan);
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 36px;
}

.profile-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.profile-username {
    font-size: 16px;
    color: var(--primary-cyan);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--dark-border);
    margin-bottom: 24px;
}

.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
    background: rgba(0, 217, 192, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 192, 0.1);
}

.profile-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-cyan);
    line-height: 1.2;
}

.profile-stat-value.status-free {
    color: var(--dark-text-secondary);
}

.profile-stat-value.status-premium {
    color: #a855f7;
}

.profile-stat-value.status-admin {
    color: #ef4444;
}

.profile-stat-value.status-unlimited {
    color: #f59e0b;
}

.profile-stat-label {
    font-size: 13px;
    color: var(--dark-text-secondary);
    margin-top: 4px;
    white-space: nowrap;
}

/* Mobile responsive for profile stats */
@media (max-width: 768px) {
    .profile-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .profile-stat {
        padding: 12px 8px;
    }
    
    .profile-stat-value {
        font-size: 20px;
    }
    
    .profile-stat-label {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .profile-stat {
        padding: 10px 8px;
    }
    
    .profile-stat-value {
        font-size: 18px;
    }
    
    .profile-stat-label {
        font-size: 11px;
    }
}

/* History Tabs */
.profile-details + .profile-details {
    margin-top: 24px;
}

.history-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--dark-border);
    margin-bottom: 20px;
}

.history-tab {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--dark-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.history-tab:hover {
    color: var(--dark-text);
}

.history-tab.active {
    color: #ef4444;
}

.history-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #ef4444;
}

.history-tab-content {
    display: none;
}

.history-tab-content.active {
    display: block;
}

/* History List Styles */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.history-item:hover {
    border-color: rgba(0, 217, 192, 0.3);
}

.history-item-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.history-item-icon.redemption {
    background: rgba(0, 217, 192, 0.1);
    color: var(--primary-cyan);
}

.history-item-icon.usage {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.history-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.history-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-text);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-item-subtitle {
    font-size: 12px;
    color: var(--dark-text-secondary);
}

.history-item-meta {
    text-align: right;
    flex-shrink: 0;
}

.history-item-date {
    font-size: 12px;
    color: var(--dark-text-secondary);
}

.empty-history {
    padding: 32px;
    text-align: center;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
}

.empty-history p {
    color: var(--dark-text-secondary);
    font-size: 14px;
    margin: 0;
}

/* History Pagination */
.history-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.history-page-btn {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    color: var(--dark-text-secondary);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.history-page-btn:hover:not(:disabled):not(.active) {
    border-color: rgba(0, 217, 192, 0.4);
    color: var(--dark-text);
}

.history-page-btn.active {
    background: rgba(0, 217, 192, 0.12);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    cursor: default;
}

.history-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.history-page-dots {
    color: var(--dark-text-secondary);
    padding: 0 4px;
    font-size: 13px;
}

/* Credit Info Popup */
.credit-info-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.credit-info-popup.active {
    opacity: 1;
    visibility: visible;
}

.credit-info-popup-content {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.credit-info-popup.active .credit-info-popup-content {
    transform: scale(1);
}

.credit-info-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--dark-text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.credit-info-popup-close:hover {
    color: var(--dark-text);
}

.credit-info-popup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.credit-info-popup-header svg {
    color: var(--primary-cyan);
}

.credit-info-popup-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.credit-info-popup-text {
    color: var(--dark-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.credit-info-popup-text strong {
    color: var(--primary-cyan);
}

.credit-info-examples {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.credit-example {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--dark-bg);
    border-radius: 8px;
    border-left: 3px solid var(--dark-border);
}

.credit-example.success {
    border-left-color: #22c55e;
}

.credit-example.dead {
    border-left-color: #ef4444;
}

.credit-example-label {
    font-size: 14px;
    color: var(--dark-text);
    font-weight: 500;
}

.credit-example-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-cyan);
}

.credit-example.success .credit-example-value {
    color: #22c55e;
}

.credit-example.dead .credit-example-value {
    color: #ef4444;
}

.credit-info-note {
    text-align: center;
    color: #22c55e;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.credit-info-popup-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-cyan);
    color: var(--dark-bg);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.credit-info-popup-btn:hover {
    background: var(--primary-cyan-hover);
    transform: translateY(-1px);
}

/* Warning Popup */
.warning-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.warning-popup.active {
    opacity: 1;
    visibility: visible;
}

.warning-popup-content {
    background: var(--dark-card);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 16px;
    padding: 32px;
    max-width: 440px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    text-align: center;
}

.warning-popup.active .warning-popup-content {
    transform: scale(1);
}

.warning-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--dark-text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.warning-popup-close:hover {
    color: var(--dark-text);
}

.warning-popup-icon {
    margin-bottom: 16px;
}

.warning-popup-icon svg {
    color: #f59e0b;
}

.warning-popup-header {
    margin-bottom: 16px;
}

.warning-popup-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.warning-popup-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.warning-popup-text {
    color: var(--dark-text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.warning-popup-text strong {
    color: #f59e0b;
}

.warning-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.warning-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
}

.warning-popup-btn.primary {
    background: var(--primary-cyan);
    color: var(--dark-bg);
}

.warning-popup-btn.primary:hover {
    background: var(--primary-cyan-hover);
    transform: translateY(-1px);
}

.warning-popup-btn.secondary {
    background: transparent;
    color: var(--dark-text-secondary);
    border: 1px solid var(--dark-border);
}

.warning-popup-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
}

/* Welcome Card */
.welcome-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.welcome-card-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-avatar {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.welcome-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-cyan);
}

.welcome-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
    color: white;
    font-weight: 700;
    font-size: 24px;
    border-radius: 50%;
}

.welcome-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.welcome-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.welcome-subtitle {
    font-size: 14px;
    color: var(--dark-text-secondary);
    margin: 0;
}

.welcome-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.admin-panel-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.admin-panel-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

/* User Search Box */
.user-search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.user-search-box:focus-within {
    border-color: var(--primary-cyan);
}

.user-search-box svg {
    color: var(--dark-text-secondary);
    flex-shrink: 0;
}

.user-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--dark-text);
    font-size: 14px;
}

.user-search-input::placeholder {
    color: var(--dark-text-secondary);
}

.user-search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--dark-text-secondary);
    transition: all 0.2s ease;
}

.user-search-clear:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--dark-text);
}

.user-search-submit {
    padding: 6px 14px;
    background: var(--primary-cyan);
    border: none;
    border-radius: 6px;
    color: var(--dark-bg);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-search-submit:hover {
    opacity: 0.85;
}

/* Filter Links */
.filter-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.filter-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    color: var(--dark-text-secondary);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-links a:hover,
.filter-links a.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: var(--dark-bg);
}

/* Codes Header Actions */
.codes-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.delete-all-codes-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.delete-all-codes-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Settings Page */
.page-header {
    margin-bottom: 32px;
}

.page-header .page-title {
    margin: 0 0 8px 0;
}

.page-subtitle {
    font-size: 14px;
    color: var(--dark-text-secondary);
    margin: 0;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 900px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

.settings-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 24px;
}

.settings-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.settings-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 192, 0.1);
    border-radius: 12px;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

.settings-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 4px 0;
}

.settings-card-desc {
    font-size: 13px;
    color: var(--dark-text-secondary);
    margin: 0;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-text);
}

.form-input,
.form-select {
    padding: 12px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--dark-text);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.form-input::placeholder {
    color: var(--dark-text-secondary);
}

.form-hint {
    font-size: 12px;
    color: var(--dark-text-secondary);
}

.settings-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.settings-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--dark-bg);
    border-radius: 10px;
}

.settings-option-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.settings-option-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
}

.settings-option-desc {
    font-size: 12px;
    color: var(--dark-text-secondary);
}

.settings-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 18px 24px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 9999;
    animation: notificationSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #161b22;
    backdrop-filter: blur(40px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    font-size: 14px;
    min-width: 320px;
    max-width: fit-content;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
}

.notification::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

.notification span {
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.notification.success {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.25) 0%, 
        rgba(16, 185, 129, 0.18) 50%,
        rgba(5, 150, 105, 0.15) 100%);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.5);
}

.notification.success::before {
    background: #22c55e;
}

.notification.error {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.25) 0%, 
        rgba(220, 38, 38, 0.18) 50%,
        rgba(185, 28, 28, 0.15) 100%);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.5);
}

.notification.error::before {
    background: #ef4444;
}

.notification.info {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.25) 0%, 
        rgba(37, 99, 235, 0.18) 50%,
        rgba(29, 78, 216, 0.15) 100%);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

.notification.info::before {
    background: #3b82f6;
}

.notification button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: inherit;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 10px;
    margin-left: auto;
    border-radius: 8px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: scale(1.05);
}

.notification button:active {
    transform: scale(0.95);
}

@keyframes notificationSlideIn {
    0% {
        transform: translateX(120%) scale(0.9);
        opacity: 0;
    }
    60% {
        transform: translateX(-10px) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 currentColor;
    }
    50% {
        opacity: 0.7;
        transform: scale(0.85);
        box-shadow: 0 0 0 4px transparent;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive notification */
@media (max-width: 640px) {
    .notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
        min-width: auto;
        max-width: none;
    }
}

/* Proxy Test */
.proxy-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.proxy-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.proxy-toggle-wrapper .toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    margin: 0;
}

.btn-test {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-test:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

.btn-test:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.proxy-status {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.status-live {
    color: #22c55e;
    font-weight: 600;
}

.status-dead {
    color: #ef4444;
    font-weight: 600;
}

.status-warning {
    color: #f59e0b;
    font-weight: 500;
}

.proxy-ip {
    color: var(--dark-text-secondary);
    font-size: 12px;
}

.proxy-error {
    color: var(--dark-text-secondary);
    font-size: 12px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

/* Compact Sidebar */
.sidebar-compact {
    position: fixed;
    left: 0;
    top: 0;
    width: 320px;
    height: 100vh;
    background: var(--dark-card);
    border-right: 1px solid var(--dark-border);
    display: none;
    flex-direction: column;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-compact.active {
    display: flex;
}

@media (max-width: 1200px) {
    .sidebar-compact.active {
        transform: translateX(-100%);
    }
    
    .sidebar-compact.active.open {
        transform: translateX(0);
    }
}

.sidebar.hidden {
    display: none !important;
}


.welcome-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: var(--dark-bg);
    border-radius: 12px;
    min-width: 80px;
}

.welcome-stat-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.welcome-stat-label {
    font-size: 12px;
    color: var(--dark-text-secondary);
    margin-top: 4px;
}

/* Congratulations Banner */
.congrats-banner {
    background: linear-gradient(135deg, rgba(0, 217, 192, 0.1) 0%, rgba(124, 94, 223, 0.1) 100%);
    border: 1px solid var(--primary-cyan);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    animation: slideDown 0.5s ease-out;
    position: relative;
}

.congrats-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.congrats-icon {
    font-size: 48px;
    animation: bounce 1s ease-in-out infinite;
}

.congrats-text h3 {
    color: var(--primary-cyan);
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.congrats-text p {
    color: var(--dark-text);
    font-size: 14px;
    line-height: 1.5;
}

.congrats-text strong {
    color: var(--primary-cyan);
    font-weight: 700;
}

.congrats-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-text-secondary);
}

.congrats-close:hover {
    background: rgba(0, 217, 192, 0.2);
    color: var(--primary-cyan);
    transform: rotate(90deg);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .congrats-banner {
        padding: 16px;
        padding-right: 48px;
    }
    
    .congrats-content {
        gap: 12px;
    }
    
    .congrats-icon {
        font-size: 36px;
        flex-shrink: 0;
    }
    
    .congrats-text h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .congrats-text p {
        font-size: 13px;
    }
    
    .congrats-close {
        top: 10px;
        right: 10px;
        width: 28px;
        height: 28px;
    }
    
    .congrats-close svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 900px) {
    .welcome-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .welcome-stats {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 500px) {
    .welcome-card {
        padding: 20px;
        text-align: center;
    }
    
    .welcome-card-content {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .welcome-avatar {
        width: 80px;
        height: 80px;
    }
    
    .welcome-info {
        align-items: center;
        text-align: center;
    }
    
    .welcome-title {
        font-size: 18px;
        line-height: 1.3;
    }
    
    .welcome-subtitle {
        font-size: 13px;
    }
    
    .welcome-actions {
        width: 100%;
        flex-direction: column;
        gap: 16px;
    }
    
    .welcome-stats {
        width: 100%;
        justify-content: center;
        gap: 12px;
    }
    
    .welcome-stat {
        background: var(--dark-bg);
        border: 1px solid var(--dark-border);
        border-radius: 12px;
        padding: 16px 20px;
        min-width: 80px;
        text-align: center;
    }
    
    .welcome-stat-value {
        font-size: 24px;
    }
    
    .welcome-stat-label {
        font-size: 11px;
    }
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* Online Users Card */
.online-users-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
}

.online-users-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.online-users-header .info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
}

.online-count {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.online-users-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--dark-border) transparent;
}

.online-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--dark-bg);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.online-user-item:hover {
    background: rgba(0, 217, 192, 0.05);
}

.online-user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.online-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-user-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50%;
}

.online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #22c55e;
    border: 2px solid var(--dark-card);
    border-radius: 50%;
}

.online-user-info {
    flex: 1;
    min-width: 0;
}

.online-user-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.online-user-status {
    display: block;
    font-size: 12px;
    color: #22c55e;
    margin-top: 2px;
}

.user-status-badge {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.user-status-badge.free {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
}

.user-status-badge.premium {
    background: linear-gradient(135deg, rgba(0, 217, 192, 0.25), rgba(0, 217, 192, 0.1));
    color: var(--primary-cyan);
    border: 1px solid rgba(0, 217, 192, 0.4);
    box-shadow: 0 0 12px rgba(0, 217, 192, 0.5), 0 0 24px rgba(0, 217, 192, 0.3), inset 0 0 8px rgba(0, 217, 192, 0.2);
    animation: glow-cyan 2s ease-in-out infinite;
}

.user-status-badge.unlimited {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.25), rgba(168, 85, 247, 0.1));
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.5), 0 0 24px rgba(168, 85, 247, 0.3), inset 0 0 8px rgba(168, 85, 247, 0.2);
    animation: glow-purple 2s ease-in-out infinite;
}

.user-status-badge.admin {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.1));
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.5), 0 0 24px rgba(239, 68, 68, 0.3), inset 0 0 8px rgba(239, 68, 68, 0.2);
    animation: glow-red 2s ease-in-out infinite;
}

@keyframes glow-cyan {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 217, 192, 0.4), 0 0 20px rgba(0, 217, 192, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 217, 192, 0.6), 0 0 30px rgba(0, 217, 192, 0.3);
    }
}

@keyframes glow-purple {
    0%, 100% {
        box-shadow: 0 0 10px rgba(168, 85, 247, 0.4), 0 0 20px rgba(168, 85, 247, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(168, 85, 247, 0.6), 0 0 30px rgba(168, 85, 247, 0.3);
    }
}

@keyframes glow-red {
    0%, 100% {
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.4), 0 0 20px rgba(239, 68, 68, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(239, 68, 68, 0.6), 0 0 30px rgba(239, 68, 68, 0.3);
    }
}

.online-users-more {
    text-align: center;
    padding: 12px;
    color: var(--dark-text-secondary);
    font-size: 13px;
    background: var(--dark-bg);
    border-radius: 8px;
}

.online-users-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--dark-text-secondary);
    text-align: center;
}

.online-users-empty svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.online-users-empty p {
    margin: 0;
    font-size: 14px;
}

/* See More button (online users) */
.online-user-hidden {
    display: none;
}

.see-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--primary-cyan);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.see-more-btn:hover {
    border-color: rgba(0, 217, 192, 0.4);
    background: rgba(0, 217, 192, 0.08);
}

.see-more-btn .see-more-icon {
    transition: transform 0.25s ease;
}

.see-more-btn.expanded .see-more-icon {
    transform: rotate(180deg);
}

/* What's New Section */
.whats-new-section {
    margin-top: 24px;
    margin-bottom: 40px;
}

.whats-new-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 24px;
}

.whats-new-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.whats-new-header .info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.whats-new-header .info-title svg {
    color: var(--primary-cyan);
}

.whats-new-manage-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-cyan);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(0, 217, 192, 0.3);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.whats-new-manage-link:hover {
    background: rgba(0, 217, 192, 0.1);
    border-color: var(--primary-cyan);
}

.whats-new-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 520px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--dark-border) transparent;
}

.whats-new-item {
    padding: 16px;
    background: rgba(0, 217, 192, 0.04);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    border-left: 3px solid var(--primary-cyan);
    transition: all 0.2s ease;
}

.whats-new-item:hover {
    border-left-color: var(--cyan-light);
    background: rgba(0, 217, 192, 0.07);
}

.whats-new-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.whats-new-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(0, 217, 192, 0.15);
    color: var(--primary-cyan);
}

.whats-new-badge.cat-feature   { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.whats-new-badge.cat-fix       { background: rgba(34, 197, 94, 0.15);  color: #22c55e; }
.whats-new-badge.cat-announcement { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.whats-new-badge.cat-maintenance  { background: rgba(239, 68, 68, 0.15);  color: #ef4444; }

.whats-new-date {
    font-size: 12px;
    color: var(--dark-text-secondary);
    white-space: nowrap;
}

.whats-new-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 6px 0;
}

.whats-new-content {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark-text-secondary);
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.whats-new-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--dark-text-secondary);
    text-align: center;
}

.whats-new-empty svg {
    margin-bottom: 12px;
    opacity: 0.5;
}

.whats-new-empty p {
    margin: 0;
    font-size: 14px;
}

/* What's New admin management list */
.whats-new-admin-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whats-new-admin-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    background: rgba(0, 217, 192, 0.04);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    border-left: 3px solid var(--primary-cyan);
}

.whats-new-admin-main {
    flex: 1;
    min-width: 0;
}

.whats-new-admin-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

/* Account Security Section in Edit Modal */
.account-security-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--dark-border);
}

.security-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 16px 0;
}

.security-section-title svg {
    color: var(--primary-cyan);
}

.security-info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--dark-bg);
    border-radius: 8px;
}

.security-label {
    font-size: 13px;
    color: var(--dark-text-secondary);
    font-weight: 500;
}

.security-value {
    font-size: 13px;
    color: var(--dark-text);
    font-weight: 600;
}

.security-value .status-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.security-value .status-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.security-value .status-badge.blocked {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Statistics Section */
.statistics-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

@media (max-width: 1100px) {
    .statistics-section {
        grid-template-columns: 1fr;
    }
}

.stats-panel {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 20px;
}

.stats-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.stats-panel-header svg {
    color: var(--dark-text-secondary);
}

.stats-panel-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.online-users-header .stats-panel-header,
.whats-new-header .stats-panel-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stats-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-box {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-box:hover {
    border-color: rgba(0, 217, 192, 0.3);
    transform: translateY(-2px);
}

.stat-box-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.stat-box-icon.cyan {
    background: rgba(0, 217, 192, 0.1);
    border: 1px solid rgba(0, 217, 192, 0.3);
    color: var(--primary-cyan);
}

.stat-box-icon.green {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.stat-box-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.stat-box-label {
    font-size: 12px;
    color: var(--dark-text-secondary);
    font-weight: 500;
}

/* Ranked Users Card */
.ranked-users-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
}

.ranked-users-header {
    margin-bottom: 20px;
}

.ranked-users-header .info-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.ranked-users-header .info-title svg {
    color: #f59e0b;
}

.ranked-users-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--dark-border) transparent;
}

.ranked-user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--dark-bg);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.ranked-user-item:hover {
    background: rgba(0, 217, 192, 0.05);
}

.rank-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    background: var(--dark-card);
    color: var(--dark-text-secondary);
    flex-shrink: 0;
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    color: white;
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #a0522d);
    color: white;
}

.ranked-user-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.ranked-user-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.ranked-user-avatar .avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-cyan), #0891b2);
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 50%;
}

.ranked-user-info {
    flex: 1;
    min-width: 0;
}

.ranked-user-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranked-user-stats {
    display: block;
    font-size: 12px;
    color: var(--dark-text-secondary);
    margin-top: 2px;
}

.ranked-user-score {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-cyan);
    padding: 4px 10px;
    background: rgba(0, 217, 192, 0.1);
    border-radius: 6px;
}

.ranked-users-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    color: var(--dark-text-secondary);
    text-align: center;
}

.ranked-users-empty svg {
    margin-bottom: 12px;
    opacity: 0.5;
    color: #f59e0b;
}

.ranked-users-empty p {
    margin: 0;
    font-size: 14px;
}

@media (max-width: 640px) {
    .history-item {
        flex-wrap: wrap;
    }
    
    .history-item-meta {
        width: 100%;
        text-align: left;
        margin-top: 8px;
        padding-left: 50px;
    }
}

.profile-section-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.profile-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.profile-info-label {
    font-size: 12px;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info-value {
    font-size: 16px;
    color: var(--dark-text);
    font-weight: 500;
}

/* Sidebar Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 320px;
    background: var(--dark-card);
    border-right: 1px solid var(--dark-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-bottom: 1px solid var(--dark-border);
    height: 73px;
    box-sizing: border-box;
}

.sidebar-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--dark-border) transparent;
}

/* Custom Scrollbar for Sidebar */
.sidebar-nav::-webkit-scrollbar,
.online-users-list::-webkit-scrollbar,
.ranked-users-list::-webkit-scrollbar,
.whats-new-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track,
.online-users-list::-webkit-scrollbar-track,
.ranked-users-list::-webkit-scrollbar-track,
.whats-new-list::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb,
.online-users-list::-webkit-scrollbar-thumb,
.ranked-users-list::-webkit-scrollbar-thumb,
.whats-new-list::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover,
.online-users-list::-webkit-scrollbar-thumb:hover,
.ranked-users-list::-webkit-scrollbar-thumb:hover,
.whats-new-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary-cyan);
}

/* Sidebar Sections */
.sidebar-section {
    margin-bottom: 16px;
}

.sidebar-section-title {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    margin-bottom: 4px;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(0, 217, 192, 0.3);
}

.sidebar-sublink .checker-icon {
    width: 16px !important;
    height: 16px !important;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: var(--dark-text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    border: none;
    background: transparent;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.sidebar-link span {
    font-size: 15px;
    font-weight: 600;
    flex: 1;
    min-width: 0;
}

.sidebar-link:hover {
    background: rgba(0, 217, 192, 0.08);
    color: var(--dark-text);
}

.sidebar-link.active {
    background: rgba(0, 217, 192, 0.12);
    color: var(--primary-cyan);
    border-left: 3px solid var(--primary-cyan);
    border-radius: 0 8px 8px 0;
    margin-left: -3px;
    padding-left: 19px;
}

.sidebar-link.active svg {
    color: var(--primary-cyan);
}

.sidebar-link svg {
    flex-shrink: 0;
}

/* Sidebar Dropdown */
.sidebar-dropdown {
    position: relative;
}

.sidebar-dropdown-toggle {
    justify-content: flex-start;
}

.sidebar-dropdown-toggle .dropdown-arrow {
    margin-left: auto;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    opacity: 1;
    visibility: visible;
}

.sidebar-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.sidebar-dropdown-menu {
    display: none;
    flex-direction: column;
    padding-left: 32px;
    margin-top: 4px;
}

.sidebar-dropdown.nested > .sidebar-dropdown-menu {
    padding-left: 16px;
}

.sidebar-dropdown.open > .sidebar-dropdown-menu {
    display: flex;
}

.sidebar-sublink {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-family: inherit;
    box-sizing: border-box;
}

.sidebar-sublink svg {
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-right: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.sidebar-sublink .fa-shopify {
    font-size: 16px;
    width: 16px;
    min-width: 16px;
    text-align: center;
    color: currentColor;
    opacity: 1;
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.sidebar-sublink:hover {
    background: rgba(0, 217, 192, 0.08);
    color: var(--dark-text);
}

.sidebar-sublink:hover i {
    color: var(--dark-text);
}

.sidebar-sublink:hover svg {
    stroke: var(--dark-text);
}

.sidebar-sublink.active,
.sidebar-sublink.active:hover {
    color: var(--primary-cyan) !important;
    background: rgba(0, 217, 192, 0.08);
}

.sidebar-sublink.active svg {
    stroke: var(--primary-cyan);
}

.sidebar-sublink.active i {
    color: var(--primary-cyan);
}

.sidebar-footer {
    padding: 16px 12px;
    border-top: 1px solid var(--dark-border);
}

.sidebar-link.logout:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.sidebar-link.logout:hover svg {
    color: #ef4444;
}

.main-content {
    flex: 1;
    margin-left: 320px;
    padding-top: 73px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: calc(100vw - 320px);
    overflow-x: hidden;
}

/* Large screens: 1400px+ - Full sidebar */
@media (max-width: 1600px) and (min-width: 1401px) {
    .sidebar,
    .sidebar-compact {
        width: 300px;
    }
    
    .main-content {
        margin-left: 300px;
        max-width: calc(100vw - 300px);
    }
    
    .header-content {
        padding-left: 300px;
    }
}

/* Medium-large screens: 1201-1400px - Narrower sidebar */
@media (max-width: 1400px) and (min-width: 1201px) {
    .sidebar,
    .sidebar-compact {
        width: 260px;
    }
    
    .main-content {
        margin-left: 260px;
        max-width: calc(100vw - 260px);
    }
    
    .header-content {
        padding-left: 260px;
    }
    
    .admin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-tab {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .users-table th,
    .users-table td {
        padding: 10px 8px;
        font-size: 13px;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--dark-text);
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    transition: background 0.2s ease, padding 0.3s ease, width 0.3s ease, height 0.3s ease;
    z-index: 200;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

@media (max-width: 1200px) {
    .sidebar,
    .sidebar-compact {
        transform: translateX(-100%);
        pointer-events: none;
    }
    
    .sidebar.open,
    .sidebar-compact.open {
        transform: translateX(0);
        pointer-events: auto;
    }
    
    .sidebar.open *,
    .sidebar-compact.open * {
        pointer-events: auto;
    }
    
    .sidebar-compact.active {
        display: flex;
        transform: translateX(-100%);
        pointer-events: none;
    }
    
    .sidebar-compact.active.open {
        transform: translateX(0);
        pointer-events: auto;
    }
    
    .sidebar-compact.active.open * {
        pointer-events: auto;
    }
    
    .main-content {
        margin-left: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .header-content {
        padding-left: 24px;
    }
    
    .dashboard-main {
        padding: 20px 12px;
        overflow-x: hidden;
    }
    
    .dashboard-container {
        max-width: 100%;
        overflow-x: hidden;
        padding: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    
    .header-content {
        justify-content: space-between;
    }
    
    .sidebar-overlay {
        display: block;
        visibility: hidden;
        pointer-events: none;
    }
    
    .sidebar-overlay.active {
        visibility: visible;
        pointer-events: auto;
    }
    
    .features-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .feature-card {
        width: 100%;
        max-width: 280px;
        opacity: 1;
    }
    
    .feature-text h4 {
        font-size: 14px;
    }
    
    .login-content-centered {
        max-width: 100%;
        padding: 0 16px;
    }
    
    .login-card-modern {
        padding: 32px 24px;
    }
    
    .welcome-header {
        font-size: 28px;
    }
}

/* Pricing Page Styles */
.topup-header,
.redeem-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 8px;
    border: none !important;
    border-left: none !important;
    padding-left: 0 !important;
}

.section-subtitle {
    font-size: 16px;
    color: var(--dark-text-secondary);
}

.pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px;
    margin-bottom: 40px;
    max-width: 100%;
    padding: 0;
}

.pricing-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    transition: all 0.3s ease;
    min-width: 0;
}

.pricing-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 217, 192, 0.15);
}

.pricing-card.popular {
    border-color: var(--primary-cyan);
    background: linear-gradient(135deg, rgba(0, 217, 192, 0.1) 0%, var(--dark-card) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-cyan);
    color: #1A1A1A;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--dark-border);
}

.plan-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.price-amount {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.price-period {
    font-size: 14px;
    color: var(--dark-text-secondary);
}

.pricing-features {
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--dark-text);
    font-size: 14px;
}

.feature-item svg {
    color: var(--primary-cyan);
    flex-shrink: 0;
}

.pricing-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
}

.pricing-btn:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.pricing-btn.primary {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: #1A1A1A;
}

.pricing-btn.primary:hover {
    background: #00c9b1;
    box-shadow: 0 8px 20px rgba(0, 217, 192, 0.3);
}

/* Payment Methods Section */
.payment-methods-section {
    margin-top: 48px;
    margin-left: 0;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px;
    max-width: 100%;
}

.payment-methods-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.payment-methods-header svg {
    color: var(--primary-cyan);
}

.payment-methods-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.payment-methods-subtitle {
    font-size: 14px;
    color: var(--dark-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.payment-methods-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px;
    width: 100%;
}

.payment-method-card {
    background: #121214;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.payment-method-card:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.1);
}

.payment-method-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.payment-method-icon img {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.payment-method-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.payment-method-address {
    font-size: 11px;
    color: var(--dark-text-secondary);
    word-break: break-all;
    line-height: 1.4;
    font-family: 'Monaco', 'Consolas', monospace;
    opacity: 0.7;
}

/* Custom Plan Section */
.custom-plan-section {
    margin-top: 40px;
    margin-left: 0;
    max-width: 100%;
}

.custom-plan-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.custom-plan-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.custom-plan-description {
    font-size: 14px;
    color: var(--dark-text-secondary);
    max-width: 500px;
}

.custom-plan-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid var(--primary-cyan);
    border-radius: 10px;
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.custom-plan-btn:hover {
    background: var(--primary-cyan);
    color: #1A1A1A;
}

/* Redeem Page Styles - New Design */
.redeem-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.redeem-info-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.info-card-icon.warning {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}

.info-card-icon.primary {
    background: rgba(0, 217, 192, 0.15);
    color: var(--primary-cyan);
}

.info-card-icon.info {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.info-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    min-height: 24px;
}

.typing-text {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-cyan);
    animation: blink-caret 0.75s step-end infinite;
}

.typing-text.done {
    border-right: none;
    animation: none;
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-cyan); }
}

.info-card-text {
    font-size: 13px;
    color: var(--dark-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.info-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--primary-cyan);
    border-radius: 8px;
    color: var(--primary-cyan);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-card-btn:hover {
    background: var(--primary-cyan);
    color: #1A1A1A;
}

/* Redeem Input Section */
.redeem-input-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px;
}

.redeem-input-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dark-border);
}

.redeem-input-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 217, 192, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
}

.redeem-input-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.redeem-form-new {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-label-new {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
}

.form-input-new {
    width: 100%;
    padding: 16px 18px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--dark-text);
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input-new:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 192, 0.1);
}

.form-input-new::placeholder {
    color: var(--dark-text-secondary);
}

.redeem-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary-cyan);
    border: none;
    border-radius: 10px;
    color: #1A1A1A;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: fit-content;
}

.redeem-submit-btn:hover {
    background: #00c9b1;
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.3);
    transform: translateY(-2px);
}

.redeem-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
}

.redeem-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.redeem-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Admin Panel Styles */
.admin-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 24px;
}

.admin-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--dark-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.admin-tab:hover {
    background: rgba(0, 217, 192, 0.05);
    color: var(--dark-text);
    border-color: rgba(0, 217, 192, 0.2);
}

.admin-tab.active {
    background: linear-gradient(135deg, rgba(0, 217, 192, 0.15), rgba(0, 217, 192, 0.05));
    color: #00D9C0;
    border-color: rgba(0, 217, 192, 0.3);
}

.admin-tab svg {
    flex-shrink: 0;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.coming-soon-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--dark-text-secondary);
}

.coming-soon-placeholder svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.coming-soon-placeholder h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.coming-soon-placeholder p {
    font-size: 14px;
    color: var(--dark-text-secondary);
}

/* Preset Options */
.preset-options {
    margin-bottom: 24px;
}

.preset-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 12px;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.preset-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 12px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.preset-btn:hover {
    border-color: var(--primary-cyan);
    background: rgba(0, 217, 192, 0.05);
}

.preset-btn.popular {
    border-color: var(--primary-cyan);
    background: rgba(0, 217, 192, 0.05);
}

.preset-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-cyan);
    color: #1A1A1A;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}

.preset-credits {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-text);
}

.preset-validity {
    font-size: 12px;
    color: var(--dark-text-secondary);
}

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
}

.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--dark-border);
}

.form-divider span {
    font-size: 12px;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Generate Code Form */
.generate-code-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.generate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    padding: 14px 28px;
}

.generated-codes-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--dark-border);
}

.generated-codes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.generated-codes-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
}

.copy-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
}

.generated-codes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
}

.generated-code-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
}

.code-text {
    font-family: monospace;
    font-size: 14px;
    color: var(--primary-cyan);
    letter-spacing: 1px;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--dark-text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: rgba(0, 217, 192, 0.1);
    color: var(--primary-cyan);
}

/* Codes Table */
.codes-table-container {
    overflow-x: auto;
}

.codes-table {
    width: 100%;
    border-collapse: collapse;
}

.codes-table th,
.codes-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--dark-border);
    font-size: 13px;
}

.codes-table th {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.codes-table td {
    color: var(--dark-text);
}

.codes-table tbody tr:hover {
    background: rgba(0, 217, 192, 0.03);
}

.code-display {
    font-family: monospace;
    font-size: 12px;
    color: var(--primary-cyan);
    background: rgba(0, 217, 192, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.codes-stats {
    display: flex;
    gap: 12px;
}

.stat-badge {
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.stat-badge.total {
    background: rgba(0, 217, 192, 0.1);
    color: var(--primary-cyan);
}

.stat-badge.available {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.stat-badge.redeemed {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.status-badge.available {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.status-badge.redeemed {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.status-badge.expired {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Toast Notification */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.3s ease;
    min-width: 280px;
    max-width: 400px;
}

.toast.success {
    border-color: var(--primary-cyan);
}

.toast.error {
    border-color: #ef4444;
}

.toast.warning {
    border-color: #fb923c;
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: rgba(0, 217, 192, 0.1);
    color: var(--primary-cyan);
}

.toast.error .toast-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.toast.warning .toast-icon {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 2px;
}

.toast-message {
    font-size: 13px;
    color: var(--dark-text-secondary);
}

.toast-close {
    background: transparent;
    border: none;
    color: var(--dark-text-secondary);
    cursor: pointer;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .toast-container {
        left: 20px;
        right: 20px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
}

.toast.hiding {
    animation: slideOut 0.3s ease forwards;
}

/* Redeemed History Section */
.redeemed-history-section {
    margin-top: 32px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
}

.redeemed-history-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.redeemed-history-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 217, 192, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
}

.redeemed-history-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
}

.redeemed-codes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.redeemed-code-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.redeemed-code-item:hover {
    border-color: rgba(0, 217, 192, 0.3);
}

.redeemed-code-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.redeemed-code-text {
    font-family: monospace;
    font-size: 14px;
    color: var(--primary-cyan);
    background: rgba(0, 217, 192, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.redeemed-code-details {
    display: flex;
    gap: 16px;
}

.redeemed-credits,
.redeemed-validity {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--dark-text-secondary);
}

.redeemed-credits svg,
.redeemed-validity svg {
    opacity: 0.7;
}

.redeemed-code-date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.redeemed-date-label {
    font-size: 11px;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.redeemed-date-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
}

@media (max-width: 640px) {
    .redeemed-code-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .redeemed-code-date {
        align-items: flex-start;
    }
    
    .redeemed-code-details {
        flex-direction: column;
        gap: 8px;
    }
}

.loading-row,
.empty-row {
    text-align: center;
    color: var(--dark-text-secondary);
    padding: 40px !important;
}

/* Tablet: 768px - 1200px - Show more columns */
@media (max-width: 1200px) and (min-width: 769px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .codes-stats {
        flex-wrap: wrap;
    }
    
    .admin-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-tab {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    /* Show Credits column on tablet */
    .users-table .hide-mobile:nth-child(4) {
        display: table-cell !important;
    }
    
    .users-table th.hide-mobile:nth-child(4),
    .users-table td.hide-mobile:nth-child(4) {
        display: table-cell !important;
    }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .codes-stats {
        flex-wrap: wrap;
    }
    
    /* Admin Panel Mobile Styles */
    .admin-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    .admin-tabs {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 6px;
        padding: 6px;
    }
    
    .admin-tab {
        padding: 10px 12px;
        font-size: 12px;
        gap: 6px;
    }
    
    .admin-tab svg {
        width: 16px;
        height: 16px;
    }
    
    /* Hide columns on mobile/tablet */
    .hide-mobile {
        display: none !important;
    }
    
    .users-table {
        min-width: auto;
        width: 100%;
    }
    
    .users-table th,
    .users-table td {
        padding: 12px 8px;
    }
    
    .user-cell {
        gap: 8px;
    }
    
    .user-cell span {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .action-buttons-admin {
        gap: 2px;
        flex-wrap: nowrap;
    }
    
    .action-buttons-admin .action-btn {
        padding: 0;
    }
    
    .admin-card {
        padding: 16px !important;
    }
    
    .admin-card:has(.stripe-keys-table-container) {
        overflow-x: visible;
    }
    
    .stripe-keys-table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .section-header .header-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    
    /* Ensure dashboard header actions stay visible on mobile */
    .dashboard-header .header-actions {
        display: flex !important;
        flex-direction: row !important;
        width: auto !important;
        gap: 6px !important;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .btn-refresh {
        width: 100%;
        justify-content: center;
    }
    
    .users-table-wrapper,
    .users-table-container {
        overflow-x: hidden;
    }
    
    .codes-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .codes-table {
        min-width: 500px;
    }
    
    /* Proxy form mobile styles */
    .proxy-form {
        flex-wrap: wrap !important;
    }
    
    .proxy-form .form-group-admin {
        margin-bottom: 10px;
    }
    
    .proxy-form .form-group-admin:first-child {
        width: 80px !important;
    }
    
    .proxy-form .form-group-admin:nth-child(2) {
        flex: 1 !important;
        min-width: 80px !important;
    }
    
    .proxy-form .form-group-admin label {
        font-size: 10px;
    }
    
    .proxy-form .proxy-actions {
        display: flex !important;
        gap: 6px;
        flex-shrink: 0 !important;
    }
    
    .proxy-form .proxy-actions .btn-text {
        display: none !important;
    }
    
    .proxy-form .proxy-actions .btn-secondary,
    .proxy-form .proxy-actions .btn-primary {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 8px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px !important;
    }
    
    .proxy-form .proxy-actions .btn-secondary svg,
    .proxy-form .proxy-actions .btn-primary svg {
        margin: 0 !important;
        width: 16px;
        height: 16px;
    }
    
    .codes-stats {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .codes-stats .stat-item {
        font-size: 12px;
    }
    
    .user-actions {
        flex-direction: column;
        gap: 4px;
    }
    
    .user-action-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .preset-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .maintenance-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .codes-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .codes-table {
        min-width: 500px;
    }
    
    .codes-table th,
    .codes-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
    
    .proxies-list {
        gap: 8px;
    }
    
    .proxy-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .proxy-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

.admin-section {
    margin-bottom: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: gap 0.3s ease, margin 0.3s ease;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 14px;
    color: var(--dark-text-secondary);
    pointer-events: none;
}

.search-box input {
    padding: 10px 14px 10px 40px;
    background: #121214;
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--dark-text);
    font-size: 14px;
    width: 300px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #00D9C0;
    box-shadow: 0 0 0 3px rgba(0, 217, 192, 0.1);
}

.search-box input::placeholder {
    color: var(--dark-text-secondary);
    opacity: 0.6;
}

.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--dark-text-secondary);
}

.no-results-message svg {
    color: var(--dark-border);
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-results-message p {
    font-size: 15px;
    margin: 0;
    opacity: 0.8;
}

.user-count {
    background: rgba(0, 217, 192, 0.1);
    color: var(--primary-cyan);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.admin-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
}

.maintenance-card {
    background: linear-gradient(135deg, var(--dark-card) 0%, rgba(0, 217, 192, 0.05) 100%);
}

.maintenance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.maintenance-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.maintenance-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 217, 192, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text-secondary);
    transition: all 0.3s ease;
}

.maintenance-icon.active {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}

.maintenance-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 4px;
}

.maintenance-desc {
    font-size: 14px;
    color: var(--dark-text-secondary);
}

.maintenance-status {
    font-size: 14px;
    color: var(--dark-text-secondary);
}

.status-active {
    color: #fb923c;
    font-weight: 600;
}

.status-inactive {
    color: #22c55e;
    font-weight: 600;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 56px;
    height: 28px;
    display: inline-block;
    cursor: pointer;
}

.toggle-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 3;
    margin: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-border);
    border-radius: 28px;
    transition: 0.3s;
    z-index: 1;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary-cyan);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

/* Users Table */
.users-table-container {
    overflow-x: auto;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th,
.users-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--dark-border);
}

.users-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table td {
    font-size: 14px;
    color: var(--dark-text);
}

.users-table tbody tr:hover {
    background: rgba(0, 217, 192, 0.03);
}

.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder-small {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-cyan), var(--cyan-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1A1A1A;
    font-weight: 600;
    font-size: 14px;
}

.telegram-id {
    font-family: monospace;
    font-size: 13px;
    color: var(--dark-text-secondary);
}

.credits-cell {
    font-weight: 600;
    color: var(--primary-cyan);
}

.status-badge {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.1)) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.4) !important;
}

.status-badge.blocked {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.1)) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

.action-buttons-admin {
    display: flex;
    gap: 8px;
}

.action-buttons-admin .action-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.action-buttons-admin .action-btn svg {
    width: 16px;
    height: 16px;
}

.action-buttons-admin .action-btn.edit-btn {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.action-buttons-admin .action-btn.edit-btn:hover {
    background: rgba(59, 130, 246, 0.2);
}

.action-buttons-admin .action-btn.block-btn {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

.action-buttons-admin .action-btn.block-btn:hover {
    background: rgba(251, 146, 60, 0.2);
}

.action-buttons-admin .action-btn.unblock-btn {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.action-buttons-admin .action-btn.unblock-btn:hover {
    background: rgba(34, 197, 94, 0.2);
}

.action-buttons-admin .action-btn.delete-btn {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: none;
    padding: 0;
    font-size: inherit;
}

.action-buttons-admin .action-btn.delete-btn:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Admin Sidebar Link */
.sidebar-link.admin-link {
    color: #fb923c;
}

.sidebar-link.admin-link:hover,
.sidebar-link.admin-link.active {
    background: rgba(251, 146, 60, 0.1);
    color: #fb923c;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

@media (max-width: 640px) {
    .modal-content {
        max-width: 95%;
        padding: 16px;
        margin: 10px;
        max-height: 95vh;
    }
    
    .modal-header {
        margin-bottom: 16px;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .form-group-admin {
        margin-bottom: 12px;
    }
    
    .form-group-admin label {
        font-size: 13px;
    }
    
    .form-input-admin {
        font-size: 14px;
        padding: 8px 12px;
    }
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
}

.modal-close {
    background: none;
    border: none;
    color: var(--dark-text-secondary);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--dark-text);
}

.form-group-admin {
    margin-bottom: 16px;
}

.form-group-admin label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.form-input-admin {
    width: 100%;
    padding: 12px 14px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--dark-text);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-input-admin:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-secondary {
    flex: 1;
    padding: 12px 20px;
    background: var(--dark-border);
    border: none;
    border-radius: 8px;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-secondary:hover {
    background: #3a3a45;
}

/* Confirm Dialog */
.confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirm-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-dialog {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 28px;
    max-width: 400px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.confirm-overlay.active .confirm-dialog {
    transform: scale(1);
}

.confirm-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirm-icon.warning {
    background: rgba(251, 146, 60, 0.15);
    color: #fb923c;
}

.confirm-icon.danger {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.confirm-icon.info {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.confirm-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    text-align: center;
    margin-bottom: 8px;
}

.confirm-message {
    font-size: 14px;
    color: var(--dark-text-secondary);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 24px;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.confirm-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.confirm-btn.cancel {
    background: var(--dark-border);
    color: var(--dark-text);
}

.confirm-btn.cancel:hover {
    background: #3a3a45;
}

.confirm-btn.confirm {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.confirm-btn.confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.confirm-btn.confirm.primary {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, #00b8a9 100%);
    color: #1A1A1A;
}

.confirm-btn.confirm.primary:hover {
    box-shadow: 0 4px 12px rgba(0, 217, 192, 0.4);
}

.btn-primary {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-cyan);
    border: none;
    border-radius: 8px;
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--cyan-hover);
}

/* Blocked Page Styles */
.blocked-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.blocked-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 48px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.blocked-icon {
    width: 100px;
    height: 100px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #ef4444;
}

.blocked-title {
    font-size: 28px;
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 16px;
}

.blocked-message {
    font-size: 16px;
    color: var(--dark-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.blocked-reason {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 32px;
    text-align: left;
}

.reason-icon {
    width: 36px;
    height: 36px;
    background: rgba(251, 146, 60, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fb923c;
    flex-shrink: 0;
}

.reason-text strong {
    display: block;
    color: #fb923c;
    font-size: 14px;
    margin-bottom: 8px;
}

.reason-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reason-text ul li {
    color: var(--dark-text-secondary);
    font-size: 13px;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.reason-text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fb923c;
}

.blocked-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-admin-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--primary-cyan);
    color: #1A1A1A;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-admin-btn:hover {
    background: var(--cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 217, 192, 0.4);
}

.logout-btn-blocked {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: transparent;
    color: var(--dark-text-secondary);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.logout-btn-blocked:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.blocked-footer {
    padding-top: 16px;
    border-top: 1px solid var(--dark-border);
}

.blocked-footer p {
    font-size: 13px;
    color: var(--dark-text-secondary);
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .redeem-info-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix for 640-642px breakpoint gap */
@media (max-width: 642px) and (min-width: 640px) {
    .header-content {
        gap: 8px !important;
        padding: 0 8px !important;
        justify-content: flex-start !important;
    }
    
    .page-title {
        font-size: 16px !important;
        max-width: 80px !important;
        margin-left: 8px !important;
        margin-right: auto !important;
    }
    
    .header-actions {
        gap: 6px !important;
    }
}


/* Fix for 768-772px breakpoint gap */
@media (max-width: 772px) and (min-width: 768px) {
    .header-content {
        gap: 8px !important;
        padding: 0 8px !important;
        justify-content: flex-start !important;
    }
    
    .page-title {
        font-size: 16px !important;
        max-width: 80px !important;
        margin-left: 8px !important;
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr !important;
        padding: 0 10px;
    }
    
    .pricing-card {
        padding: 24px;
    }
    
    .topup-header {
        margin-bottom: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .plan-price .price-amount {
        font-size: 32px;
    }
    
    .payment-methods-section {
        margin-top: 0px;
        padding: 24px;
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    
    .payment-method-card {
        padding: 20px 12px;
    }
    
    .payment-method-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .payment-method-icon img {
        width: 40px;
        height: 40px;
    }
    
    .payment-method-name {
        font-size: 13px;
    }
    
    .payment-method-address {
        font-size: 10px;
    }
    
    .custom-plan-section {
        margin-top: 30px;
    }
    
    .redeem-info-grid {
        grid-template-columns: 1fr;
        order: 2;
    }
    
    .redeem-input-section {
        padding: 24px;
        order: 1;
        margin-bottom: 24px;
    }
    
    .redeemed-history-section {
        order: 3;
    }
    
    .dashboard-container {
        display: flex;
        flex-direction: column;
    }
    
    .custom-plan-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .custom-plan-description {
        max-width: 100%;
    }
    
    .custom-plan-btn {
        width: 100%;
        justify-content: center;
    }
    
    .redeem-card {
        padding: 32px 24px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .header-spacer {
        display: none;
    }
    
    .header-actions {
        gap: 6px;
        flex-shrink: 0;
    }
    
    .credits-display {
        padding: 4px 8px;
        font-size: 13px;
    }
    
    .credits-display svg {
        width: 14px;
        height: 14px;
    }
    
    .user-profile-link {
        padding: 4px 8px;
    }
    
    .user-profile-link .user-avatar,
    .user-profile-link .user-avatar-placeholder {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .user-profile-link .user-name {
        display: none;
    }
    
    .logout-icon-btn {
        padding: 6px;
    }
    
    .logout-icon-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .page-title {
        font-size: 16px;
        white-space: normal;
        line-height: 1.3;
        max-width: 80px;
        flex-shrink: 1;
        overflow: hidden;
        margin-left: 8px !important;
        margin-right: auto !important;
    }
    
    .header-content {
        gap: 8px;
        padding: 0 8px;
        justify-content: flex-start !important;
    }
    
    .dashboard-header {
        height: 60px;
        overflow-x: hidden;
    }
    
    .main-content {
        padding-top: 60px;
    }
    
    .user-name {
        display: none !important;
    }
    
    .user-profile-link {
        padding: 4px !important;
        min-width: auto !important;
    }
    
    .user-profile-link .user-avatar,
    .user-profile-link .user-avatar-placeholder {
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
    
    .credits-display {
        padding: 3px 6px !important;
        font-size: 12px !important;
        min-width: auto !important;
    }
    
    .credits-display svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .logout-icon-btn {
        padding: 4px !important;
        min-width: auto !important;
    }
    
    .logout-icon-btn svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .mobile-menu-btn {
        min-width: 40px !important;
        min-height: 40px !important;
        padding: 8px !important;
    }
    
    .page-title {
        font-size: 16px !important;
        max-width: 70px !important;
        margin-left: 0 !important;
    }
}

/* Fix for 379-382px breakpoint gap */
@media (max-width: 382px) and (min-width: 379px) {
    .header-content {
        padding: 0 4px !important;
        gap: 4px !important;
        justify-content: flex-start !important;
    }
    
    .page-title {
        font-size: 11px !important;
        max-width: 60px !important;
        margin-left: 4px !important;
        margin-right: auto !important;
    }
}

@media (max-width: 380px) {
    .header-content {
        padding: 0 4px !important;
        gap: 4px !important;
        justify-content: flex-start !important;
    }
    
    .mobile-menu-btn {
        min-width: 36px !important;
        min-height: 36px !important;
        padding: 6px !important;
    }
    
    .page-title {
        font-size: 11px !important;
        max-width: 60px !important;
        margin-left: 4px !important;
        margin-right: auto !important;
    }
    
    .credits-display {
        padding: 2px 4px !important;
        font-size: 11px !important;
    }
    
    .credits-display svg {
        width: 10px !important;
        height: 10px !important;
    }
    
    .user-profile-link {
        padding: 2px !important;
    }
    
    .user-profile-link .user-avatar,
    .user-profile-link .user-avatar-placeholder {
        width: 22px !important;
        height: 22px !important;
        font-size: 10px !important;
    }
    
    .logout-icon-btn {
        padding: 3px !important;
    }
    
    .logout-icon-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .dashboard-header {
        height: 50px !important;
    }
    
    .main-content {
        padding-top: 50px !important;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        gap: 16px;
    }
    
    .pricing-card {
        padding: 20px;
    }
    
    .plan-name {
        font-size: 18px;
    }
    
    .plan-price .price-amount {
        font-size: 28px;
    }
    
    .pricing-features {
        gap: 10px;
    }
    
    .feature-item {
        font-size: 13px;
    }
    
    .pricing-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .payment-methods-section {
        padding: 20px;
    }
    
    .payment-methods-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .payment-method-card {
        padding: 16px 10px;
    }
    
    .payment-method-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }
    
    .payment-method-icon img {
        width: 36px;
        height: 36px;
    }
    
    .payment-method-name {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .payment-method-address {
        font-size: 9px;
    }
    
    .payment-methods-subtitle {
        font-size: 12px;
    }
    
    .custom-plan-card {
        padding: 20px;
    }
    
    .custom-plan-title {
        font-size: 18px;
    }
    
    .custom-plan-description {
        font-size: 13px;
    }
}

/* Admin Proxy Management */
.proxy-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--dark-border);
}

.proxy-form .form-group-admin {
    margin-bottom: 0;
}

.proxy-form .form-group-admin:first-child {
    width: 120px;
    flex-shrink: 0;
}

.proxy-form .form-group-admin:nth-child(2) {
    flex: 1;
}

.proxy-form .form-group-admin label {
    margin-bottom: 8px;
    display: block;
}

.proxy-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.proxy-actions .btn-secondary,
.proxy-actions .btn-primary {
    padding: 12px 16px;
    font-size: 13px;
    white-space: nowrap;
}

.proxy-test-result {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 8px;
}

.proxy-test-result.testing {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.proxy-test-result.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.proxy-test-result.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.proxy-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.proxy-list-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.proxy-count {
    font-size: 13px;
    color: var(--dark-text-secondary);
    background: var(--dark-bg);
    padding: 4px 12px;
    border-radius: 20px;
}

.proxy-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proxy-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--dark-bg);
    border-radius: 8px;
    border: 1px solid var(--dark-border);
}

.proxy-row:hover {
    border-color: rgba(0, 217, 192, 0.3);
}

.proxy-type-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(0, 217, 192, 0.15);
    color: var(--primary-cyan);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.proxy-address-inline {
    flex: 1;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    color: var(--dark-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proxy-status-inline {
    font-size: 12px;
    color: var(--dark-text-secondary);
    flex-shrink: 0;
}

.proxy-status-inline.success {
    color: #22c55e;
}

/* Gateway Management Styles */
.gateway-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gateway-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--dark-bg);
    border-radius: 8px;
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
}

.gateway-item:hover {
    border-color: rgba(0, 217, 192, 0.3);
    transform: translateY(-2px);
}

.gateway-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gateway-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 192, 0.1);
    border-radius: 8px;
    color: var(--primary-cyan);
}

.gateway-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gateway-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.gateway-description {
    font-size: 13px;
    color: var(--dark-text-secondary);
    margin: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 3;
    margin: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    border-radius: 26px;
    border: 1px solid var(--dark-border);
    z-index: 1;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Disabled gateway links in sidebar */
.sidebar-sublink.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
    color: var(--dark-text-secondary) !important;
}

.sidebar-sublink.disabled svg {
    opacity: 0.4;
}

.proxy-status-inline.error {
    color: #ef4444;
}

.proxy-status-inline.testing {
    color: #3b82f6;
}

.proxy-row-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.proxy-icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proxy-icon-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.proxy-icon-test {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.proxy-icon-test:hover {
    background: rgba(34, 197, 94, 0.25);
}

.proxy-icon-delete {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.proxy-icon-delete:hover {
    background: rgba(239, 68, 68, 0.25);
}

.empty-state {
    text-align: center;
    padding: 32px;
    color: var(--dark-text-secondary);
    font-size: 14px;
}

/* Stripe Keys Management */
.stripe-key-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 0;
}

.stripe-key-form .form-group-admin {
    margin-bottom: 0;
}

.stripe-key-form .form-hint {
    display: block;
    font-size: 12px;
    color: var(--dark-text-secondary);
    margin-top: 6px;
}

.stripe-keys-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


.stripe-key-display {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    color: var(--primary-cyan);
    background: rgba(0, 217, 192, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 217, 192, 0.2);
}

.keys-count {
    font-size: 13px;
    color: var(--dark-text-secondary);
    background: var(--dark-bg);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Stripe-keys check/delete styles consolidated into .action-buttons-admin rules above (duplicates removed) */

.status-badge.active {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.1)) !important;
    color: #22c55e !important;
    border: 1px solid rgba(34, 197, 94, 0.4) !important;
}

.status-badge.inactive {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25), rgba(239, 68, 68, 0.1)) !important;
    color: #ef4444 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
}

.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
    margin-right: 8px;
}

.spinning-icon {
    animation: spin 1s linear infinite;
    display: inline-block;
}

.generated-codes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.generated-codes-header h3 {
    margin: 0;
    flex-shrink: 0;
}

.generated-codes-header button {
    white-space: nowrap;
    flex: 0 0 auto;
    width: auto;
}

.form-group-flex-2 {
    flex: 2;
}

.form-row-gap {
    gap: 12px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.section-subtitle {
    font-size: 14px;
    color: var(--dark-text-secondary);
    margin-top: 4px;
}

/* BIN Lookup Page Styles - New Design */
.bin-lookup-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* Search Section */
.bin-search-section {
    margin-bottom: 32px;
}

.bin-search-box {
    display: flex;
    align-items: center;
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    border-radius: 16px;
    padding: 8px;
    transition: all 0.3s ease;
}

.bin-search-box-multi {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--dark-card);
    border: 2px solid var(--dark-border);
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
}

.bin-search-box-multi:focus-within {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 4px rgba(0, 217, 192, 0.1);
}

.bin-search-textarea {
    width: 100%;
    min-height: 150px;
    padding: 14px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--dark-text);
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.5;
    resize: vertical;
}

.bin-search-textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.bin-search-textarea::placeholder {
    color: var(--dark-text-secondary);
}

.bin-search-hint {
    font-size: 12px;
    color: var(--dark-text-secondary);
    margin-top: 8px;
}

.bin-search-box:focus-within {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 4px rgba(0, 217, 192, 0.1);
}

.bin-search-icon {
    padding: 12px 16px;
    color: var(--dark-text-secondary);
}

.bin-search-input {
    flex: 1;
    padding: 12px 8px;
    background: transparent;
    border: none;
    color: var(--dark-text);
    font-size: 16px;
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: 1px;
}

.bin-search-input:focus {
    outline: none;
}

.bin-search-input::placeholder {
    color: var(--dark-text-secondary);
    font-family: inherit;
    letter-spacing: normal;
}

.bin-search-btn {
    padding: 14px 28px;
    background: var(--primary-cyan);
    border: none;
    border-radius: 10px;
    color: #1A1A1A;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bin-search-btn:hover {
    background: #00c9b1;
    transform: scale(1.02);
}

.bin-search-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Result Section */
.bin-result-section {
    animation: fadeInUp 0.4s ease;
    margin-bottom: 24px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Preview */
.bin-card-preview {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.bin-card-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 217, 192, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.bin-card-chip {
    width: 50px;
    height: 38px;
    background: linear-gradient(135deg, #d4af37 0%, #f9d423 50%, #d4af37 100%);
    border-radius: 6px;
    position: relative;
    flex-shrink: 0;
}

.bin-card-chip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 60%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.bin-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.bin-card-number {
    font-size: 22px;
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bin-card-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Info Grid */
.bin-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.bin-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.bin-info-item:hover {
    border-color: var(--primary-cyan);
    transform: translateY(-2px);
}

.bin-info-item.full {
    grid-column: span 2;
}

.bin-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bin-info-icon.brand {
    background: rgba(0, 217, 192, 0.15);
    color: var(--primary-cyan);
}

.bin-info-icon.type {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.bin-info-icon.level {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.bin-info-icon.country {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.bin-info-icon.bank {
    background: rgba(236, 72, 153, 0.15);
    color: #ec4899;
}

.bin-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bin-info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bin-info-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark-text);
    word-break: break-word;
}

/* Error Section */
.bin-error-section {
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.4s ease;
}

.bin-error-icon-wrap {
    width: 64px;
    height: 64px;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.bin-error-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.bin-error-text {
    font-size: 14px;
    color: var(--dark-text-secondary);
    margin: 0;
}

/* BIN Card Info Grid - Inside Blue Card */
.bin-card-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.bin-card-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bin-card-info-item.full {
    grid-column: span 2;
}

.bin-card-info-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bin-card-info-icon.brand {
    background: rgba(0, 217, 192, 0.2);
    color: var(--primary-cyan);
}

.bin-card-info-icon.type {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
}

.bin-card-info-icon.level {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.bin-card-info-icon.country {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.bin-card-info-icon.bank {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}

.bin-card-info-text {
    flex: 1;
    min-width: 0;
}

.bin-card-info-label {
    font-size: 9px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.bin-card-info-value {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
}

@media (max-width: 768px) {
    .bin-card-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .bin-card-info-item.full {
        grid-column: span 1;
    }

    .bin-card-info-icon {
        width: 28px;
        height: 28px;
    }

    .bin-card-info-label {
        font-size: 8px;
    }

    .bin-card-info-value {
        font-size: 12px;
    }
}

/* BIN Lookup Mobile Styles */
@media (max-width: 600px) {
    .bin-search-box {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }
    
    .bin-search-icon {
        display: none;
    }
    
    .bin-search-input {
        width: 100%;
        text-align: center;
        padding: 16px;
    }
    
    .bin-search-btn {
        width: 100%;
    }
    
    .bin-card-preview {
        padding: 20px;
    }
    
    .bin-card-number {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .bin-info-grid {
        grid-template-columns: 1fr;
    }
    
    .bin-info-item.full {
        grid-column: span 1;
    }
    
    .bin-info-item {
        padding: 16px;
    }
}

/* Multi-BIN Results */
.bin-multi-results {
    padding: 28px;
}

.bin-multi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.bin-multi-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.bin-multi-count {
    font-size: 13px;
    color: var(--primary-cyan);
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(0, 217, 192, 0.1);
    border-radius: 20px;
}

.bin-multi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.bin-multi-card {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
}

.bin-multi-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: rgba(0, 217, 192, 0.08);
    border-bottom: 1px solid var(--dark-border);
}

.bin-multi-bin {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-cyan);
}

.bin-multi-brand {
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-text);
    padding: 4px 10px;
    background: var(--dark-card);
    border-radius: 6px;
}

.bin-multi-card-body {
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.bin-multi-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bin-multi-row.full {
    grid-column: span 2;
}

.bin-multi-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bin-multi-value {
    font-size: 13px;
    color: var(--dark-text);
}

.bin-multi-notfound {
    grid-column: 1 / -1;
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-size: 13px;
}

/* =====================================================
   CC GENERATOR PAGE STYLES
   ===================================================== */
.ccgen-wrapper {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.ccgen-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}

.ccgen-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dark-border);
}

.ccgen-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 217, 192, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
}

.ccgen-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.free-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 20px;
    text-transform: uppercase;
}

.ccgen-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ccgen-subtitle {
    font-size: 14px;
    color: var(--dark-text-secondary);
    margin: 0;
}

/* Input Grid */
.ccgen-input-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.ccgen-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ccgen-input-group.full-width {
    grid-column: span 3;
}

.ccgen-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccgen-input,
.ccgen-select {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 14px 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--dark-text);
    font-size: 15px;
    transition: all 0.2s ease;
}

.ccgen-input:focus,
.ccgen-select:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 192, 0.1);
}

.ccgen-input::placeholder {
    color: var(--dark-text-secondary);
}

.ccgen-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.ccgen-select option {
    background: var(--dark-card);
    color: var(--dark-text);
}

.ccgen-hint {
    font-size: 12px;
    color: var(--dark-text-secondary);
    margin: 0;
}

.ccgen-bin-textarea {
    min-height: 60px;
    resize: none;
    font-family: 'Monaco', 'Consolas', monospace;
    letter-spacing: 1px;
    /* Custom scrollbar - same as results */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-cyan) transparent;
}

.ccgen-bin-textarea::-webkit-scrollbar {
    width: 6px;
}

.ccgen-bin-textarea::-webkit-scrollbar-track {
    background: transparent;
}

.ccgen-bin-textarea::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 3px;
}

.ccgen-bin-textarea::-webkit-scrollbar-thumb:hover {
    background: #00c9b1;
}

.ccgen-cvv-input {
    margin-top: 8px;
}

/* Generate Button */
.ccgen-generate-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, #00b4a0 100%);
    border: none;
    border-radius: 12px;
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ccgen-generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.3);
}

.ccgen-generate-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* BIN Info Card */
.ccgen-bininfo-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.ccgen-bininfo-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--dark-border);
}

.ccgen-bininfo-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-cyan);
    margin: 0;
}

.ccgen-bininfo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.ccgen-bininfo-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ccgen-bininfo-item.full {
    grid-column: span 4;
}

.ccgen-bininfo-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccgen-bininfo-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
}

/* Results Card */
.ccgen-results-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
}

.ccgen-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.ccgen-results-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.ccgen-results-count {
    font-size: 13px;
    color: var(--primary-cyan);
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(0, 217, 192, 0.1);
    border-radius: 20px;
}

.ccgen-results-textarea {
    width: 100%;
    min-height: 200px;
    padding: 16px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--dark-text);
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    resize: vertical;
    margin-bottom: 20px;
    /* Custom scrollbar - same as sidebar */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-cyan) transparent;
}

.ccgen-results-textarea::-webkit-scrollbar {
    width: 6px;
}

.ccgen-results-textarea::-webkit-scrollbar-track {
    background: transparent;
}

.ccgen-results-textarea::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 3px;
}

.ccgen-results-textarea::-webkit-scrollbar-thumb:hover {
    background: #00c9b1;
}

.ccgen-results-textarea:focus {
    outline: none;
    border-color: var(--primary-cyan);
}

.ccgen-results-textarea::placeholder {
    color: var(--dark-text-secondary);
}

/* Action Buttons */
.ccgen-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ccgen-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 217, 192, 0.1);
    border: 1px solid var(--primary-cyan);
    border-radius: 8px;
    color: var(--primary-cyan);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ccgen-action-btn:hover {
    background: rgba(0, 217, 192, 0.2);
}

.ccgen-results-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ccgen-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ccgen-action-btn.copy {
    background: rgba(0, 217, 192, 0.1);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.ccgen-action-btn.copy:hover:not(:disabled) {
    background: rgba(0, 217, 192, 0.2);
}

.ccgen-action-btn.clear {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
    color: #ef4444;
}

.ccgen-action-btn.clear:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.2);
}

.ccgen-action-btn.download {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.ccgen-action-btn.download:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.2);
}

/* CC Generator Mobile Styles */
@media (max-width: 900px) {
    .ccgen-input-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .ccgen-input-group.full-width {
        grid-column: span 2;
    }
    
    .ccgen-bininfo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .ccgen-bininfo-item.full {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .ccgen-card {
        padding: 20px;
    }
    
    .ccgen-input-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .ccgen-input-group.full-width {
        grid-column: span 2;
    }
    
    .ccgen-bininfo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .ccgen-bininfo-item.full {
        grid-column: span 2;
    }
    
    .ccgen-actions {
        flex-direction: column;
    }
    
    .ccgen-action-btn {
        justify-content: center;
    }
    
    .ccgen-header {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================================================
   CC FILTER PAGE STYLES
   ===================================================== */
.ccfilter-import-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccfilter-import-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ccfilter-import-btn:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.ccfilter-file-name {
    font-size: 13px;
    color: var(--primary-cyan);
    font-weight: 500;
}

.ccfilter-options-card {
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 20px;
}

.ccfilter-options-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0 0 16px 0;
}

.ccfilter-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ccfilter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark-text);
    user-select: none;
}

.ccfilter-checkbox-label input[type="checkbox"] {
    display: none;
}

.ccfilter-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--dark-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.ccfilter-checkbox-label input[type="checkbox"]:checked + .ccfilter-checkbox-custom {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

.ccfilter-checkbox-label input[type="checkbox"]:checked + .ccfilter-checkbox-custom::after {
    content: '✓';
    color: #1A1A1A;
    font-size: 12px;
    font-weight: bold;
}

/* =====================================================
   TOOLS PAGE SELECTOR STYLES
   ===================================================== */
.tools-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
}

.tools-nav-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--dark-text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tools-nav-btn:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    background: rgba(0, 217, 192, 0.1);
}

.tools-selector-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(0, 217, 192, 0.1) 0%, rgba(0, 171, 255, 0.1) 100%);
    border: 1px solid rgba(0, 217, 192, 0.3);
    border-radius: 12px;
    min-width: 200px;
    justify-content: center;
}

.tools-selector-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 192, 0.2);
    border-radius: 8px;
    color: var(--primary-cyan);
}

.tools-selector-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
}

.tool-panel {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Key Checker Styles */
.checker-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0px;
}

.checker-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.checker-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checker-title svg {
    color: var(--primary-cyan);
}

.checker-subtitle {
    color: var(--dark-text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.input-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.keys-textarea {
    width: 100%;
    min-height: 200px;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 16px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    color: var(--primary-cyan);
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease;
    margin-bottom: 0;
    line-height: 1.6;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-cyan) transparent;
}

.keys-textarea:focus {
    border-color: var(--primary-cyan);
}

.keys-textarea::placeholder {
    color: var(--dark-text-secondary);
}

.keys-textarea::-webkit-scrollbar {
    width: 6px;
}

.keys-textarea::-webkit-scrollbar-track {
    background: transparent;
}

.keys-textarea::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 3px;
}

.keys-textarea::-webkit-scrollbar-thumb:hover {
    background: #00c9b1;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
}

.result-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    overflow: hidden;
    min-width: 0;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--dark-border);
}

.result-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.result-title.live {
    color: #22c55e;
}

.result-title.dead {
    color: #ef4444;
}

.result-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.result-title.live .result-count {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.result-title.dead .result-count {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: var(--dark-text-secondary);
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: var(--dark-bg);
    color: var(--dark-text);
}

.result-body {
    padding: 16px 20px;
    min-height: 150px;
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-cyan) transparent;
}

.result-body::-webkit-scrollbar {
    width: 6px;
}

.result-body::-webkit-scrollbar-track {
    background: transparent;
}

.result-body::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 3px;
}

.result-body::-webkit-scrollbar-thumb:hover {
    background: #00c9b1;
}

.result-empty {
    color: var(--dark-text-secondary);
    font-size: 14px;
    font-style: italic;
}

.result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--dark-bg);
    border-radius: 8px;
    margin-bottom: 8px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 12px;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item.live {
    border-left: 3px solid #22c55e;
}

.result-item.dead {
    border-left: 3px solid #ef4444;
}

.result-key {
    color: var(--primary-cyan);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 70%;
}

.result-balance {
    color: #22c55e;
    font-weight: 600;
    font-size: 11px;
}

.result-error {
    color: #ef4444;
    font-size: 11px;
    max-width: 30%;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.checker-progress-bar {
    height: 4px;
    background: var(--dark-border);
    border-radius: 2px;
    margin-top: 16px;
    overflow: hidden;
    display: none;
}

.checker-progress-bar.active {
    display: block;
}

.checker-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-purple));
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.checker-progress-text {
    font-size: 13px;
    color: var(--dark-text-secondary);
    margin-top: 8px;
    display: none;
}

.checker-progress-text.active {
    display: block;
}

.result-item-expanded {
    background: var(--dark-bg);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.result-item-expanded.live {
    border-left: 3px solid #22c55e;
}

.result-item-expanded.dead {
    border-left: 3px solid #ef4444;
}

.result-item-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.result-item-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.result-item-header .status-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

.result-item-header .status-badge.live {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.result-item-header .status-badge.dead {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.result-key-full {
    flex: 1;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 12px;
    color: var(--primary-cyan);
    word-break: break-all;
    line-height: 1.4;
}

.copy-key-btn {
    background: transparent;
    border: 1px solid var(--dark-border);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    color: var(--dark-text-secondary);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.copy-key-btn:hover {
    background: var(--dark-card);
    color: var(--dark-text);
    border-color: var(--primary-cyan);
}

.expand-icon {
    color: var(--dark-text-secondary);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.result-item-header.expanded .expand-icon {
    transform: rotate(180deg);
}

.result-item-details {
    display: none;
    padding: 0 14px 14px;
    border-top: 1px solid var(--dark-border);
}

.result-item-details.expanded {
    display: block;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--dark-border);
    font-size: 13px;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row span:first-child {
    color: var(--dark-text-secondary);
}

.detail-value {
    color: var(--dark-text);
    font-weight: 500;
}

.detail-value.live {
    color: #22c55e;
}

.detail-value.dead {
    color: #ef4444;
}

.result-item-error {
    padding: 8px 14px 12px;
    font-size: 12px;
    color: #ef4444;
    border-top: 1px solid var(--dark-border);
}

.result-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Stripe CC Checker Styles */
.checker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.checker-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.checker-mode-toggle {
    display: flex;
    gap: 0;
    background: var(--dark-bg);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--dark-border);
    overflow: hidden;
}

.mode-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--dark-text-secondary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mode-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
}

.mode-btn.active {
    background: var(--primary-cyan);
    color: #0a0e1a;
    box-shadow: 0 2px 8px rgba(0, 255, 255, 0.3);
}

.mode-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.input-group {
    margin-bottom: 20px;
}

.input-hint {
    font-size: 12px;
    color: var(--dark-text-secondary);
    font-weight: 400;
    margin-left: 8px;
}

.input-field {
    width: 100%;
    background: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
    color: var(--primary-cyan);
    outline: none;
    transition: border-color 0.2s ease;
}

.input-field:focus {
    border-color: var(--primary-cyan);
}

.input-field::placeholder {
    color: var(--dark-text-secondary);
}

.checker-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-label {
    font-size: 11px;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-cyan);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.result-title.charged {
    color: #fbbf24;
}

.result-title.charged svg {
    color: #fbbf24;
}

.result-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.result-card-info code {
    font-size: 13px;
    color: var(--primary-cyan);
}

.result-message {
    font-size: 12px;
    color: var(--dark-text-secondary);
}

.result-bin-info {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--dark-text-secondary);
    margin-top: 4px;
}

.result-amount {
    font-size: 14px;
    font-weight: 600;
    color: #fbbf24;
}

.result-time {
    font-size: 11px;
    color: var(--dark-text-secondary);
}

.btn-secondary {
    background: #ef4444;
}

.btn-secondary:hover {
    background: #dc2626;
}

/* Results Container - Full Width Sections */
.results-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.result-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.result-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.result-section-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.result-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
}

.result-section-title svg {
    color: var(--primary-cyan);
}

.result-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-cyan);
}

.result-section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-section-actions .action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-cyan);
    color: #0a0e1a;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.result-section-actions .action-btn:hover {
    background: #00e5e5;
    transform: translateY(-1px);
}

.result-section-actions .action-btn.delete-btn {
    background: #ef4444;
    color: white;
}

.result-section-actions .action-btn.delete-btn:hover {
    background: #dc2626;
}

.result-section-actions .action-btn svg {
    width: 16px;
    height: 16px;
}

.chevron {
    color: var(--dark-text-secondary);
    transition: transform 0.3s ease;
}

.result-section.collapsed .chevron {
    transform: rotate(-90deg);
}

.result-section-body {
    padding: 0 20px 20px;
    border-top: 1px solid var(--dark-border);
    max-height: 400px;
    overflow-y: auto;
}

.result-section-body::-webkit-scrollbar {
    width: 8px;
}

.result-section-body::-webkit-scrollbar-track {
    background: var(--dark-bg);
    border-radius: 4px;
}

.result-section-body::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 4px;
}

.result-section-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.result-section.collapsed .result-section-body {
    display: none;
}

@media (max-width: 768px) {
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .checker-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .checker-mode-toggle {
        width: 100%;
    }
    
    .mode-btn {
        flex: 1;
        justify-content: center;
    }
}


/* ===== Top Up / Invoice Page Styles ===== */

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: var(--primary-cyan);
    transform: translateX(-4px);
}

/* Invoice Confirmation Container */
.invoice-confirm-section {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    padding: 32px;
    max-width: 100%;
    margin-top: 20px;
}

/* Invoice Header */
.invoice-header-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.invoice-header-section svg {
    color: #00D9C0;
    flex-shrink: 0;
}

.invoice-main-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 0;
}

.invoice-subtitle {
    color: var(--dark-text-secondary);
    font-size: 14px;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

/* Invoice Details Grid */
.invoice-details-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.invoice-detail-card {
    background: #121214;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.invoice-detail-card:hover {
    border-color: #00D9C0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.1);
}

.invoice-detail-label {
    color: var(--dark-text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    font-weight: 600;
    opacity: 0.7;
}

.invoice-detail-value {
    color: var(--dark-text);
    font-size: 18px;
    font-weight: 700;
}

.invoice-detail-value.amount {
    color: #00D9C0;
    font-size: 24px;
}

.invoice-detail-value.credits {
    color: #00D9C0;
}

/* Invoice Features Section */
.invoice-features-section {
    margin-bottom: 24px;
}

.invoice-features-title {
    font-size: 16px;
    font-weight: 600;
    color: #00D9C0;
    margin: 0 0 12px 0;
}

.invoice-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.invoice-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #121214;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--dark-text);
    font-size: 14px;
    transition: all 0.2s ease;
}

.invoice-feature-item:hover {
    border-color: #00D9C0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.1);
}

.invoice-feature-item svg {
    color: #00D9C0;
    flex-shrink: 0;
}

/* Invoice Info Box */
.invoice-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin-bottom: 24px;
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.15);
    border-radius: 12px;
}

.invoice-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.invoice-info-icon svg {
    color: #ffc107;
}

.invoice-info-text {
    color: var(--dark-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.invoice-info-text strong {
    color: #ffc107;
    font-weight: 600;
}

/* Invoice Actions */
.invoice-actions {
    display: flex;
    gap: 16px;
}

.invoice-btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.invoice-btn.primary {
    background: linear-gradient(135deg, #00D9C0, #00C4AD);
    color: #000000;
    box-shadow: 0 4px 15px rgba(0, 217, 192, 0.3);
}

.invoice-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 192, 0.4);
}

.invoice-btn.primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.invoice-btn.secondary {
    background: transparent;
    color: var(--dark-text-secondary);
    border: 1px solid var(--dark-border);
}

.invoice-btn.secondary:hover {
    background: var(--dark-bg);
    color: var(--dark-text);
    border-color: #00D9C0;
}

/* Invoice ID Section */
.invoice-id-section {
    padding: 20px;
    margin-bottom: 24px;
    background: #121214;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
}

.invoice-id-label {
    color: #00D9C0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.invoice-id-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.invoice-id-code {
    flex: 1;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: #00D9C0;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.invoice-copy-btn {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: #00D9C0;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.invoice-copy-btn:hover {
    border-color: #00D9C0;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 217, 192, 0.2);
}

/* Invoice Instructions */
.invoice-instructions-section {
    margin-bottom: 24px;
}

.invoice-instructions-title {
    font-size: 16px;
    font-weight: 600;
    color: #00D9C0;
    margin: 0 0 12px 0;
}

.invoice-instructions-list {
    margin: 0;
    padding-left: 20px;
    color: var(--dark-text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.invoice-instructions-list li {
    margin-bottom: 8px;
}

.invoice-instructions-list strong {
    color: #00D9C0;
    font-weight: 600;
}

.invoice-highlight {
    color: #00D9C0;
    font-weight: 700;
}

/* Invoice Payment Methods Grid */
.invoice-payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.invoice-crypto-card {
    background: #121214;
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

.invoice-crypto-card:hover {
    border-color: #00D9C0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.1);
}

.invoice-crypto-card img {
    margin-bottom: 8px;
}

.invoice-crypto-name {
    font-size: 13px;
    color: var(--dark-text-secondary);
    font-weight: 500;
}

/* Invoice Warning */
.invoice-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    margin: 0;
    background: rgba(255, 193, 7, 0.05);
    border: 1px solid rgba(255, 193, 7, 0.15);
    border-radius: 12px;
}

.invoice-warning svg {
    color: #ffc107;
    flex-shrink: 0;
    margin-top: 2px;
}

.invoice-warning-text {
    color: var(--dark-text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .invoice-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .invoice-payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .invoice-confirm-section {
        padding: 16px;
        margin: 0 10px;
    }
    
    .invoice-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .invoice-detail-card {
        padding: 16px;
    }
    
    .invoice-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .invoice-btn {
        width: 100%;
        justify-content: center;
    }
    
    .invoice-payment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .invoice-main-title {
        font-size: 18px;
    }
    
    .invoice-subtitle {
        font-size: 14px;
    }
    
    .invoice-header-section {
        flex-wrap: wrap;
    }
    
    .invoice-id-box {
        width: 100%;
        word-break: break-all;
    }
    
    .invoice-id-section {
        padding: 16px;
    }
    
    .invoice-id-display {
        flex-direction: column;
        gap: 12px;
    }
    
    .invoice-id-code {
        width: 100%;
        text-align: center;
        font-size: 14px;
    }
    
    .invoice-copy-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .invoice-warning {
        padding: 12px;
        font-size: 13px;
    }
    
    .invoice-features-list {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .invoice-confirm-section {
        padding: 12px;
        margin: 0 5px;
        border-radius: 12px;
    }
    
    .invoice-detail-card {
        padding: 12px;
    }
    
    .invoice-detail-label {
        font-size: 11px;
    }
    
    .invoice-detail-value {
        font-size: 16px;
    }
    
    .invoice-main-title {
        font-size: 16px;
    }
    
    .invoice-subtitle {
        font-size: 12px;
    }
    
    .invoice-id-box {
        padding: 12px;
        font-size: 13px;
    }
    
    .invoice-id-section {
        padding: 12px;
    }
    
    .invoice-id-code {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .invoice-copy-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .invoice-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .invoice-warning {
        padding: 10px;
        font-size: 12px;
    }
    
    .invoice-features-title {
        font-size: 14px;
    }
    
    .invoice-feature-item {
        font-size: 13px;
    }
}

/* Pending Invoices Section */
.invoices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
    max-height: 600px;
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: #00D9C0 transparent;
}

.invoices-grid::-webkit-scrollbar {
    width: 8px;
}

.invoices-grid::-webkit-scrollbar-track {
    background: transparent;
}

.invoices-grid::-webkit-scrollbar-thumb {
    background: #00D9C0;
    border-radius: 4px;
}

.invoices-grid::-webkit-scrollbar-thumb:hover {
    background: #00C4AD;
}

.invoice-card {
    background: var(--dark-card);
    border: 2px solid #00D9C0;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.invoice-card:hover {
    border-color: #00D9C0;
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.3);
    transform: translateY(-2px);
}

.invoice-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--dark-border);
}

.invoice-id-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #121214;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 217, 192, 0.3);
}

.invoice-id-badge svg {
    color: #00D9C0;
    flex-shrink: 0;
}

.invoice-id-badge code {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #00D9C0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.invoice-status {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.invoice-status.pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.invoice-card-body {
    margin-bottom: 20px;
}

.invoice-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.invoice-info-row:last-child {
    border-bottom: none;
}

.invoice-info-label {
    font-size: 13px;
    color: var(--dark-text-secondary);
    font-weight: 500;
}

.invoice-info-value {
    font-size: 14px;
    color: var(--dark-text);
    font-weight: 600;
    text-align: right;
}

.invoice-info-value.invoice-amount {
    color: #00D9C0;
    font-size: 18px;
    font-weight: 700;
}

.invoice-card-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
}

.invoice-action-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.invoice-action-btn.approve {
    background: linear-gradient(135deg, #00D9C0, #00C4AD);
    color: #000000;
    border: 1px solid #00D9C0;
    box-shadow: 0 4px 12px rgba(0, 217, 192, 0.3);
}

.invoice-action-btn.approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 192, 0.5);
}

.invoice-action-btn.reject {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.invoice-action-btn.reject:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.invoice-action-btn svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--dark-text-secondary);
}

.empty-state svg {
    color: var(--dark-border);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
    opacity: 0.7;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--dark-text-secondary);
}

.loading-state .spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 4px solid var(--dark-border);
    border-top-color: #00D9C0;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-state p {
    font-size: 15px;
    margin: 0;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1200px) {
    .invoices-grid {
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    }
}

@media (max-width: 768px) {
    .invoices-grid {
        grid-template-columns: 1fr;
        max-height: 500px;
        gap: 16px;
    }
    
    .invoice-card {
        padding: 20px;
    }
    
    .invoice-card-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .invoice-card-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .invoice-action-btn {
        width: 100%;
    }
}

/* Admin Panel - Remove Inline Styles */
.no-expiry-text {
    color: var(--dark-text-secondary);
}

.site-checker-section {
    margin-top: 20px;
}

.site-checker-buttons {
    display: flex;
    gap: 10px;
}

#siteCheckResult {
    margin-top: 15px;
}

#siteCheckResult label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

#siteCheckResponse {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    max-height: 400px;
    font-size: 13px;
    line-height: 1.5;
}

.credit-expiry-hint {
    color: var(--dark-text-secondary);
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.gate-enabled-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}

.gate-enabled-row label {
    margin: 0;
}

/* Toast Notification System */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    z-index: 10001;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    border: 1px solid;
}

.toast-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-notification.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(56, 142, 60, 0.95));
    color: #ffffff;
    border-color: rgba(76, 175, 80, 0.5);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.toast-notification.success::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: bold;
}

.toast-notification.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.95), rgba(211, 47, 47, 0.95));
    color: #ffffff;
    border-color: rgba(244, 67, 54, 0.5);
    box-shadow: 0 8px 24px rgba(244, 67, 54, 0.3);
}

.toast-notification.error::before {
    content: "✕";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-weight: bold;
}

.toast-notification.info {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.95), rgba(0, 204, 204, 0.95));
    color: #000000;
    border-color: rgba(0, 255, 255, 0.5);
    box-shadow: 0 8px 24px rgba(0, 255, 255, 0.3);
}

.toast-notification.info::before {
    content: "ℹ";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    font-weight: bold;
}

/* Old Toast System Styles */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 8px;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: slideInRight 0.3s ease;
    border: 1px solid;
}

.toast.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(56, 142, 60, 0.95));
    border-color: rgba(76, 175, 80, 0.5);
    color: #ffffff;
}

.toast.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.95), rgba(211, 47, 47, 0.95));
    border-color: rgba(244, 67, 54, 0.5);
    color: #ffffff;
}

.toast.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.95), rgba(255, 160, 0, 0.95));
    border-color: rgba(255, 193, 7, 0.5);
    color: #000000;
}

.toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.toast.warning .toast-icon {
    background: rgba(0, 0, 0, 0.2);
}

.toast-icon svg {
    width: 16px;
    height: 16px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.toast-message {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.toast-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: var(--dark-text-secondary);
}

.no-results-message svg {
    color: var(--dark-border);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-message p {
    font-size: 16px;
    margin: 0;
    opacity: 0.7;
}

/* ===================================
   404 Error Page Styles
   =================================== */

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

.error-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.error-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
    animation: float 3s ease-in-out infinite;
}

.error-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--primary-cyan);
    filter: drop-shadow(0 0 30px var(--cyan-glow));
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-cyan), var(--cyan-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.5rem;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--cyan-glow);
}

.error-message {
    font-size: 1.125rem;
    color: var(--dark-text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.error-btn {
    padding: 0.875rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.error-btn-primary {
    background: linear-gradient(135deg, var(--primary-cyan), var(--cyan-hover));
    color: var(--dark-bg);
    box-shadow: 0 4px 20px var(--cyan-glow);
}

.error-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 217, 192, 0.5);
}

.error-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
}

.error-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.error-quick-links {
    padding: 2rem;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.error-quick-links-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.error-quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.error-quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    color: var(--dark-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.error-quick-link:hover {
    background: rgba(0, 217, 192, 0.05);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    transform: translateY(-2px);
}

.error-quick-link svg {
    width: 24px;
    height: 24px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .error-code {
        font-size: 5rem;
    }

    .error-title {
        font-size: 1.5rem;
    }

    .error-message {
        font-size: 1rem;
    }

    .error-icon {
        width: 120px;
        height: 120px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-btn {
        width: 100%;
        justify-content: center;
    }

    .error-quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .error-code {
        font-size: 4rem;
    }

    .error-quick-links {
        padding: 1.5rem;
    }

    .error-quick-link {
        padding: 1rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* ===================================
   WebApp Loading Page Styles
   =================================== */

.webapp-loading-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

.webapp-loading-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

.webapp-loading-logo img {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px var(--cyan-glow));
}

.webapp-loading-spinner {
    width: 160px;
    height: 160px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid transparent;
    border-top-color: var(--primary-cyan);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.webapp-loading-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-cyan), var(--cyan-hover));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.webapp-loading-message {
    font-size: 1rem;
    color: var(--dark-text-secondary);
    margin-bottom: 2rem;
}

.webapp-loading-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.webapp-loading-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-cyan);
    border-radius: 50%;
    animation: dotPulse 1.4s ease-in-out infinite;
    box-shadow: 0 0 10px var(--cyan-glow);
}

.webapp-loading-dot:nth-child(2) { 
    animation-delay: 0.2s; 
}

.webapp-loading-dot:nth-child(3) { 
    animation-delay: 0.4s; 
}

@keyframes dotPulse {
    0%, 100% { 
        transform: scale(0.8); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.2); 
        opacity: 1; 
    }
}

.webapp-error-message {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    max-width: 400px;
}

.webapp-error-message.show {
    display: block;
}

.webapp-error-title {
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.webapp-error-text {
    color: var(--dark-text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.webapp-error-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-cyan);
    color: var(--dark-bg);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.webapp-error-btn:hover {
    background: var(--cyan-hover);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .webapp-loading-logo {
        width: 100px;
        height: 100px;
    }

    .webapp-loading-spinner {
        width: 130px;
        height: 130px;
    }

    .webapp-loading-title {
        font-size: 1.5rem;
    }

    .webapp-loading-message {
        font-size: 0.875rem;
    }
}

/* Maintenance Page Styles - Modern Design */
.maintenance-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.maintenance-wrapper {
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.maintenance-container {
    background: rgba(21, 21, 24, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 152, 0, 0.1);
    border-radius: 32px;
    padding: 3rem;
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(255, 152, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: cardEntry 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardEntry {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.95);
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1);
    }
}

/* Status Card */
.maintenance-status-card {
    text-align: center;
    margin-bottom: 2.5rem;
}

.status-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.status-icon {
    position: relative;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    border: 2px solid rgba(255, 152, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    animation: iconFloat 3s ease-in-out infinite;
}

.status-icon svg {
    width: 56px;
    height: 56px;
    color: #ff9800;
    filter: drop-shadow(0 4px 12px rgba(255, 152, 0, 0.3));
}

.status-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 152, 0, 0.4);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.status-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 152, 0, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-description {
    font-size: 1rem;
    color: var(--dark-text-secondary);
    line-height: 1.6;
}

/* Info Grid */
.maintenance-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: rgba(255, 152, 0, 0.05);
    border: 1px solid rgba(255, 152, 0, 0.15);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 152, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.25);
    transform: translateY(-2px);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 152, 0, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: #ff9800;
}

.info-content {
    text-align: center;
}

.info-content h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 1rem;
    font-weight: 600;
    color: #ff9800;
}

/* Action Buttons */
.maintenance-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.maintenance-actions .btn-primary,
.maintenance-actions .btn-secondary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.maintenance-actions .btn-primary::before,
.maintenance-actions .btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.maintenance-actions .btn-primary:hover::before,
.maintenance-actions .btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.maintenance-actions .btn-primary {
    background: linear-gradient(135deg, #ff9800 0%, #ff6f00 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.25);
    border: none;
}

.maintenance-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 152, 0, 0.35);
}

.maintenance-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--dark-text);
    border: 1.5px solid rgba(255, 152, 0, 0.2);
}

.maintenance-actions .btn-secondary:hover {
    background: rgba(255, 152, 0, 0.08);
    border-color: rgba(255, 152, 0, 0.4);
    transform: translateY(-3px);
}

.maintenance-actions .btn-primary svg,
.maintenance-actions .btn-secondary svg {
    position: relative;
    z-index: 1;
}

/* Footer */
.maintenance-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 152, 0, 0.1);
}

.maintenance-footer p {
    font-size: 0.875rem;
    color: var(--dark-text-secondary);
    line-height: 1.6;
}

/* Gradient Orbs */
.maintenance-page .gradient-orb.orb-1 {
    background: radial-gradient(circle, rgba(255, 152, 0, 0.5) 0%, transparent 70%);
}

.maintenance-page .gradient-orb.orb-2 {
    background: radial-gradient(circle, rgba(255, 152, 0, 0.4) 0%, transparent 70%);
}

.maintenance-page .gradient-orb.orb-3 {
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .maintenance-info-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .info-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.875rem 1rem;
    }

    .info-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .info-content {
        text-align: left;
        flex: 1;
    }

    .info-content h3 {
        font-size: 0.6875rem;
        margin-bottom: 0.125rem;
    }

    .info-content p {
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .maintenance-container {
        padding: 2rem 1.25rem;
        border-radius: 24px;
    }

    .maintenance-status-card {
        margin-bottom: 2rem;
    }

    .status-icon-wrapper {
        width: 90px;
        height: 90px;
        margin-bottom: 1.25rem;
    }

    .status-icon {
        width: 90px;
        height: 90px;
    }

    .status-icon svg {
        width: 44px;
        height: 44px;
    }

    .status-pulse {
        width: 90px;
        height: 90px;
    }

    .status-title {
        font-size: 1.625rem;
        margin-bottom: 0.5rem;
    }

    .status-description {
        font-size: 0.875rem;
    }

    .maintenance-info-grid {
        margin-bottom: 1.5rem;
    }

    .info-card {
        padding: 0.75rem 0.875rem;
    }

    .info-icon {
        width: 36px;
        height: 36px;
    }

    .info-icon svg {
        width: 18px;
        height: 18px;
    }

    .maintenance-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .maintenance-actions .btn-primary,
    .maintenance-actions .btn-secondary {
        padding: 1rem 1.25rem;
        font-size: 0.9375rem;
    }

    .maintenance-actions .btn-primary svg,
    .maintenance-actions .btn-secondary svg {
        width: 18px;
        height: 18px;
    }

    .maintenance-footer {
        padding-top: 1.25rem;
    }

    .maintenance-footer p {
        font-size: 0.8125rem;
    }
}

@media (max-width: 400px) {
    .maintenance-container {
        padding: 1.5rem 1rem;
    }

    .maintenance-page {
        padding: 1rem;
    }

    .status-icon-wrapper {
        width: 80px;
        height: 80px;
        margin-bottom: 1rem;
    }

    .status-icon {
        width: 80px;
        height: 80px;
    }

    .status-icon svg {
        width: 38px;
        height: 38px;
    }

    .status-pulse {
        width: 80px;
        height: 80px;
    }

    .status-title {
        font-size: 1.5rem;
    }

    .status-description {
        font-size: 0.8125rem;
    }

    .info-card {
        padding: 0.625rem 0.75rem;
    }

    .info-icon {
        width: 32px;
        height: 32px;
    }

    .info-icon svg {
        width: 16px;
        height: 16px;
    }

    .maintenance-actions .btn-primary,
    .maintenance-actions .btn-secondary {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
}

/* Login Page Styles */
body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-x: hidden;
    position: relative;
}

.login-wrapper {
    width: 100%;
    max-width: 520px;
    position: relative;
    z-index: 1;
}

.login-container {
    background: rgba(21, 21, 24, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--dark-border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 217, 192, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: cardEntry 0.6s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 6px 20px rgba(0, 217, 192, 0.5));
}

.login-title {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan-light), var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.login-subtitle {
    font-size: 0.875rem;
    color: #A0A0B0;
}

.login-info {
    background: rgba(0, 217, 192, 0.06);
    border: 1px solid rgba(0, 217, 192, 0.2);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.login-info-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.login-info-text {
    flex: 1;
}

.login-info-text h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--cyan-light);
    margin-bottom: 0.25rem;
}

.login-info-text p {
    font-size: 0.8125rem;
    color: #A0A0B0;
    line-height: 1.5;
}

.login-page .maintenance-banner {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.login-page .maintenance-banner svg {
    width: 20px;
    height: 20px;
    color: #ef4444;
    flex-shrink: 0;
    margin-top: 2px;
}

.login-page .maintenance-banner strong {
    display: block;
    color: #fca5a5;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.login-page .maintenance-banner p {
    font-size: 0.8125rem;
    color: #A0A0B0;
    line-height: 1.5;
}

.login-form {
    margin-bottom: 1.5rem;
}

.turnstile-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.telegram-login {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--dark-border);
}

.login-divider span {
    font-size: 0.75rem;
    color: #5a5a70;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.login-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.login-actions .btn-primary,
.login-actions .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.login-actions .btn-primary {
    background: var(--primary-cyan);
    color: #0A0A0F;
    border: none;
}

.login-actions .btn-primary:hover {
    background: var(--cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.3);
}

.login-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
}

.login-actions .btn-secondary:hover {
    border-color: var(--primary-cyan);
    color: var(--cyan-light);
    background: rgba(0, 217, 192, 0.05);
    transform: translateY(-2px);
}

.login-actions svg {
    width: 16px;
    height: 16px;
}

.login-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-border);
}

.login-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: rgba(0, 217, 192, 0.06);
    border: 1px solid rgba(0, 217, 192, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--dark-text-secondary);
    transition: all 0.2s ease;
}

.feature-badge:hover {
    border-color: var(--primary-cyan);
    color: var(--cyan-light);
}

.feature-badge svg {
    width: 12px;
    height: 12px;
    color: var(--primary-cyan);
}

.login-copyright {
    font-size: 0.75rem;
    color: #5a5a70;
}

.login-page .gradient-orb.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 217, 192, 0.4) 0%, transparent 50%);
    top: -10%;
    left: -10%;
}

.login-page .gradient-orb.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 192, 0.3) 0%, transparent 50%);
    bottom: -10%;
    right: -10%;
    animation-delay: 7s;
}

.login-page .gradient-orb.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(31, 255, 214, 0.2) 0%, transparent 50%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

/* Gateway Offline Page */
.gateway-offline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.gateway-offline-card {
    background: rgba(21, 21, 24, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.gateway-offline-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    color: #ef4444;
}

.gateway-offline-icon svg {
    width: 40px;
    height: 40px;
}

.gateway-offline-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.gateway-offline-message {
    font-size: 1rem;
    color: var(--dark-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.gateway-offline-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.gateway-offline-actions .btn-primary,
.gateway-offline-actions .btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.gateway-offline-actions .btn-primary {
    background: var(--primary-cyan);
    color: #0A0A0F;
    border: none;
}

.gateway-offline-actions .btn-primary:hover {
    background: var(--cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.3);
}

.gateway-offline-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
}

.gateway-offline-actions .btn-secondary:hover {
    border-color: var(--primary-cyan);
    color: var(--cyan-light);
    background: rgba(0, 217, 192, 0.05);
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .gateway-offline-container {
        padding: 1rem;
    }

    .gateway-offline-card {
        padding: 2rem 1.5rem;
    }

    .gateway-offline-title {
        font-size: 1.5rem;
    }

    .gateway-offline-actions {
        flex-direction: column;
        width: 100%;
    }

    .gateway-offline-actions .btn-primary,
    .gateway-offline-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* Join Required Page */
.join-required-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.join-required-card {
    background: rgba(21, 21, 24, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.join-required-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 192, 0.1);
    border: 2px solid rgba(0, 217, 192, 0.3);
    border-radius: 50%;
    color: var(--primary-cyan);
}

.join-required-icon svg {
    width: 40px;
    height: 40px;
}

.join-required-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.join-required-message {
    font-size: 1rem;
    color: var(--dark-text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.join-required-list {
    margin-bottom: 2rem;
}

.join-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    text-align: left;
    transition: all 0.3s ease;
}

.join-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(0, 217, 192, 0.3);
}

.join-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 217, 192, 0.1);
    border-radius: 10px;
    color: var(--primary-cyan);
    flex-shrink: 0;
}

.join-item-content {
    flex: 1;
}

.join-item-content h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.join-item-content p {
    font-size: 0.8125rem;
    color: var(--dark-text-secondary);
    margin: 0;
}

.join-item-status {
    flex-shrink: 0;
}

.status-badge {
    border-radius: 10px;
}

.status-badge.pending {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.status-badge.joined {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.join-item.joined {
    opacity: 0.7;
}

.join-item.joined .join-item-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.join-required-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.join-required-actions .btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--primary-cyan);
    color: #0A0A0F;
    border: none;
    transition: all 0.3s ease;
}

.join-required-actions .btn-primary:hover {
    background: var(--cyan-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 217, 192, 0.3);
}

.join-required-actions .btn-primary.disabled {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.join-required-actions .btn-primary.disabled:hover {
    transform: none;
    box-shadow: none;
}

.verify-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.verify-btn:hover:not(:disabled) {
    border-color: var(--primary-cyan);
    color: var(--cyan-light);
    background: rgba(0, 217, 192, 0.05);
    transform: translateY(-2px);
}

.verify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.verify-message {
    margin-top: 1rem;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    display: none;
}

.verify-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.verify-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

@media (max-width: 640px) {
    .join-required-container {
        padding: 1rem;
    }

    .join-required-card {
        padding: 2rem 1.5rem;
    }

    .join-required-title {
        font-size: 1.5rem;
    }

    .join-item {
        flex-direction: column;
        text-align: center;
    }

    .join-item-content {
        text-align: center;
    }

    .join-required-actions {
        flex-direction: column;
        width: 100%;
    }

    .join-required-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Login Page Responsive */
@media (max-width: 640px) {
    .login-container {
        padding: 2rem 1.5rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .login-actions {
        grid-template-columns: 1fr;
    }

    .login-features {
        flex-wrap: wrap;
    }
}

@media (max-width: 400px) {
    body.login-page {
        padding: 0.5rem;
    }

    .login-container {
        padding: 1.5rem 1rem;
    }

    .login-logo {
        width: 64px;
        height: 64px;
    }

    .login-logo img {
        width: 64px;
        height: 64px;
    }
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-top: 1px solid var(--dark-border);
    margin-top: 20px;
}

.pagination-info {
    color: var(--dark-text-secondary);
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--dark-border);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 16px;
    height: 16px;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    color: var(--dark-text);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.pagination-page:hover:not(.active) {
    background: var(--dark-border);
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.pagination-page.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: var(--dark-bg);
    cursor: default;
}

.pagination-ellipsis {
    color: var(--dark-text-secondary);
    padding: 0 4px;
}

@media (max-width: 768px) {
    .pagination-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .pagination-info {
        order: 2;
    }
    
    .pagination-controls {
        order: 1;
        width: 100%;
        justify-content: center;
    }
    
    .pagination-pages {
        flex-wrap: wrap;
        justify-content: center;
    }
}
