:root {
    --font-title: 'Lexend', sans-serif;
    --font-body: 'Source Code Pro', monospace;
    --font-mono: 'Source Code Pro', monospace;
    --bg-color: #000000;
    --card-bg: #040404;
    --hover-bg: #111111;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #E8E9F3;
    --text-secondary: #9BA1B7;
    --text-muted: #6B7280;
    --accent-color: #1A1A1A;
    --accent-dark: #0F0F0F;
    --success-color: #00c853;
    --success-color-light: rgba(0, 200, 83, 0.1);
    --warning-color: #F59E0B;
    --error-color: #ff1744;
    --error-color-light: rgba(255, 23, 68, 0.1);
    --navbar-width: 220px;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.6);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 8px 12px rgba(0, 0, 0, 0.8);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.9);
    --accent-color-light: rgba(var(--accent-color-rgb), 0.1);
    --input-bg: var(--card-bg);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body.dashboard {
    display: flex;
}

.cursor-glow {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, rgba(255, 0, 0, 0) 70%);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    display: none;
    transform: translate(-50%, -50%);
}

/* Remove blur circles */
.blur-circle {
    display: none;
}

.blur-circle-1,
.blur-circle-2,
.blur-circle-3 {
    display: none;
}

nav {
    position: fixed;
    top: 0;
    left: var(--navbar-width);
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.nav-left {
    display: flex;
    align-items: center;
}

.page-title {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.notification-btn:hover {
    color: var(--text-primary);
}

.notification-btn .material-icons {
    font-size: 1.5rem;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--accent-color);
    color: var(--text-primary);
    font-size: 0.75rem;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border-radius: 9px;
    box-shadow: var(--shadow-xs);
}

.user-profile-container {
    position: relative;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-profile:hover {
    background: var(--hover-bg);
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.user-name {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    width: 220px;
    padding: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--hover-bg);
}

.dropdown-item span {
    font-size: 0.9rem;
}

.dropdown-item .material-icons {
    font-size: 1.25rem;
    opacity: 0.9;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.dropdown-item.danger {
    color: #ff3333;
}

.dropdown-item.danger:hover {
    background: rgba(255, 51, 51, 0.1);
}

.dropdown-item.danger .material-icons {
    color: #ff3333;
}

main {
    padding: 7rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.version-badge .description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.hero-bg {
    display: none;
}

.title-container {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}

.title-container h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    font-family: var(--font-title);
}

.accent {
    color: #ff0000;
}

.description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.stats-section {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 4rem 0;
    padding: 3rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.stat-container {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

.download-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    width: 100%;
}

.container-card {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.card-product {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.inner-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.container-icon {
    position: relative;
    width: 60px;
    height: 60px;
}

.title-product {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: var(--font-title);
    margin-bottom: 0.5rem;
}

.description-product {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    font-family: var(--font-body);
}

.red-card {
    border-color: rgba(255, 255, 255, 0.06);
}

.light-red-card {
    border-color: rgba(255, 255, 255, 0.04);
}

.red-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.light-red-card:hover {
    border-color: rgba(255, 255, 255, 0.06);
}

.card-product:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.icon-card {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.card-product:hover .icon-card {
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.icon-card .material-icons {
    font-size: 3rem;
    color: white;
}

.content-card {
    text-align: center;
    width: 100%;
}

.features-table {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.features-table:hover {
    box-shadow: var(--shadow-xl);
}

.features-table table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-primary);
}

.features-table th {
    text-align: left;
    padding: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.features-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.features-table tr:hover {
    background: var(--hover-bg);
}

footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 0;
    margin-bottom: 4rem;
    position: relative;
    overflow: visible;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 200px;
    position: absolute;
    left: 0;
}

.footer-logo {
    height: auto;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
}

.footer-sections {
    display: flex;
    gap: 6rem;
    margin-left: auto;
    width: 100%;
    justify-content: flex-end;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    font-family: var(--font-title);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
    font-weight: 400;
    font-family: var(--font-body);
}

.footer-link:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media screen and (max-width: 1200px) {
    .footer-sections {
        padding-left: 220px;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 1024px) {
    .footer-content {
        flex-direction: column;
        gap: 3rem;
        position: static;
    }
    .footer-brand {
        position: static;
        margin-bottom: 2rem;
    }
    .footer-sections {
        flex-wrap: wrap;
        gap: 3rem;
        margin-left: 0;
        padding-left: 0;
        justify-content: flex-start;
    }
    .footer-section {
        min-width: 150px;
    }
}

@media screen and (max-width: 768px) {
    .title-container h1 {
        font-size: 3rem;
    }
    .description {
        font-size: 1rem;
    }
    .stats-section {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-sections {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

.glow-icon {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.glow-red {
    background: rgba(255, 255, 255, 0.03);
}

.glow-light-red {
    background: rgba(255, 255, 255, 0.02);
}

.card-product:hover .glow-icon {
    opacity: 0.8;
    filter: blur(20px);
}

/* Sidebar Styles */
.sidebar {
    width: var(--navbar-width);
    height: 100vh;
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background: var(--card-bg);
    z-index: 2;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 0.75rem;
}

.nav-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sidebar-link span:not(.material-icons) {
    font-size: 0.9rem;
}

.sidebar-link .material-icons {
    font-size: 1.25rem;
    min-width: 24px;
    text-align: center;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-weight: 600;
}

.sidebar-link.logout {
    margin-top: auto;
    color: var(--text-secondary);
}

.sidebar-link.logout:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Main Content Styles */
.dashboard-main {
    margin-left: var(--navbar-width);
    min-height: 100vh;
    width: calc(100% - var(--navbar-width));
    padding: 0;
    max-width: none;
}

/* Top Bar Styles */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Balance Widget Styles */
.balance-widget {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
}

.balance-container {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

.balance-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}

.balance-value {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.balance-value.error {
    color: #ff3333;
}

.balance-pending {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.1rem;
}

.balance-value.updating {
    animation: balanceUpdate 0.5s ease;
}

@keyframes balanceUpdate {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Refresh button styles */
.refresh-balance {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    margin-left: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-balance:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

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

.refresh-balance.rotating {
    animation: rotate 0.5s linear;
}


.search-bar {
    display: none;
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
}

.notification-btn:hover {
    color: var(--text-primary);
}

.notification-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: var(--text-primary);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xs);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
}

.user-profile:hover {
    box-shadow: var(--shadow-md);
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info h3 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.8rem;
    color: var(--success-color);
}

.stat-change.negative {
    color: var(--accent-color);
}

/* Charts Section */
.charts-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-period {
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.5rem;
    border-radius: 0.25rem;
}

/* Activity Section */
.activity-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.view-all-btn {
    background: var(--hover-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
}

.view-all-btn:hover {
    color: var(--text-primary);
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-xs);
}

.activity-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-details {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.activity-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.activity-time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

@media screen and (max-width: 1024px) {
    .charts-section {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    body.dashboard {
        flex-direction: column;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

    .dashboard-main {
        margin-left: 0;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.menu-toggle {
    display: none;
}

.menu-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-btn:hover {
    color: var(--text-primary);
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

    .dashboard-main {
        margin-left: 0;
        width: 100%;
    }

    .top-bar {
        padding: 0.75rem;
    }

    .search-bar {
        display: none;
    }

    .user-name {
        display: none;
    }
}

/* Left Navbar Styles */
.left-navbar {
    width: var(--navbar-width);
    height: 100vh;
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    position: fixed;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 0.75rem;
    z-index: 1000;
}

.nav-top, .nav-bottom {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.nav-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    margin-bottom: 1.5rem;
}

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

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: all 0.2s ease;
    margin: 2px 0;
}

.nav-link .material-icons {
    font-size: 20px;
    min-width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link .nav-text {
    font-family: var(--font-body);
    white-space: nowrap;
    font-weight: 500;
}

.nav-link:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link.active .material-icons {
    color: var(--text-primary);
}

.nav-link.logout {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.nav-link.logout:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Dashboard Content */
.dashboard-content {
    padding: 0 2rem 2rem;
}

/* Page Layouts */
.dashboard-page {
    padding: 2rem;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Analytics Page */
.analytics-page {
    padding: 2rem;
}

.analytics-header {
    margin-bottom: 2rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.analytics-grid .chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.analytics-grid .chart-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--text-muted);
}

.analytics-grid canvas {
    width: 100% !important;
    height: 300px !important;
    margin-top: 1rem;
}

@media screen and (max-width: 1024px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

/* Settings Page */
.settings-page {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.settings-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.settings-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    width: 100%;
}

.form-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-input {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    padding: 0.75rem;
    color: var(--text-primary);
    font-family: var(--font-body);
}

.form-input:focus {
    outline: none;
    border-color: var(--text-secondary);
}

/* Profile Page */
.profile-page {
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: var(--font-title);
}

.profile-bio {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.profile-stats {
    display: flex;
    gap: 2rem;
}

.profile-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.profile-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
}

.profile-activity {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Media Queries */
@media screen and (max-width: 1024px) {
    .dashboard-grid,
    .analytics-grid,
    .profile-content {
        grid-template-columns: 1fr;
    }

    .analytics-chart-section {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    nav {
        left: 0;
        padding: 0.75rem 1rem;
    }

    .page-title {
        font-size: 1.25rem;
    }

    .user-name {
        display: none;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .profile-stats {
        justify-content: center;
    }
}

/* License Keys Page Styles */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge.active {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
}

.badge.available {
    background: rgba(0, 191, 255, 0.1);
    color: #00bfff;
}

.badge.expired {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    margin: 0 2px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: var(--accent-color);
    color: var(--text-primary);
}

.action-btn .material-icons {
    font-size: 1.2rem;
}

code {
    font-family: var(--font-mono);
    background: var(--accent-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Customer Page Styles */
.customer-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.customer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.customer-info span {
    font-weight: 500;
}

/* Earnings Page Styles */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.period-select {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.period-select:hover {
    border-color: var(--text-muted);
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.table-header h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.badge.pending {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
} 

/* Settings Page Styles */
.settings-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.settings-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.settings-nav-btn:hover {
    background: var(--accent-color);
    color: var(--text-primary);
}

.settings-nav-btn.active {
    background: var(--accent-color);
    color: var(--text-primary);
}

.settings-sections {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 2rem;
}

.settings-section {
    display: none;
}

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

.profile-settings {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.avatar-upload {
    text-align: center;
}

.large-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--text-muted);
}

.form-divider {
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
}

.secondary-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.secondary-btn:hover {
    background: var(--accent-dark);
    border-color: var(--text-muted);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-switch label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--accent-color);
    transition: .4s;
    border-radius: 34px;
}

.toggle-switch label:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: var(--text-primary);
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + label {
    background-color: #00ff00;
}

.toggle-switch input:checked + label:before {
    transform: translateX(26px);
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-container:hover .checkmark {
    border-color: var(--text-secondary);
    background: var(--hover-bg);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 4px;
    height: 9px;
    border: solid var(--text-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
    animation: checkmark 0.2s ease-in-out;
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

/* Update other checkbox styles to use the same design */
.checkbox-label {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 18px;
    width: 18px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-label:hover:before {
    border-color: var(--text-secondary);
    background: var(--hover-bg);
}

.checkbox-label input:checked ~ :before {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 50%;
    margin-top: -7px;
    width: 4px;
    height: 9px;
    border: solid var(--text-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: all 0.2s ease;
}

.checkbox-label input:checked ~ :after {
    display: block;
    animation: checkmark 0.2s ease-in-out;
}

.notification-group {
    margin-bottom: 2rem;
}

.notification-group h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.payment-card .material-icons {
    font-size: 2rem;
    color: var(--text-muted);
}

.card-info {
    flex: 1;
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.api-key {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.key-actions {
    display: flex;
    gap: 0.5rem;
}

.webhook-settings {
    margin-top: 2rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media screen and (max-width: 768px) {
    .settings-nav {
        flex-wrap: wrap;
    }

    .profile-settings {
        grid-template-columns: 1fr;
    }

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

    .api-key {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Support Page Styles */
.support-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.support-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s ease;
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-muted);
}

.support-card .material-icons {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.support-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.support-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.faq-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem 0;
}

.faq-question h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-question .material-icons {
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-item.active .material-icons {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 1rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.contact-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.file-upload {
    position: relative;
    display: inline-block;
}

.file-upload input[type="file"] {
    position: absolute;
    left: -9999px;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-upload-label:hover {
    background: var(--accent-dark);
    border-color: var(--text-muted);
}

@media screen and (max-width: 1024px) {
    .support-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .support-actions {
        grid-template-columns: 1fr;
    }
}

.profile-menu {
    position: relative;
    display: inline-block;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 25px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    width: 200px;
}

.profile-button > * {
    flex-shrink: 0;
}

.profile-name {
    margin: 0 auto;
}

.profile-button .material-icons {
    color: white;
}

.profile-button:hover {
    background: var(--hover-bg);
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.profile-name {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.profile-dropdown.active {
    display: block;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.menu-item:hover {
    background: var(--hover-bg);
}

.menu-item .material-icons {
    font-size: 20px;
    opacity: 0.9;
}

.menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}

.menu-danger {
    color: #ff3333;
}

.menu-danger:hover {
    background: rgba(255, 51, 51, 0.1);
}

.menu-danger .material-icons {
    color: #ff3333;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 580px;
    position: relative;
    z-index: 1;
}

.application-box {
    max-width: 740px;
}

.auth-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
}

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo {
    height: 48px;
    margin-bottom: 32px;
}

.auth-header h1 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(45deg, #ff3333, #ff6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 16px;
    opacity: 0.9;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-section h2 {
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h2::before {
    content: "";
    display: block;
    width: 4px;
    height: 24px;
    background: var(--primary-color);
    border-radius: 2px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    width: 100%;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
}

.form-group label .material-icons {
    font-size: 20px;
    opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.password-input {
    position: relative;
    width: 100%;
}

.password-input input {
    padding-right: 48px;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.toggle-password:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -8px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 28px;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.2s;
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 4px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.auth-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-button:hover {
    background: var(--hover-bg);
}

.auth-button .material-icons {
    font-size: 20px;
    color: var(--primary-color);
}

.auth-footer {
    margin-top: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-footer p {
    color: var(--text-secondary);
    font-size: 15px;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.auth-footer a:hover {
    color: #ff6666;
}

.back-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-secondary) !important;
    font-size: 14px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.2s;
}

.back-home:hover {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none !important;
}

@media (max-width: 480px) {
    .auth-box {
        padding: 24px;
    }

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

.forgot-link {
    color: var(--primary-color);
    font-size: 15px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.forgot-link:hover {
    color: #ff6666;
}

.checkbox-container a {
    color: var(--success-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    margin-left: 4px;
    position: relative;
    display: inline-block;
}

.checkbox-container a:hover {
    color: var(--text-primary);
}

.checkbox-container a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -1px;
    left: 0;
    background-color: var(--success-color);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.checkbox-container a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: var(--card-bg);
    border: 1px solid var(--accent-color);
    border-width: 0.5px;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font-body);
    width: 100%;
    cursor: pointer;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236B7280' 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 1rem center;
    background-size: 1em;
}

select:hover {
    border-color: var(--text-muted);
    background-color: var(--hover-bg);
}

select:focus {
    outline: none;
    border-color: var(--text-muted);
    box-shadow: none;
}

select option {
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 0.75rem;
}

select option:hover, select option:focus, select option:active, select option:checked {
    background: var(--hover-bg);
}

/* For Firefox */
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(--text-primary);
}

/* For IE/Edge */
select::-ms-expand {
    display: none;
}

/* Sessions Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.25rem;
    color: var(--text-primary);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s ease;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-lg);
}

.sessions-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.session-item {
    background: var(--accent-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    transition: all 0.2s ease;
}

.session-item:hover {
    background: var(--hover-bg);
}

.session-item.current {
    border-color: var(--accent-color);
    background: var(--accent-color);
}

.session-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.device-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.device-info .material-icons {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.device-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.device-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.session-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.last-activity {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.current-badge {
    font-size: 0.8rem;
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.terminate-session {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    transition: color 0.2s ease;
}

.terminate-session:hover {
    color: var(--text-primary);
}

.terminate-session .material-icons {
    font-size: 1rem;
}

.sessions-actions {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.terminate-all-sessions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff3333;
}

.terminate-all-sessions:hover {
    background: rgba(255, 51, 51, 0.1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 1100;
    animation: notificationSlideIn 0.3s ease-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid #ff3333;
}

.notification .material-icons {
    font-size: 1.25rem;
}

.notification.success .material-icons {
    color: var(--success-color);
}

.notification.error .material-icons {
    color: #ff3333;
}

.notification-message {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.notification.fade-out {
    animation: notificationSlideOut 0.3s ease-out forwards;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes notificationSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Button Styles */
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.view-all-btn,
.secondary-btn,
.auth-button,
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Modal Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-size: 1rem;
}

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

.primary-btn:hover {
    opacity: 0.9;
}

/* Form Styles */
input[type="number"] {
    font-size: 1rem;
    font-family: inherit;
}

input[type="number"]:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* Message Styles */
.success-message, .error-message {
    font-weight: 500;
}

/* Remove number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

.total-cost {
    color: #00ff00;
    font-weight: 500;
}

.balance-widget .primary-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    height: 36px;
    min-width: 80px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.payment-method-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.payment-method-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.payment-method-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.payment-method-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.payment-method-header .material-icons {
    font-size: 2rem;
    color: var(--accent-color);
}

.payment-method-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.topup-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Amount Selection Styles */
.amount-selection {
    margin-bottom: 3rem;
}

.amount-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.amount-option {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.amount-option:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.amount-option.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.amount-option .amount {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.amount-option.active .amount {
    color: #fff;
}

.amount-option .popular,
.amount-option .bonus,
.amount-option .description {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.amount-option.active .popular,
.amount-option.active .bonus,
.amount-option.active .description {
    color: rgba(255, 255, 255, 0.8);
}

.amount-option .popular {
    color: var(--accent-color);
    font-weight: 500;
}

.amount-option.active .popular {
    color: #fff;
}

.custom-amount {
    margin-top: 1.5rem;
}

.custom-amount-input {
    width: 100%;
    max-width: 300px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    background: var(--card-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.custom-amount-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(var(--accent-color-rgb), 0.1);
}

/* Payment Methods Styles */
.payment-section {
    margin-top: 3rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.payment-method-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-method-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.payment-method-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-method-header img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.payment-method-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.payment-details {
    flex: 1;
}

.payment-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.payment-details .fee {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.payment-method-card .btn {
    width: 100%;
    margin-top: auto;
}

.discord-topup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.discord-info {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    width: 100%;
    max-width: 600px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.discord-icon {
    font-size: 64px !important;
    color: #ff0000;
    margin-bottom: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.discord-info h2 {
    color: var(--text-primary);
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-family: var(--font-title);
}

.discord-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

.feature {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.feature:hover {
    background: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.feature .material-icons {
    color: #ff0000;
    font-size: 22px;
}

.feature span:not(.material-icons) {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.discord-button {
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 1rem;
    box-shadow: var(--shadow-sm);
}

.discord-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(110%);
}

.discord-button .material-icons {
    font-size: 20px;
}

@media (max-width: 640px) {
    .discord-info {
        padding: 2rem;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .discord-info h2 {
        font-size: 24px;
    }

    .discord-button {
        width: 100%;
        justify-content: center;
    }
}

.activity-item.loading {
    opacity: 0.7;
}

.activity-item.loading .activity-icon {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

#loginActivityList {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#loginActivityList .activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--card-bg);
    transition: all 0.2s ease;
}

#loginActivityList .activity-item:hover {
    background: var(--card-hover-bg);
}

#loginActivityList .activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 128, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

#loginActivityList .activity-icon .material-icons {
    color: #0080ff;
    font-size: 20px;
}

#loginActivityList .activity-details {
    flex: 1;
}

#loginActivityList .activity-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

#loginActivityList .device {
    font-weight: 500;
    color: var(--text-primary);
}

#loginActivityList .time {
    color: var(--text-muted);
    font-size: 0.875rem;
}

#loginActivityList .activity-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

#loginActivityList .ip::before {
    content: "IP: ";
    color: var(--text-muted);
}

#loginActivityList .location::before {
    content: "Location: ";
    color: var(--text-muted);
}

#loginActivityList .status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

#loginActivityList .status-badge.current {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
}

#loginActivityList .status-badge.previous {
    background: rgba(128, 128, 128, 0.1);
    color: var(--text-muted);
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.5rem;
    background: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.retry-btn:hover {
    opacity: 0.9;
}

.retry-btn .material-icons {
    font-size: 1rem;
}