﻿body {
    background-color: #121212 !important;
    color: white !important;
}

:root {
    --mud-palette-drawer-background: #1a1a1a;
    --mud-palette-surface: #1a1a1a;
    --mud-palette-overlay-dark: rgba(0, 0, 0, .5);
    --mud-selected: #1a1a1a;
    --mud-palette-drawer-text: #ffffff;
    --mud-palette-text-primary: #ffffff;
    --mud-palette-action-default-hover: #202020;
    --mud-palette-drawer-icon: #cccccc;
    --mud-zindex-appbar: 1100;
    --mud-zindex-drawer: 1200;
    --mud-zindex-dialog: 1300;
    --mud-zindex-popover: 1400;
    --mud-zindex-snackbar: 1500;
    --mud-zindex-tooltip: 1600;
}

.login-layout {
    font-family: Montserrat !important;
    text-align: center !important;
}

.mud-container h2 {
    font-family: Montserrat !important;
    margin-bottom: 5px
}

.stats-container1 {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-card1 {
    background: linear-gradient(135deg, #1a1a1a 0%, #202020 100%);
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    min-width: 280px;
    color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

    .stat-card1::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: rgba(255,255,255,0.1);
        transform: rotate(45deg);
    }

    .stat-card1.profit-card {
        background: linear-gradient(135deg, #1a1a1a 0%, #202020 100%);
    }

.stat-title1 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.stat-value1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
}

.stat-subtitle1 {
    font-size: 12px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .stats-container1 {
        flex-direction: column;
    }

    .stat-card1 {
        min-width: 100%;
    }
}

.mud-container h5 {
    font-family: Montserrat !important;
    font-size: 0.8rem;
    opacity: .7;
    margin-bottom: 20px;
    font-weight: 400;
}

.reflective-invoice {
    background-color: #1a1a1a !important;
    color: white !important;
    border-color: #202020 !important;
}

.grid-item {
    background-color: #1a1a1a !important;
    color: white !important;
}

.mud-snackbar-location-top-center {
    position: fixed !important;
    top: 0px !important;
    left: 15px !important;
    transform: translateX(0%) !important
}

.mud-snackbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    animation: snackbar-progress 5s linear forwards;
    opacity: 0.7;
}

.users-modern-page {
    padding: 24px;
    background: #121212;
    min-height: 100vh;
}

.page-header {
    margin-bottom: 32px;
}

.page-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.users-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.search-field {
    min-width: 300px;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}

.user-card {
    background: #1e1e1e;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

    .user-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        border-color: #303030;
    }

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, #303030 0%, #202020 100%);
    border-bottom: 1px solid #333;
}

.user-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    font-weight: bold;
}

.user-main-info {
    flex: 1;
}

.user-login {
    color: #ffffff;
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.user-type {
    color: #90caf9;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(144, 202, 249, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.card-content {
    padding: 24px;
}

.user-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #333;
}

    .user-detail:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }

.detail-label {
    color: #a0aec0;
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-success {
    background: rgba(72, 187, 120, 0.2);
    color: #48bb78;
    border: 1px solid #48bb78;
}

.status-error {
    background: rgba(245, 101, 101, 0.2);
    color: #f56565;
    border: 1px solid #f56565;
}

.status-warning {
    background: rgba(237, 137, 54, 0.2);
    color: #ed8936;
    border: 1px solid #ed8936;
}

.copy-button {
    min-width: 24px;
    width: 24px;
    height: 24px;
}

.card-actions {
    padding: 16px 24px;
    border-top: 1px solid #333;
    background: linear-gradient(135deg, #303030 0%, #202020 100%);
}

.no-users-text {
    text-align: center;
    color: #a0aec0;
    grid-column: 1 / -1;
    padding: 60px 20px;
}

.mud-card-content .card-header {
    background: none;
}

@media (max-width: 768px) {
    .users-modern-page {
        padding: 16px;
    }

    .users-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .search-field {
        min-width: auto;
    }

    .users-grid {
        grid-template-columns: 1fr;
    }

    .card-header {
        padding: 20px;
    }

    .user-avatar {
        width: 50px;
        height: 50px;
    }
}

.finance-stats-modern {
    background: #1e1e1e;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 24px;
    margin-bottom: 24px;
    height: fit-content;
    border: 1px solid #333;
    zoom: 90%
}

.withdraw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalOverlayFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation-fill-mode: forwards;
}

.withdraw-modal-container {
    background: #1a1a1a;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #2a2a2a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 8px 32px rgba(0, 212, 170, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s both;
    transform: translateY(20px);
    opacity: 0;
}

.withdraw-modal-header {
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
    padding: 28px 32px;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.withdraw-icon {
    width: 36px;
    height: 36px;
    fill: #00d4aa;
    filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.3));
    animation: iconPulse 2s ease-in-out infinite;
}

.withdraw-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    flex-grow: 1;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.close-btn {
    background: rgba(42, 42, 42, 0.8);
    border: 1px solid #333;
    color: #888;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 300;
    line-height: 1;
}

    .close-btn:hover {
        background: #2a2a2a;
        color: #fff;
        border-color: #444;
        transform: rotate(90deg);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    }

.withdraw-modal-content {
    padding: 32px;
}

.withdraw-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #2a2a2a;
    animation: sectionFadeIn 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

    .withdraw-section:nth-child(1) {
        animation-delay: 0.2s;
    }

    .withdraw-section:nth-child(2) {
        animation-delay: 0.3s;
    }

    .withdraw-section:nth-child(3) {
        animation-delay: 0.4s;
    }

    .withdraw-section:nth-child(4) {
        animation-delay: 0.5s;
    }

    .withdraw-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .withdraw-section.summary {
        background: linear-gradient(135deg, rgba(42, 42, 42, 0.5) 0%, rgba(26, 26, 26, 0.3) 100%);
        border-radius: 16px;
        padding: 24px;
        border: 1px solid rgba(0, 212, 170, 0.1);
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    }

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #666 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.label-icon {
    font-size: 18px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.balance-selector {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.balance-option {
    background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
    border: 2px solid #333;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

    .balance-option::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.1), transparent);
        transition: left 0.6s ease;
    }

    .balance-option:hover::before {
        left: 100%;
    }

    .balance-option:hover {
        transform: translateY(-2px);
        border-color: #00d4aa;
        box-shadow: 0 8px 24px rgba(0, 212, 170, 0.15);
    }

    .balance-option.selected {
        border-color: #00d4aa;
        background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(42, 42, 42, 0.8) 100%);
        box-shadow: 0 8px 32px rgba(0, 212, 170, 0.2);
    }

.balance-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 12px;
    border: 1px solid #333;
    flex-shrink: 0;
}

.balance-option.selected .balance-icon {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #000;
    border-color: #00d4aa;
    animation: iconBounce 0.5s ease;
}

.balance-info {
    flex-grow: 1;
}

.balance-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.balance-amount {
    color: #00d4aa;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.checkmark {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 14px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.balance-option.selected .checkmark {
    opacity: 1;
    transform: scale(1);
    animation: checkmarkPop 0.3s ease;
}

.amount-input-container {
    position: relative;
    margin-bottom: 20px;
}

.amount-input {
    width: 100%;
    padding: 22px 80px 22px 24px;
    background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
    border: 2px solid #333;
    border-radius: 16px;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: monospace;
    letter-spacing: -1px;
}

    .amount-input:focus {
        outline: none;
        border-color: #00d4aa;
        box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1), inset 0 2px 8px rgba(0, 0, 0, 0.3);
        transform: translateY(-1px);
    }

    .amount-input::placeholder {
        color: #555;
    }

.currency-label {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: #00d4aa;
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.amount-slider {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(90deg, #00d4aa, #00b894);
    border-radius: 4px;
    outline: none;
    margin: 24px 0;
    cursor: pointer;
}

    .amount-slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, #fff 0%, #00d4aa 100%);
        border-radius: 50%;
        border: 2px solid #1a1a1a;
        box-shadow: 0 4px 12px rgba(0, 212, 170, 0.5);
        cursor: pointer;
        transition: all 0.2s ease;
    }

        .amount-slider::-webkit-slider-thumb:hover {
            transform: scale(1.2);
            box-shadow: 0 6px 20px rgba(0, 212, 170, 0.7);
        }

    .amount-slider::-moz-range-thumb {
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, #fff 0%, #00d4aa 100%);
        border-radius: 50%;
        border: 2px solid #1a1a1a;
        box-shadow: 0 4px 12px rgba(0, 212, 170, 0.5);
        cursor: pointer;
    }

.amount-hint {
    color: #888;
    font-size: 14px;
    text-align: center;
    padding: 8px;
    background: rgba(42, 42, 42, 0.5);
    border-radius: 8px;
    border: 1px solid #333;
}

.method-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.method-option {
    flex: 1;
    min-width: 120px;
    background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
    border: 2px solid #333;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .method-option:hover {
        transform: translateY(-2px);
        border-color: #00d4aa;
        box-shadow: 0 8px 24px rgba(0, 212, 170, 0.1);
    }

    .method-option.selected {
        border-color: #00d4aa;
        background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(42, 42, 42, 0.8) 100%);
        box-shadow: 0 8px 32px rgba(0, 212, 170, 0.2);
    }

.method-icon {
    font-size: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 50%;
    border: 2px solid #333;
}

.method-option.selected .method-icon {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    border-color: #00d4aa;
    animation: iconSpin 0.6s ease;
}

.method-name {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.wallet-input-container {
    margin-top: 20px;
}

    .wallet-input-container label {
        display: block;
        color: #888;
        font-size: 13px;
        margin-bottom: 8px;
        font-weight: 600;
    }

.wallet-input {
    width: 100%;
    padding: 18px 20px;
    background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
    border: 2px solid #333;
    border-radius: 16px;
    color: #fff;
    font-size: 16px;
    font-family: monospace;
    transition: all 0.3s ease;
}

    .wallet-input:focus {
        outline: none;
        border-color: #00d4aa;
        box-shadow: 0 0 0 3px rgba(0, 212, 170, 0.1);
        transform: translateY(-1px);
    }

    .wallet-input::placeholder {
        color: #555;
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: rowSlideIn 0.4s ease-out forwards;
    opacity: 0;
    transform: translateX(-10px);
}

    .summary-row:nth-child(1) {
        animation-delay: 0.1s;
    }

    .summary-row:nth-child(2) {
        animation-delay: 0.2s;
    }

    .summary-row:nth-child(3) {
        animation-delay: 0.3s;
    }

    .summary-row:last-child {
        border-bottom: none;
    }

    .summary-row span:first-child {
        color: #aaa;
        font-size: 15px;
    }

.summary-value {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.summary-row.total .summary-value {
    color: #00d4aa;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.success-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(0, 184, 148, 0.05) 100%);
    border: 1px solid rgba(0, 212, 170, 0.2);
    border-radius: 12px;
    color: #00d4aa;
    font-size: 15px;
    font-weight: 600;
    animation: successPulse 2s ease-in-out infinite;
}

    .success-check span {
        width: 24px;
        height: 24px;
        background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        font-weight: bold;
        font-size: 14px;
        animation: checkmarkSpin 1s ease;
    }

.withdraw-modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.action-btn {
    flex: 1;
    padding: 20px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .action-btn.secondary {
        background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
        color: #aaa;
        border: 2px solid #333;
    }

        .action-btn.secondary:hover {
            background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
            color: #fff;
            border-color: #444;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        }

    .action-btn.primary {
        background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
        color: #000;
        border: 2px solid transparent;
        font-weight: 700;
        position: relative;
        overflow: hidden;
    }

        .action-btn.primary::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .action-btn.primary:hover::before {
            left: 100%;
        }

        .action-btn.primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 32px rgba(0, 212, 170, 0.4), 0 4px 16px rgba(0, 212, 170, 0.3);
        }

        .action-btn.primary:active {
            transform: translateY(0);
        }

@keyframes modalOverlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rowSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.3));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 12px rgba(0, 212, 170, 0.5));
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes iconSpin {
    from {
        transform: rotate(0deg) scale(0.5);
        opacity: 0;
    }

    to {
        transform: rotate(360deg) scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }

    70% {
        transform: scale(1.2) rotate(10deg);
    }

    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

@keyframes checkmarkSpin {
    from {
        transform: rotate(-180deg) scale(0);
    }

    to {
        transform: rotate(0) scale(1);
    }
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.1);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 212, 170, 0);
    }
}

.withdraw-modal-container::-webkit-scrollbar {
    display: none;
}

.deposit-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalOverlayFadeIn 0.3s ease;
}

.deposit-modal-container {
    background: #1a1a1a;
    border-radius: 24px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid #2a2a2a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 8px 32px rgba(0, 212, 170, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.deposit-modal-header {
    background: linear-gradient(135deg, #222222 0%, #1a1a1a 100%);
    padding: 28px 32px;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.deposit-icon {
    width: 36px;
    height: 36px;
    fill: #00d4aa;
    filter: drop-shadow(0 0 8px rgba(0, 212, 170, 0.3));
    animation: iconPulse 2s ease-in-out infinite;
}

.deposit-modal-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
    flex-grow: 1;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.deposit-modal-content {
    padding: 32px;
}

.deposit-modal-content .qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 0;
    margin-bottom: 32px;
    position: relative;
}

.qr-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 26, 0.9);
    border-radius: 16px;
    animation: fadeIn 0.3s ease;
}

.qr-loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(0, 212, 170, 0.1);
    border-top: 3px solid #00d4aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.qr-code-container {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    border: 2px solid #333;
    box-shadow: 0 20px 40px rgba(0, 212, 170, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.qr-image-animated {
    width: 240px;
    height: 240px;
    border-radius: 12px;
    animation: qrAppear 0.6s ease-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes qrAppear {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

.qr-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle at center, rgba(0, 212, 170, 0.2) 0%, transparent 70%);
    border-radius: 30px;
    z-index: -1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.qr-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 480px;
}

.info-item {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.7) 0%, rgba(26, 26, 26, 0.5) 100%);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-label {
    display: block;
    color: #888;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

.address-container {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #333;
}

.wallet-address {
    flex-grow: 1;
    color: #00d4aa;
    font-size: 15px;
    font-family: monospace;
    letter-spacing: 0.5px;
    word-break: break-all;
    padding: 8px;
    background: rgba(0, 212, 170, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 170, 0.1);
}

.copy-btn {
    background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .copy-btn:hover {
        background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
        color: #00d4aa;
        border-color: #00d4aa;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 212, 170, 0.2);
    }

    .copy-btn.copied {
        background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
        color: #000;
        border-color: #00d4aa;
    }

.amount-display {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.amount-usdt {
    color: #00d4aa;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.amount-rub {
    color: #888;
    font-size: 16px;
    font-weight: 500;
}

.timer-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.timer {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    font-family: monospace;
    letter-spacing: 1px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-progress {
    flex-grow: 1;
    height: 8px;
    background: linear-gradient(90deg, #00d4aa 0%, #00b894 100%);
    border-radius: 4px;
    animation: timerShrink 60s linear forwards;
}

@keyframes timerShrink {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.warnings-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(26, 26, 26, 0.3) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 107, 0.1);
}

.warning-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
}

.warning-icon {
    color: #ff6b6b;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.amount-input-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.deposit-amount-input-container {
    position: relative;
}

.deposit-amount-input {
    width: 100%;
    padding: 24px 80px 24px 24px;
    background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
    border: 2px solid #333;
    border-radius: 20px;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: monospace;
    letter-spacing: -1px;
    text-align: center;
}

    .deposit-amount-input:focus {
        outline: none;
        border-color: #00d4aa;
        box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.15), inset 0 2px 8px rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
    }

.quick-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.quick-amount-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #2a2a2a 0%, #222 100%);
    border: 2px solid #333;
    border-radius: 12px;
    color: #aaa;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 80px;
    max-width: 120px;
}

    .quick-amount-btn:hover {
        border-color: #555;
        color: #fff;
        transform: translateY(-1px);
    }

    .quick-amount-btn.selected {
        background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
        border-color: #00d4aa;
        color: #000;
        font-weight: 700;
        box-shadow: 0 8px 24px rgba(0, 212, 170, 0.3);
    }

.course-info {
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.5) 0%, rgba(26, 26, 26, 0.3) 100%);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(0, 212, 170, 0.1);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.course-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .course-row:last-child {
        border-bottom: none;
    }

    .course-row span:first-child {
        color: #aaa;
        font-size: 15px;
    }

.course-value {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

    .course-value.highlighted {
        color: #00d4aa;
        font-size: 20px;
        font-weight: 700;
    }

.course-row.total .course-value {
    color: #00d4aa;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 170, 0.3);
}

.deposit-modal-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    margin-left: 24px;
    margin-right: 24px;
    padding-top: 24px;
    border-top: 1px solid #2a2a2a;
}

.btn-icon {
    margin-right: 8px;
}

.deposit-modal-container::-webkit-scrollbar {
    display: none;
}

@media (max-width: 768px) {
    .deposit-modal-container {
        width: 95%;
        margin: 20px;
        max-height: 85vh;
    }

    .deposit-modal-header {
        padding: 20px;
    }

        .deposit-modal-header h2 {
            font-size: 22px;
        }

    .deposit-modal-content {
        padding: 20px;
    }

    .qr-image-animated {
        width: 200px;
        height: 200px;
    }

    .deposit-amount-input {
        font-size: 28px;
        padding: 20px 70px 20px 20px;
    }

    .amount-usdt {
        font-size: 24px;
    }

    .timer {
        font-size: 16px;
        padding: 10px 16px;
    }
}

@keyframes checkmarkAppear {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    70% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 212, 170, 0.95);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: successPopup 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

    .success-animation svg {
        width: 60px;
        height: 60px;
        fill: #000;
        animation: checkmarkAppear 0.5s ease-out 0.2s both;
    }

@keyframes successPopup {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .withdraw-modal-container {
        width: 95%;
        margin: 20px;
        max-height: 85vh;
    }

    .withdraw-modal-header {
        padding: 20px;
    }

        .withdraw-modal-header h2 {
            font-size: 22px;
        }

    .withdraw-modal-content {
        padding: 20px;
    }

    .balance-option {
        padding: 16px;
    }

    .amount-input {
        font-size: 28px;
        padding: 20px 70px 20px 20px;
    }

    .action-btn {
        padding: 18px;
        font-size: 14px;
    }
}

.withdraw-section.loading {
    position: relative;
    overflow: hidden;
}

    .withdraw-section.loading::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 212, 170, 0.05), transparent);
        animation: shimmer 1.5s infinite;
    }

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

.loader {
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    perspective: 800px;
}

.inner {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

    .inner.one {
        left: 0%;
        top: 0%;
        animation: rotate-one 1s linear infinite;
        border-bottom: 3px solid #00f8f1;
    }

    .inner.two {
        right: 0%;
        top: 0%;
        animation: rotate-two 1s linear infinite;
        border-right: 3px solid #00f8f1;
    }

    .inner.three {
        right: 0%;
        bottom: 0%;
        animation: rotate-three 1s linear infinite;
        border-top: 3px solid #00f8f1;
    }

@keyframes rotate-one {
    0% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
    }
}

@keyframes rotate-two {
    0% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
    }
}

@keyframes rotate-three {
    0% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
    }

    100% {
        transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

.fade-in1 {
    transition: all .1s;
}

.fade-out {
    animation: fadeOut 0.8s ease-in-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.layout-transition {
    transition: all 0.8s ease-in-out;
}

.loader-hidden {
    opacity: 0;
    pointer-events: none;
}

.content-visible {
    opacity: 1;
}

.finance-header {
    margin-bottom: 32px;
    border-bottom: 1px solid #333;
    padding-bottom: 16px;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-icon {
    color: #90caf9;
}

.header-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    zoom: 95%;
}

.main-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.metric-card {
    background: linear-gradient(135deg, #232420 0%, #202020 100%);
    border-radius: 12px;
    padding: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #303030;
}

    .metric-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
        border-color: #90caf9;
    }

    .metric-card.main-metric {
        background: linear-gradient(135deg, #232420 0%, #202020 100%);
        border-color: #303030;
    }

.metric-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.metric-icon {
    opacity: 0.9;
    color: white;
}

.metric-title {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
    color: #cbd5e0;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
}

.metric-prefix {
    font-size: 1rem;
    margin-left: 4px;
    opacity: 0.8;
    color: #a0aec0;
}

.secondary-metrics-section {
    margin-top: 24px;
}

.section-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #2d3748;
}

.secondary-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.compact-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #90caf9;
    transition: all 0.2s ease;
    border: 1px solid #4a5568;
    background: linear-gradient(135deg, #232420 0%, #202020 100%);
    border-color: #303030;
}

    .compact-metric:hover {
        transform: translateX(4px);
    }

.compact-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.compact-icon {
    color: #90caf9;
    font-size: 1rem;
}

.compact-title {
    font-size: 0.85rem;
    color: #cbd5e0;
    font-weight: 500;
}

.compact-value {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.compact-prefix {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-left: 2px;
}

.metric-positive {
    border-left-color: #48bb78 !important;
}

.metric-negative {
    border-left-color: #f56565 !important;
}

.metric-warning {
    border-left-color: #ed8936 !important;
}

.metric-neutral {
    border-left-color: #90caf9 !important;
}

@media (max-width: 768px) {
    .finance-stats-modern {
        padding: 16px;
        margin: 16px;
    }

    .main-metrics-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .secondary-metrics-grid {
        grid-template-columns: 1fr;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .compact-metric {
        padding: 10px 12px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.metric-card {
    animation: fadeInUp 0.5s ease-out;
}

.compact-metric {
    animation: fadeInUp 0.3s ease-out;
}

.metric-card.revenue {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border-color: #10b981;
}

.metric-card.profit {
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    border-color: #6366f1;
}

.metric-card.loss {
    background: linear-gradient(135deg, #7c2d12 0%, #9a3412 100%);
    border-color: #ea580c;
}

.metric-card.conversion {
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
    border-color: #8b5cf6;
}

.mud-alert-filled-success::before {
    background: var(--mud-palette-success) !important;
}

.mud-alert-filled-error::before {
    background: var(--mud-palette-error) !important;
}

.mud-alert-filled-warning::before {
    background: var(--mud-palette-warning) !important;
}

.mud-alert-filled-info::before {
    background: var(--mud-palette-info) !important;
}

@keyframes snackbar-progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

.settings-grid .settings-card .card-header {
    justify-content: normal !important
}

.mud-snackbar {
    position: relative;
    overflow: hidden;
    border-radius: 10px !important;
    min-height: 48px;

    animation
}

    .mud-snackbar > * {
        position: relative;
        z-index: 1;
    }

    .grid-item {
        height: fit-content
    }

.grid-item .reflective {
    background-color: #1a1a1a !important;
    color: white !important;
    border-color: #202020 !important;
}

[class*="line"] label:last-of-type,
[class*="info"] label:last-of-type {
    color: #fff !important;
}

.grid-item .reflective .settings .settings-item {
    background-color: #202020 !important
}

.mud-paper .reflective .settings .settings-item {
    background-color: #2a2a2a !important;
    border-color: #2a2a2a !important
}

.mud-paper .reflective {
    background-color: #202020 !important;
    border-color: #2a2a2a !important
}

.grid-item .reflective .list {
    background-color: #202020 !important
}

.reflective .action button {
    background-color: #202020 !important
}

.user-item {
    background-color: #1a1a1a !important;
    border-radius: 10vh !important;
}

.user-action .mud-button-filled {
    background-color: #202020 !important;
}

.login .login-action button {
    background-color: #202020 !important
}

label {
    color: white !important;
}

.mud-tab.mud-tab-active {
    background: #1e1e1e !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    color: white;
}

.mud-input-control-input-container .mud-input.mud-input-outlined .mud-input-outlined-border {
    border-radius: 10vh !important
}

.header {
    transition: all .2s;
}

body .mud-tabs-panels .tab-data {
    opacity: 0;
    animation: simpleFadeIn1 0.8s ease-out 0.3s forwards;
}

@keyframes simpleFadeIn1 {
    to {
        opacity: 1;
    }
}

.login fieldset {
    border-radius: 10vh !important
}

.mud-icon-button {
    padding: 5px;
    margin-right: -5px
}

.mud-input-outlined-border {
    border-color: #202020 !important;
    border-radius: 10vh !important;
}

text {
    color: white !important;
}

.rz-dropdown {
    background-color: #1a1a1a !important;
    border-color: #202020 !important;
}

.rz-dropdown-panel {
    background-color: #1a1a1a !important;
}

.rz-dropdown-item {
    transition: background-color .22s !important;
}

.rz-dropdown-item:hover {
    background-color: #202020 !important;
    color: white !important;
}

.mud-drawer-header img {
    position: relative;
    left: 50%;
    transform: translate(-50%,0%);
    width: 10rem !important;
    height: 10rem !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
}

.mud-drawer-header .brand-logo,
.brand-logo {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 750;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
    user-select: none;
}

.mud-drawer-header .brand-logo {
    display: block;
    text-align: center;
    width: 100%;
    font-size: 1.55rem;
    padding: 18px 8px 8px;
}

.brand-logo.logoLogin {
    width: auto;
    font-size: 42px;
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #00d4aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .brand-logo.logoLogin {
        font-size: 32px;
    }
}

.mud-main-content {
    font-family: Montserrat;
    z-index: 10;
}

.nav-container {
    text-align: center;
}

.user-wallet-action .mud-button-filled {
    background-color: #202020 !important;
}

.wallet-list .user-wallet {
    background-color: #1a1a1a !important;
    color: #fff !important;
    border-color: #202020 !important
}

.log-item {
    background-color: #202020 !important;
    color: #fff !important;
}

.mud-drawer-open-mini-md-left {
    z-index: 99999;
}

.mud-layout .mud-drawer {
    background-color: #121212 !important;
    font-family: Montserrat !important;
    color: white !important;
    position: fixed !important;
    z-index: 1300 !important;
    border-right: 1px solid #202020 !important;
}

.toggle-filters-btn {
    margin-bottom: 15px
}

.mud-nav-link.active {
    border-radius: 10vh !important;
    background: none !important;
    color: white;
}

.mud-nav-link:hover {
    border-radius: 10vh !important;
    background: none !important;
    color: white;
}

.mud-nav-link {
    border-radius: 10vh;
    transition: background-color .22s !important;
}

.mud-overlay {
    background-color: rgba(0,0,0,.5) !important;
}

.simple-stats {
    background: #1e1e1e !important;
    position: relative;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    padding: 24px !important;
    padding-top: 16.5px !important;
    padding-left: 16.5px !important;
    padding-bottom: 16.5px !important;
    padding-right: 70px !important;
    border: 1px solid #303030;
    color: white !important;

    display: block;
    max-width: 370px !important;
}

.imgLab {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.simple-stats label {
    opacity: .7;
    font-size: 14px !important;
    display: block;
}

.simple-stats .data {
    opacity: 1;
    font-size: 20px !important;
    display: block;
    margin-top: 5px;
}

    .main-content {
        transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

.blur-background {
    filter: blur(10px) brightness(0.7);
    pointer-events: none;
    user-select: none;
}

.telegram-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    padding: 40px;
    justify-content: center;
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

    .telegram-modal-container.show {
        opacity: 1;
        visibility: visible;
    }

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    border-radius: 15px;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

    .modal-overlay.show {
        opacity: 1;
    }

.telegram-modal {
    position: relative;
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalGlow {
    0% {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 30px rgba(0, 168, 255, 0.1);
    }

    100% {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 50px rgba(0, 168, 255, 0.2);
    }
}

.telegram-modal.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.header-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.modal-title {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    background: linear-gradient(90deg, #fff 0%, #00a8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: #aaa;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.modal-body {
    color: #ddd;
}

.loading-section {
    text-align: center;
    padding: 40px 0;
}

.loading-spinner {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.spinner {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 6px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #00a8ff;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: #aaa;
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.telegram-features {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

    .telegram-features h3 {
        color: #fff;
        font-size: 18px;
        margin: 0 0 15px 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .telegram-features ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .telegram-features li {
        color: #bbb;
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
        font-size: 15px;
        line-height: 1.4;
    }

        .telegram-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #00a8ff;
            font-weight: bold;
        }

.code-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-label {
    color: #aaa;
    font-size: 16px;
    margin: 0 0 15px 0;
}

.code-container {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .code-container:hover {
        border-color: #00a8ff;
        box-shadow: 0 0 20px rgba(0, 168, 255, 0.2);
    }

.link-code {
    flex: 1;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Monaco', 'Consolas', monospace;
    background: linear-gradient(90deg, #fff 0%, #00a8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.copy-btn {
    background: none;
    border: none;
    color: #00a8ff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .copy-btn:hover {
        background: rgba(0, 168, 255, 0.1);
        transform: scale(1.1);
    }

    .copy-btn:active {
        transform: scale(0.95);
    }

.instructions {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.action-buttons {
    display: flex;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #0066cc 0%, #00a8ff 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.2);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(0, 168, 255, 0.3);
    }

    .btn-primary:active {
        transform: translateY(0);
    }

@media (max-width: 768px) {
    .telegram-modal {
        padding: 30px 20px;
        width: 95%;
        margin: 10px;
    }

    .modal-title {
        font-size: 24px;
    }

    .link-code {
        font-size: 18px;
    }
}

.telegram-modal::-webkit-scrollbar {
    width: 8px;
}

.telegram-modal::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.telegram-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00a8ff 0%, #0066cc 100%);
    border-radius: 4px;
}

    .telegram-modal::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #00c6ff 0%, #0088ff 100%);
    }

.tab-fin-stats-list .indicator {
    border: none !important;
    background: #1a1a1aa1 !important;
    border-radius: 1vh;
}

.mud-button {
    font-family: Montserrat !important;
    border-radius: 5vh !important;
}

.profile {
    background-color: #1a1a1a !important;
    color: white !important;
    border-color: #00f8f1 !important;
    border-radius: 10vh !important;
}

.mud-button-filled {
    background: #1e1e1e !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    color: white !important;
    font-family: Montserrat;
}

.indicator-collection.gray {
    background-color: rgb(26,26,26) !important;
    color: white !important;
}

.mud-tabs-tabbar-inner {
    border: none !important
}

.mud-tabs-tabbar {
    background-color: rgba(22,22,22,0) !important;
}

.mud-tab {
    border-radius: 12px !important;
}

.mud-tab:hover {
    background: #1e1e1e !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

.mud-tooltip-root {
    border-radius: 3vh !important;
    margin-right: 2vh !important;
}

.mud-picker {
    border: none !important;
}

.mud-nav-item {
    background-color: rgb(22,22,22) !important;
    border-radius: 10vh !important;
    margin-bottom: .5vh !important;
}

.context {
    width: 100%;
    position: absolute;
    top: 50vh;
}

    .context h1 {
        text-align: center;
        color: #fff;
        font-size: 50px;
    }

.area {
    background-color: #2d3436;
    background-image: linear-gradient(315deg, #2d3436 0%, #000000 74%);
    width: 100%;
    height: 100vh;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-with-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.mud-input-control > .mud-input-control-input-container > .mud-input-label-outlined.mud-input-label-inputcontrol {
    font-size: 14px
}

.logo-text {
    font-size: 2rem;
    font-weight: 500;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.logo-footer {
    top: 1vh;
    position: relative
}

body .login-layout .login {
    margin-top: 0;
    text-align: center;
}

body .login-layout {
    position: absolute;
    left: 50%;
    top: 50%;
    opacity: 0;
    animation: simpleFadeIn 0.8s ease-out 0.3s forwards;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #1a1a1a;
    padding-top: 1rem !important;
    border-radius: 2vh;
    border: 2px solid #202020;
    transform: translate(-50%,-50%) scale(0)
}

@keyframes simpleFadeIn {
    to {
        opacity: 1;
        transform: translate(-50%,-50%) scale(1)
    }
}

.mud-input-control-helper-container {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mud-input-error .mud-input-control-helper-container {
    max-height: 60px;
}

.mud-input-helper-text {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mud-input-error .mud-input-helper-text {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: errorReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes errorReveal {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    50% {
        opacity: 0.8;
        transform: translateY(0) scale(1.02);
    }

    70% {
        transform: translateX(3px);
    }

    85% {
        transform: translateX(-1px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes labelShake {
    0%, 100% {
        transform: translateX(0);
    }

    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px);
    }

    20%, 40%, 60%, 80% {
        transform: translateX(2px);
    }
}

.mud-input-error .mud-input-helper-text {
    position: relative;
    padding-left: 24px;
    color: #f44336;
    font-weight: 500;
    font-size: 14px;
}

    .mud-input-error .mud-input-helper-text::before {
        content: '⚠';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 16px;
        animation: iconPulse 1s ease-in-out infinite;
    }

@keyframes iconPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.login-inputs {
    transition: all 0.3s ease;
}

.mud-input-control {
    margin-bottom: 8px;
}

.mud-input-error .mud-input-control {
    margin-bottom: 24px;
}

.mud-input-error ~ .login-action button {
    animation: buttonShake 0.5s ease;
}

@keyframes buttonShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

.mud-button {
    transition: .33s opacity;
}

    .mud-button:hover {
        opacity: .7
    }

    .circles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .circles li {
        position: absolute;
        display: block;
        list-style: none;
        width: 20px;
        height: 20px;
        background: rgba(255, 255, 255, 0.2);
        animation: animate 25s linear infinite;
        bottom: -150px;
    }

        .circles li:nth-child(1) {
            left: 25%;
            width: 80px;
            height: 80px;
            animation-delay: 0s;
        }

        .circles li:nth-child(2) {
            left: 10%;
            width: 20px;
            height: 20px;
            animation-delay: 2s;
            animation-duration: 12s;
        }

        .circles li:nth-child(3) {
            left: 70%;
            width: 20px;
            height: 20px;
            animation-delay: 4s;
        }

        .circles li:nth-child(4) {
            left: 40%;
            width: 60px;
            height: 60px;
            animation-delay: 0s;
            animation-duration: 18s;
        }

        .circles li:nth-child(5) {
            left: 65%;
            width: 20px;
            height: 20px;
            animation-delay: 0s;
        }

        .circles li:nth-child(6) {
            left: 75%;
            width: 110px;
            height: 110px;
            animation-delay: 3s;
        }

        .circles li:nth-child(7) {
            left: 35%;
            width: 150px;
            height: 150px;
            animation-delay: 7s;
        }

        .circles li:nth-child(8) {
            left: 50%;
            width: 25px;
            height: 25px;
            animation-delay: 15s;
            animation-duration: 45s;
        }

        .circles li:nth-child(9) {
            left: 20%;
            width: 15px;
            height: 15px;
            animation-delay: 2s;
            animation-duration: 35s;
        }

        .circles li:nth-child(10) {
            left: 85%;
            width: 150px;
            height: 150px;
            animation-delay: 0s;
            animation-duration: 11s;
        }

@keyframes animate {

    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

.settings-container {
    position: relative;
    left: 0;
    max-width: 1200px;
    padding: 24px;
}

.mud-drawer {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

    .mud-drawer::-webkit-scrollbar {
        display: none !important;
    }

.settings-header {
    margin-bottom: 40px;
    text-align: left;
}

    .settings-header h1 {
        font-size: 2.5rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--mud-palette-text-primary);
    }

.subtitle {
    font-size: 1.1rem;
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.settings-card {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--mud-palette-lines-default);
    transition: all 0.3s ease;
    height: fit-content;
}

    .settings-card:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--mud-palette-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
}

    .card-icon svg {
        color: white;
        width: 24px;
        height: 24px;
    }

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: white;
}

.card-description {
    color: var(--mud-palette-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.help-section {
    background: var(--mud-palette-surface);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    border: 1px solid var(--mud-palette-lines-default);
}

    .help-section h2 {
        font-size: 1.5rem;
        font-weight: 600;
        margin-bottom: 12px;
        color: var(--mud-palette-text-primary);
    }

    .help-section p {
        color: var(--mud-palette-text-secondary);
        margin-bottom: 24px;
        line-height: 1.5;
    }

.help-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading {
    font-size: 1.1rem;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 768px) {
    .settings-container {
        padding: 16px;
    }

    .settings-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .settings-card {
        padding: 20px;
    }

    .help-actions {
        flex-direction: column;
        align-items: center;
    }

    .settings-header h1 {
        font-size: 2rem;
    }
}

.api-keys-container {
    position: relative;
    left: 0;
    max-width: 1000px;
    padding: 24px;
}

.api-keys-header {
    margin-bottom: 32px;
}

    .api-keys-header h1 {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--mud-palette-text-primary);
    }

.header-subtitle {
    font-size: 1rem;
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--mud-palette-surface);
    border-radius: 8px;
    padding: 20px;
    border: 1px solid var(--mud-palette-lines-default);
}

.stat-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--mud-palette-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

.security-section {
    background: var(--mud-palette-surface);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--mud-palette-warning);
    margin-bottom: 32px;
}

    .security-section h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 12px;
        color: var(--mud-palette-warning);
    }

.security-tips {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .security-tips li {
        padding: 8px 0;
        color: var(--mud-palette-text-secondary);
        position: relative;
        padding-left: 20px;
    }

        .security-tips li:before {
            content: "•";
            color: var(--mud-palette-warning);
            position: absolute;
            left: 0;
        }

.keys-section {
    background: var(--mud-palette-surface);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--mud-palette-lines-default);
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--mud-palette-text-primary);
}

.key-item {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

    .key-item:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.key-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--mud-palette-text-primary);
}

.key-id {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
    margin-bottom: 16px;
}

.key-row {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.key-label {
    font-weight: 600;
    color: var(--mud-palette-text-primary);
    font-size: 0.875rem;
}

.key-value {
    font-family: 'Courier New', monospace;
    background: var(--mud-palette-background-grey);
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid var(--mud-palette-lines-default);
    font-size: 0.875rem;
}

.key-actions {
    display: flex;
    gap: 8px;
}

.divider {
    height: 1px;
    background: var(--mud-palette-lines-default);
    margin: 24px 0;
}

.actions-section {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading {
    font-size: 1.1rem;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 768px) {
    .api-keys-container {
        padding: 16px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .key-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .key-actions {
        justify-content: flex-start;
    }

    .actions-section {
        flex-direction: column;
    }
}

.security-container {
    position: relative;
    left: 0;
    max-width: 1000px;
    padding: 24px;
}

.security-header {
    margin-bottom: 32px;
}

    .security-header h1 {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--mud-palette-text-primary);
    }

.header-subtitle {
    font-size: 1rem;
    color: var(--mud-palette-text-secondary);
    margin: 0;
}

.security-grid {
    display: grid;
    gap: 24px;
}

.security-section {
    background: var(--mud-palette-surface);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--mud-palette-lines-default);
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--mud-palette-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-description {
    color: var(--mud-palette-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.security-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

.info-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--mud-palette-text-primary);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: var(--mud-palette-success-light);
    color: var(--mud-palette-success-dark);
}

.status-inactive {
    background: var(--mud-palette-grey-light);
    color: var(--mud-palette-grey-dark);
}

.security-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.password-form {
    display: grid;
    gap: 16px;
    max-width: 400px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.warning-section {
    background: var(--mud-palette-warning-light);
    border: 1px solid var(--mud-palette-warning);
    border-radius: 8px;
    padding: 16px;
    margin-top: 16px;
}

.warning-title {
    font-weight: 600;
    color: var(--mud-palette-warning-dark);
    margin-bottom: 8px;
}

.warning-text {
    font-size: 0.875rem;
    color: var(--mud-palette-warning-dark);
    margin: 0;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.loading {
    font-size: 1.1rem;
    color: var(--mud-palette-text-secondary);
}

@media (max-width: 768px) {
    .security-container {
        padding: 16px;
    }

    .security-info {
        grid-template-columns: 1fr;
    }

    .security-actions {
        flex-direction: column;
    }

    .password-form {
        max-width: 100%;
    }
}

.cards-page {
    margin-top: 20px;
}

.cards-header {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
}

.status-select {
    min-width: 200px;
}

.search-field {
    min-width: 250px;
}

.settings-card .card-header {
    background: none;
    padding: 0;
    border: none;
}

.extended-filters {
    margin-bottom: 20px
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.invoice-card {
    border: 1px solid #202020;
    border-radius: 15px;
    position: relative;
    transition: box-shadow 0.3s;
    background-color: #151515
}

    .invoice-card:hover {
        box-shadow: 0 4px 8px rgba(255,255,255,0.1);
    }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.amount-text {
    font-weight: bold;
    color: white;
    font-size: 1.5rem
}

.filters-container {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.filter-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.filter-field {
    flex: 1;
    min-width: 200px;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.invoice-card .mud-card-actions {
    padding: 16px;
    border-top: 1px solid #202020;
    display: flex;
    justify-content: center;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.status-created {
    background-color: #FFBD00;
}

.status-completed {
    background-color: #31D057;
}

.mud-card-content .card-header {
    padding: 0px;
    border: none
}

.mud-dialog .mud-dialog-content {
    max-height: 80vh;
}

-status-dispute {
    background-color: #ff0044;
}

.status-canceled {
    background-color: #f00;
}

.status-payed {
    background-color: #FFBD00;
}

.error-text {
    color: #d32f2f;
    font-weight: bold;
    margin-bottom: 12px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 4px 0;
}

.detail-label {
    font-weight: 500;
    color: #666;
}

.detail-value {
    font-weight: 400;
    color: white;
}

.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.no-data-text {
    text-align: center;
    color: #666;
    grid-column: 1 / -1;
}

.reflective-invoice-modern {
    margin: 8px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

    .reflective-invoice-modern .invoice-card {
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.2s ease;
        border: 1px solid var(--mud-palette-divider);
        background: var(--mud-palette-surface);
        margin-bottom: 8px;
    }

    .reflective-invoice-modern .invoice-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 20px;
        background: var(--mud-palette-surface);
        border-bottom: 1px solid var(--mud-palette-divider);
        gap: 12px;
    }

    .reflective-invoice-modern .invoice-main-info {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .reflective-invoice-modern .invoice-amount {
        font-weight: 700 !important;
        color: var(--mud-palette-text-primary) !important;
        font-size: 1.25rem !important;
        min-width: 100px;
    }

    .reflective-invoice-modern .invoice-meta {
        display: flex;
        gap: 12px;
        align-items: center;
        flex-wrap: wrap;
        flex: 1;
    }

    .reflective-invoice-modern .invoice-id {
        color: var(--mud-palette-text-secondary) !important;
        font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
        font-weight: 500;
        background: var(--mud-palette-background);
        padding: 4px 8px;
        border-radius: 6px;
        border: 1px solid var(--mud-palette-divider);
        font-size: 0.8rem;
    }

    .reflective-invoice-modern .invoice-type,
    .reflective-invoice-modern .invoice-date {
        color: var(--mud-palette-text-secondary) !important;
        font-weight: 500;
        font-size: 0.8rem;
    }

    .reflective-invoice-modern .invoice-actions {
        display: flex;
        gap: 8px;
        align-items: center;
        flex-shrink: 0;
    }

    .reflective-invoice-modern .invoice-timer {
        padding: 12px 20px;
        background: var(--mud-palette-warning);
        border-bottom: 1px solid var(--mud-palette-divider);
    }

    .reflective-invoice-modern .invoice-details {
        padding: 0;
        background: var(--mud-palette-background);

    }

    .reflective-invoice-modern .detail-section {
        padding: 16px 20px;
        border-bottom: 1px solid var(--mud-palette-divider-light);
    }

        .reflective-invoice-modern .detail-section:last-child {
            border-bottom: none;
        }

    .reflective-invoice-modern .section-title {
        font-weight: 600 !important;
        margin-bottom: 12px !important;
        color: var(--mud-palette-text-primary) !important;
        font-size: 0.9rem;
    }

    .reflective-invoice-modern .detail-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        transition: all .2s
    }

    .reflective-invoice-modern .detail-label {
        font-weight: 500 !important;
        color: var(--mud-palette-text-secondary) !important;
        font-size: 0.8rem;
    }

    .reflective-invoice-modern .detail-value {
        color: var(--mud-palette-text-primary) !important;
        font-weight: 500;
        font-size: 0.8rem;
        text-align: right;
    }

    .reflective-invoice-modern .status-success {
        background: var(--mud-palette-success) !important;
        color: white !important;
    }

    .reflective-invoice-modern .status-pending {
        background: var(--mud-palette-warning) !important;
        color: white !important;
    }

    .reflective-invoice-modern .status-canceled {
        background: var(--mud-palette-error) !important;
        color: white !important;
    }

.logoLogin {
    width: auto;
}

@media (max-width: 768px) {
    .reflective-invoice-modern .invoice-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .logoLogin {
        width: auto;
    }

    .reflective-invoice-modern .invoice-main-info {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .reflective-invoice-modern .invoice-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .reflective-invoice-modern .invoice-actions {
        align-self: stretch;
        justify-content: flex-end;
    }
}

.mud-dark-theme .reflective-invoice-modern .invoice-card {
    background: var(--mud-palette-surface);
    border-color: var(--mud-palette-divider);
}

.mud-dark-theme .reflective-invoice-modern .invoice-id {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.reflective-invoice-modern .actions-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--mud-palette-divider-light);
    background: var(--mud-palette-surface);
}

.reflective-invoice-modern .actions-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reflective-invoice-modern .file-preview-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--mud-palette-divider-light);
    background: var(--mud-palette-surface);
}

    .reflective-invoice-modern .file-preview-section:last-child {
        border-bottom: none;
    }

.reflective-invoice-modern .pdf-preview {
    width: 100%;
    height: 300px;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    overflow: hidden;
    background: var(--mud-palette-background);
}

.reflective-invoice-modern .pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    background: white;
}

.reflective-invoice-modern .image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    border: 1px solid var(--mud-palette-divider);
}

.reflective-invoice-modern .detail-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--mud-palette-divider-light);
    background: var(--mud-palette-surface);
}

    .reflective-invoice-modern .detail-section:last-child {
        border-bottom: none;
    }

.reflective-invoice-modern .mud-grid-container {
    padding: 0;
}

.reflective-invoice-modern .mud-grid-spacing-3 {
    margin: 0;
}

.reflective-invoice-modern .actions-fullwidth {
    padding: 16px 20px;
    border-bottom: 1px solid var(--mud-palette-divider-light);
    background: var(--mud-palette-surface);
    grid-column: 1 / -1;
}

.reflective-invoice-modern .actions-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.reflective-invoice-modern .file-preview-fullwidth {
    padding: 16px 20px;
    border-bottom: 1px solid var(--mud-palette-divider-light);
    background: var(--mud-palette-surface);
    grid-column: 1 / -1;
}

.appels-item[b-ftx7cwtugm] {
    background: none !important
}

.reflective-invoice-modern .detail-row[style*="cursor: pointer"]:hover {
    background-color: var(--mud-palette-action-default-hover) !important;
    border-radius: 6px;
    padding: 8px 8px !important;
}

.reflective-invoice-modern .invoice-details {
    padding: 0;
    background: var(--mud-palette-background);
    transform: scaleY(0);
    transform-origin: top;
    height: 0;
    opacity: 0;
    transition: all 0.3s ease-out;
}

    .reflective-invoice-modern .invoice-details.expanded {
        transform: scaleY(1);
        height: auto;
        opacity: 1;
        transition: all 0.4s ease-in;
    }

.reflective-invoice-modern .file-preview-section {
    padding: 16px 20px;
    border-bottom: 1px solid var(--mud-palette-divider-light);
    background: var(--mud-palette-surface);
}

.reflective-invoice-modern .pdf-preview {
    width: 100%;
    height: 400px;
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    overflow: hidden;
}

.reflective-invoice-modern .pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
}

.reflective-invoice-modern .image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    border: 1px solid var(--mud-palette-divider);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #202020;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
        background: #202020;
    }

.modern-drawer {
    background: #1a1a1a !important;
    border-right: 1px solid #333333;
}

.drawer-header-modern {
    padding: 20px 16px;
    border-bottom: 1px solid #333333;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-modern {
    background: linear-gradient(135deg, #bb86fc, #9965f4) !important;
    border: 2px solid #333333;
    font-weight: 600;
}

.user-info-modern {
    flex: 1;
    min-width: 0;
}

.user-name-modern {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role-modern {
    color: #bb86fc;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.drawer-container-modern {
    padding: 16px 0 !important;
}

.usdt-rate-modern {
    background: #202020;
    margin: 0 16px 20px 16px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333333;
    text-align: center;
}

.rate-label-modern {
    color: #cccccc;
    font-size: 0.7rem;
    margin-bottom: 4px;
}

.rate-value-modern {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.7rem;
}

.nav-section-modern {
    margin-bottom: 24px;
}

.section-title-modern {
    color: #888888;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 16px 8px 16px;
}

.nav-link-modern {
    color: #cccccc !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    min-height: 44px !important;
    transition: all 0.2s ease !important;
    position: relative;
}

    .nav-link-modern:hover {
        background: #2d2d2d !important;
        color: #ffffff !important;
        border-radius: 12px !important;
    }

    .nav-link-modern.active {
        background: #333333 !important;
        color: #ffffff !important;
        border-radius: 12px !important;
    }

        .nav-link-modern.active::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 20px;
            background: #00f8f1;
            border-radius: 0 2px 2px 0;
        }

    .nav-link-modern .mud-nav-link-icon {
        margin-right: 8px !important;
        font-size: 1.2rem !important;
    }

    .withdraw-dialog.mud-dialog.mud-dialog-width-sm .mud-dialog-content h4 {
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0 0 8px 0;
        color: white;
    }

    .withdraw-dialog.mud-dialog.mud-dialog-width-sm .mud-dialog-content p {
        font-size: 0.875rem;
        margin: 0 0 16px 0;
        color: white;
        opacity: .7;
        font-weight: 400;
    }

    .withdraw-dialog.mud-dialog.mud-dialog-width-sm .mud-dialog-content hr {
        margin: 16px 0;
        border: none;
        border-top: 1px solid #e2e8f0;
    }

    .withdraw-dialog.mud-dialog.mud-dialog-width-sm .mud-dialog-content h5 {
        font-size: 0.875rem;
        font-weight: 500;
        margin: 16px 0 8px 0;
        opacity: 1;

        color: white;
        text-transform: uppercase;
    }

.withdraw-dialog .compensation-amount {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
}

    .withdraw-dialog .compensation-amount div {
        text-align: center;
    }

    .withdraw-dialog .compensation-amount b {
        font-size: 1rem;
        color: white;
    }

.withdraw-dialog .equivalent-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

    .withdraw-dialog .equivalent-amount label {
        font-size: 0.875rem;
        color: #718096;
        margin: 0;
    }

    .withdraw-dialog .equivalent-amount b {
        font-size: 1rem;
        color: white;
    }

.withdraw-dialog .data-correct {
    text-align: center;
    margin: 16px 0;
    padding: 8px;
    background-color: #f0fff4;
    border-radius: 4px;
}

    .withdraw-dialog .data-correct b {
        color: #38a169;
        font-size: 0.875rem;
    }

.withdraw-dialog .mud-select,
.withdraw-dialog .mud-numeric-field {
    margin: 8px 0 16px 0;
}

.withdraw-dialog .mud-dialog-actions {
    padding: 0;
    gap: 0;
    justify-content: center;
}

    .nav-link-modern:hover .mud-nav-link-icon {
        color: #ffffff !important;
    }

    .nav-link-modern.active .mud-nav-link-icon {
        color: #bb86fc !important;
    }

.mud-drawer-mini .section-title-modern,
.mud-drawer-mini .rate-label-modern {
    display: none;
}

.mud-drawer-mini .usdt-rate-modern {
    padding: 8px;
    text-align: center;
}

.mud-drawer-mini .rate-value-modern {
    font-size: 0.7rem;
}

.statistics-header {
    background: linear-gradient(135deg, var(--mud-palette-primary) 0%, var(--mud-palette-primary-darken) 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.statistics-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 8px;
    line-height: 1.2;
}

.statistics-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    opacity: 0.9;
    font-size: 1rem;
}

.date-range-panel {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.date-icon {
    font-size: 1.2rem;
    margin-right: 12px;
}

.date-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--mud-palette-text-primary);
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    text-transform: none;
}

.stats-tabs {
    margin-top: 8px;
}

    .stats-tabs .mud-tab {
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        text-transform: none;
        font-size: 0.875rem;
        min-height: 48px;
    }

    .stats-tabs .mud-tab-active {
        background: var(--mud-palette-primary);
        color: white !important;
        border-radius: 8px 8px 0 0;
        font-weight: 600;
    }

.tab-content {
    background: var(--mud-palette-surface);
    border-radius: 0 0 8px 8px;
    min-height: 70px;
    padding: 24px;
    border: 1px solid var(--mud-palette-lines-default);
    border-top: none;
}

@media (max-width: 768px) {
    .statistics-header {
        padding: 20px;
        margin-bottom: 20px;
    }

    .statistics-title {
        font-size: 1.5rem;
    }

    .date-range-panel {
        padding: 16px;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
        margin-top: 12px;
    }

    .action-btn {
        width: 100%;
    }

    .tab-content {
        padding: 16px;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .statistics-title {
        font-size: 1.25rem;
    }

    .date-text {
        font-size: 0.9rem;
    }

    .stats-tabs .mud-tab {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

.telegram-card {
    border-left: 4px solid #0088cc;
}

.telegram-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.telegram-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

    .telegram-toggle input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

.telegram-features {
    margin: 12px 0;
    padding-left: 20px;
}

    .telegram-features li {
        margin: 4px 0;
        font-size: 14px;
    }

.telegram-link-code {
    text-align: center;
}

.code-container {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 8px;
    margin: 12px 0;
}

.modal-overlay1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn111 0.3s ease;
}

@keyframes fadeIn111 {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-header-right {
    margin-right: 20px;
}

.notification-modal {
    background: #1a1a1a;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp1111 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp1111 {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #333;
    background: rgba(255, 255, 255, 0.02);
}

    .modal-header h2 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        color: #fff;
        flex: 1;
        text-align: center;
    }

.modal-header-left,
.modal-header-right {
    width: 80px;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .modal-close-btn:hover {
        background: rgba(255, 255, 255, 0.05);
        color: #fff;
    }

.modal-save-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.finance-header .header-content .mud-icon-root {
    margin-bottom: 0;
    animation: none;
}

.payment-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 9999;
    -webkit-font-smoothing: antialiased;
    font-family: 'Montserrat';
}

.payment-loader__qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 8px;
}

.payment-loader__qr-instruction {
    font-size: 14px;
    color: #a0a0a0;
    text-align: center;
    margin: 0;
    line-height: 1.5;
}

.payment-loader__qr-container {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.payment-loader__qr-placeholder {
    color: #666;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.payment-loader__qr-container canvas {
    width: 180px !important;
    height: 180px !important;
    margin: 10px;
}

.payment-loader__qr-alternative {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 12px;
    width: 100%;
}

    .payment-loader__qr-alternative svg {
        width: 16px;
        height: 16px;
        color: #00ff9d;
        flex-shrink: 0;
    }

.payment-loader__qr-link {
    color: #00b3ff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    font-size: inherit;
    padding: 0;
    margin-left: 4px;
}

.payment-loader__qr-container img {
    position: absolute;
    width: 100%
}

.payment-loader__qr-link:hover {
    color: #00ff9d;
    text-decoration: underline;
}

@keyframes qr-appear {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.nav-step label {
    margin-left: 2rem !important;
    font-weight: 400;
}

.payment-loader__qr-generated {
    animation: qr-appear 0.3s ease-out;
}

.payment-loader__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 40px;
    background: rgba(36, 36, 36, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 320px;
    max-width: 420px;
    text-align: center;
    transform: translateY(0);
    animation: card-float 3s ease-in-out infinite;
}

@keyframes card-float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.payment-loader__logo {
    width: 80px;
    height: 80px;
    position: relative;
    margin-bottom: 16px;
}

.payment-loader__logo-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00ff9d 0%, #00b3ff 100%);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(12px);
}

.payment-loader__spinner {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient( rgba(255,255,255,0.1) 0deg, rgba(255,255,255,0.1) 120deg, #00ff9d 120deg, #00ff9d 240deg, rgba(255,255,255,0.1) 240deg, rgba(255,255,255,0.1) 360deg );
    animation: spin 1.5s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-loader__spinner-inner {
    width: 68px;
    height: 68px;
    background: #242424;
    border-radius: 50%;
    position: absolute;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.payment-loader__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.payment-loader__title {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.payment-loader__subtitle {
    font-size: 15px;
    color: #a0a0a0;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.payment-loader__progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.payment-loader__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #00ff9d 0%, #00b3ff 100%);
    border-radius: 2px;
    animation: progress-load 2s ease-in-out infinite;
}

@keyframes progress-load {
    0% {
        width: 0%;
        transform: translateX(-100%);
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
        transform: translateX(100%);
    }
}

.payment-loader__bank-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-loader__bank-icon {
    width: 20px;
    height: 20px;
    color: #00ff9d;
}

.payment-loader__bank-text {
    font-size: 13px;
    color: #b0b0b0;
    font-weight: 500;
}

.payment-loader__dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.payment-loader__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4a4a4a;
    animation: dot-pulse 1.4s ease-in-out infinite;
}

    .payment-loader__dot:nth-child(1) {
        background: #00ff9d;
        animation-delay: 0s;
    }

    .payment-loader__dot:nth-child(2) {
        background: #00b3ff;
        animation-delay: 0.2s;
    }

    .payment-loader__dot:nth-child(3) {
        background: #00ff9d;
        animation-delay: 0.4s;
    }

@keyframes dot-pulse {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(-4px);
        opacity: 0.8;
    }
}

@media (prefers-reduced-motion: reduce) {
    .payment-loader__card,
    .payment-loader__spinner,
    .payment-loader__progress-bar,
    .payment-loader__dot {
        animation: none;
    }
}

@media (max-width: 420px) {
    .payment-loader__card {
        padding: 32px 24px;
        margin: 20px;
        min-width: auto;
        gap: 24px;
    }

    .payment-loader__logo {
        width: 64px;
        height: 64px;
    }

    .payment-loader__spinner {
        width: 64px;
        height: 64px;
    }

    .payment-loader__spinner-inner {
        width: 54px;
        height: 54px;
    }

    .payment-loader__title {
        font-size: 20px;
    }

    .payment-loader__subtitle {
        font-size: 14px;
    }
}

.payment-loader__error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    padding: 16px;
    border-radius: 12px;
    margin-top: 16px;
}

.payment-loader__error-title {
    color: #ff4444;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.payment-loader__error-message {
    color: #ff9999;
    font-size: 14px;
    margin: 0;
    line-height: 1.4;
}

.payment-loader__success {
    color: #00ff9d;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
}

.modal-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-content {
    padding: 0;
    max-height: calc(85vh - 100px);
    overflow-y: auto;
}

.notification-category {
    padding: 20px 24px 12px;
    border-bottom: 1px solid #2a2a2a;
}

    .notification-category h3 {
        margin: 0;
        font-size: 0.95rem;
        font-weight: 600;
        color: #9ca3af;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .notification-category svg {
        opacity: 0.7;
    }

.notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #2a2a2a;
    transition: background 0.2s;
}

    .notification-item:hover {
        background: rgba(255, 255, 255, 0.02);
    }

.notification-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    position: relative;
}

.icon-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    top: 8px;
    right: 8px;
}

.notification-text h4 {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.notification-text p {
    margin: 0;
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.4;
}

.ios-toggle {
    display: inline-block;
    cursor: pointer;
    margin-left: 16px;
}

    .ios-toggle input {
        display: none;
    }

.ios-toggle-track {
    width: 50px;
    height: 28px;
    background: #374151;
    border-radius: 14px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ios-toggle-thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ios-toggle input:checked + .ios-toggle-track {
    border-color: rgba(255, 255, 255, 0.1);
}

    .ios-toggle input:checked + .ios-toggle-track .ios-toggle-thumb {
        transform: translateX(22px);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    }

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 3px;
}

    .modal-content::-webkit-scrollbar-thumb:hover {
        background: #6b7280;
    }

.link-code {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    color: #0088cc;
}

.small {
    font-size: 12px;
    color: #666;
}

.mud-popover {
    transform-origin: top left;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mud-popover-open {
    animation: slideDown 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mud-popover-closing {
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

.mud-overlay {
    animation: faded 1s;
}

@keyframes faded {
    0% {
        opacity: 0;

    }

    100% {
        opacity: 1;
    }
}

.mud-list-item {
    transition: background-color 0.2s ease;
}

    .mud-list-item:hover {
        background-color: rgba(0, 0, 0, 0.04);
    }

.mud-popover {
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.info {
    zoom: 85%
}

.line label:last-of-type[b-cmq8z2z18q] {
    margin-left: 5px
}

.rz-dropdown-panel {
    z-index: 9999999 !important
}

.rz-dropdown-label {
    color: white !important
}

.mud-snackbar {
    position: relative;
    background: #1e1e1e;
    border: 1px solid #333;
}

    .mud-snackbar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: linear-gradient(90deg, transparent 0%, rgba(46, 125, 50, 0.15) 50%, transparent 100%);
        animation: waveFill 5s ease-out forwards;
        z-index: 0;
    }

@keyframes waveFill {
    0% {
        width: 0%;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    100% {
        width: 100%;
        left: 100%;
    }
}

.mud-snackbar > * {
    position: relative;
    z-index: 1;
}

.telegram-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    zoom: 75%;
    user-select: none;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

    .telegram-toggle:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    }

    .telegram-toggle input {
        display: none;
    }

.toggle-track {
    position: relative;
    width: 60px;
    height: 32px;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.telegram-toggle input:checked + .toggle-track {
    background: linear-gradient(135deg, #0088cc 0%, #00a2ff 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 136, 204, 0.3);
}

.toggle-thumb {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.telegram-toggle input:checked + .toggle-track .toggle-thumb {
    left: calc(100% - 28px);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.toggle-thumb::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.3) 100%);
    border-radius: 50%;
}

.toggle-thumb::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230088cc'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    transition: transform 0.3s ease;
}

.telegram-toggle input:checked + .toggle-track .toggle-thumb::after {
    transform: translate(-50%, -50%) scale(1);
}

.telegram-toggle span {
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.telegram-toggle input:checked ~ span {
    color: #b3e0ff;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.telegram-toggle input:checked + .toggle-track {
    animation: pulse 0.4s ease;
}

.telegram-toggle:focus-within {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 4px;
}

.withdraw-page,
.withdraw-history-page {
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #121212;
    color: #ffffff;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

    .page-header h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 600;
        color: #ffffff;
    }

.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: #1E1E1E;
    border: 1px solid #2D2D2D;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2196F3 0%, #0D47A1 100%);
    color: white;
}

.stat-card.balance .stat-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
}

.stat-card.min .stat-icon {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
}

.stat-card.total .stat-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%);
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #B0B0B0;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
}

.withdraw-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-card {
    background: #1E1E1E;
    border: 1px solid #2D2D2D;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

    .form-card h3 {
        margin: 0 0 24px 0;
        font-size: 22px;
        font-weight: 600;
        color: #ffffff;
    }

.history-link {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #2D2D2D;
}

.filters-row {
    margin-bottom: 24px;
}

.status-filter {
    width: 250px;
}

.withdraw-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.withdraw-item {
    background: #1E1E1E;
    border: 1px solid #2D2D2D;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #FF9800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

    .withdraw-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .withdraw-item.status-completed {
        border-left-color: #4CAF50;
    }

    .withdraw-item.status-rejected {
        border-left-color: #F44336;
    }

    .withdraw-item.status-canceled {
        border-left-color: #757575;
    }

    .withdraw-item.status-processing {
        border-left-color: #2196F3;
    }

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2D2D2D;
}

.item-id {
    font-weight: 600;
    color: #ffffff;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .status-badge.status-pending {
        background-color: rgba(255, 193, 7, 0.2);
        color: #FFC107;
        border: 1px solid rgba(255, 193, 7, 0.3);
    }

    .status-badge.status-processing {
        background-color: rgba(33, 150, 243, 0.2);
        color: #2196F3;
        border: 1px solid rgba(33, 150, 243, 0.3);
    }

    .status-badge.status-completed {
        background-color: rgba(76, 175, 80, 0.2);
        color: #4CAF50;
        border: 1px solid rgba(76, 175, 80, 0.3);
    }

    .status-badge.status-rejected {
        background-color: rgba(244, 67, 54, 0.2);
        color: #F44336;
        border: 1px solid rgba(244, 67, 54, 0.3);
    }

    .status-badge.status-canceled {
        background-color: rgba(158, 158, 158, 0.2);
        color: #9E9E9E;
        border: 1px solid rgba(158, 158, 158, 0.3);
    }

.item-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: start;
}

.item-label {
    font-weight: 600;
    color: #B0B0B0;
    font-size: 14px;
}

.item-value {
    color: #ffffff;
    word-break: break-all;
}

.transaction-link {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .transaction-link:hover {
        color: #64B5F6;
        text-decoration: underline;
    }

.item-actions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #2D2D2D;
    display: flex;
    justify-content: flex-end;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    gap: 16px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    gap: 16px;
    text-align: center;
}

    .empty-state h3 {
        margin: 0;
        color: #ffffff;
    }

    .empty-state p {
        margin: 0;
        color: #B0B0B0;
    }

    .empty-state .mud-icon {
        color: #666666;
        font-size: 64px;
    }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding: 24px;
}

.page-info {
    color: #B0B0B0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }

    .item-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .withdraw-page,
    .withdraw-history-page {
        padding: 16px;
    }

    .form-card {
        padding: 20px;
    }

    .page-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .status-filter {
        width: 100%;
    }
}

.withdraw-page .mud-select-item .mud-icon,
.withdraw-history-page .mud-select-item .mud-icon {
    margin-right: 8px;
    color: #B0B0B0;
}

.withdraw-page .mud-select-item:hover,
.withdraw-history-page .mud-select-item:hover {
    background-color: rgba(33, 150, 243, 0.1) !important;
}

.withdraw-list::-webkit-scrollbar {
    width: 8px;
}

.withdraw-list::-webkit-scrollbar-track {
    background: #1E1E1E;
    border-radius: 4px;
}

.withdraw-list::-webkit-scrollbar-thumb {
    background: #2D2D2D;
    border-radius: 4px;
}

    .withdraw-list::-webkit-scrollbar-thumb:hover {
        background: #2196F3;
    }

.download-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.download-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #111111;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    backdrop-filter: blur(10px);
}

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 30%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.download-subtitle {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
}

.status-message {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.status-success {
    background: rgba(45, 180, 100, 0.08);
    border-color: rgba(45, 180, 100, 0.3);
    color: #2db464;
}

.status-info {
    background: rgba(0, 122, 255, 0.08);
    border-color: rgba(0, 122, 255, 0.3);
    color: #007aff;
}

.status-warning {
    background: rgba(255, 149, 0, 0.08);
    border-color: rgba(255, 149, 0, 0.3);
    color: #ff9500;
}

.status-danger {
    background: rgba(255, 59, 48, 0.08);
    border-color: rgba(255, 59, 48, 0.3);
    color: #ff3b30;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.file-card {
    background: #111111;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #2a2a2a;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    margin-bottom: 15px;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.container .row {
    margin-top: 15px;
}

    .file-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, #444, transparent);
    }

    .file-card:hover {
        transform: translateY(-4px);
        border-color: #444;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    }

        .file-card:hover::before {
            background: linear-gradient(90deg, transparent, #666, transparent);
        }

.file-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.file-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #fff;
    line-height: 1.3;
}

.file-description {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.file-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid #222;
    margin-top: auto;
}

.file-size {
    color: #888;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .file-size::before {
        content: '📦';
        font-size: 0.9em;
    }

.download-btn {
    width: 100%;
    padding: 1rem;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

    .download-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
        transition: left 0.6s;
    }

    .download-btn:hover:not(:disabled) {
        background: #222;
        border-color: #555;
        transform: translateY(-1px);
    }

        .download-btn:hover:not(:disabled)::before {
            left: 100%;
        }

    .download-btn:active:not(:disabled) {
        transform: translateY(0);
    }

    .download-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #1a1a1a;
    }

.download-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

.qr-section {
    text-align: center;
    padding: 2rem;
    background: #111111;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    margin-top: 3rem;
}

.qr-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.qr-image-container {
    max-width: 200px;
    margin: 0 auto 1.5rem;
    padding: 1rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
}

.qr-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.qr-hint {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 300px;
    margin: 0 auto;
}

.footer-info {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.85rem;
}

.device-info {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.device-badge {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #333;
    font-size: 0.8rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .download-container {
        padding: 1rem;
    }

    .download-title {
        font-size: 2rem;
    }

    .file-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .file-card {
        padding: 1.25rem;
    }

    .qr-section {
        padding: 1.5rem;
    }

    .device-info {
        flex-direction: column;
        align-items: center;
    }
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #444;
    }

.parser-history-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: 100vh;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.page-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #111111;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 30%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
}

.main-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-select {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    min-width: 180px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .filter-select:focus {
        outline: none;
        border-color: #555;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    }

    .filter-select:hover {
        border-color: #555;
    }

.search-container {
    display: flex;
    flex: 1;
    max-width: 400px;
}

.search-input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px 0 0 6px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

    .search-input:focus {
        outline: none;
        border-color: #555;
    }

.search-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: none;
    border-radius: 0 6px 6px 0;
    padding: 0.75rem 1rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .search-btn:hover {
        background: #222;
        border-color: #555;
    }

.toggle-filters-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

    .toggle-filters-btn:hover {
        background: #222;
        border-color: #555;
        color: #fff;
    }

.extended-filters {
    background: #111111;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: slideDown 0.3s ease;
}

.filter-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.date-filter {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.date-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
}

.date-input {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

    .date-input:focus {
        outline: none;
        border-color: #555;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    }

.checkbox-container {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #007aff;
    }

.reset-filters-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    color: #888;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

    .reset-filters-btn:hover {
        background: #222;
        border-color: #555;
        color: #fff;
    }

.loading-container {
    text-align: center;
    padding: 4rem;
    color: #888;
}

.spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 1rem;
}

.history-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.history-card {
    background: #111111;
    border-radius: 12px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

    .history-card:hover {
        transform: translateY(-5px);
        border-color: #444;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    }

.card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
}

.bank-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #fff;
    font-size: 1.1rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-field {
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.field-label {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 120px;
}

.field-value {
    color: #fff;
    font-size: 0.95rem;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

    .field-value.truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 200px;
    }

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
}

.details-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    color: #fff;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

    .details-btn:hover {
        background: #222;
        border-color: #555;
    }

.match-indicator {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: rgba(45, 180, 100, 0.1);
    color: #2db464;
}

.empty-state {
    text-align: center;
    padding: 4rem;
    color: #888;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    border-top: 1px solid #2a2a2a;
}

.pagination-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

    .pagination-btn:hover:not(:disabled) {
        background: #222;
        border-color: #555;
    }

    .pagination-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

.pagination-info {
    color: #888;
    font-size: 0.9rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .main-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select {
        width: 100%;
        min-width: auto;
    }

    .search-container {
        max-width: none;
    }

    .history-grid {
        grid-template-columns: 1fr;
    }

    .filter-row {
        flex-direction: column;
    }

    .date-filter {
        min-width: auto;
        width: 100%;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .card-field {
        flex-direction: column;
        gap: 0.25rem;
    }

    .field-label {
        min-width: auto;
    }

    .field-value {
        text-align: left;
        width: 100%;
    }
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #444;
    }

.nav-badge {
    background: #00f8f1;
    color: black;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: 0.5rem;
    min-width: 20px;
    text-align: center;
    display: inline-block;
}

.mud-nav-link .nav-badge {
    position: absolute;
    right: 0rem;
    top: 50%;
    transform: translateY(-50%);
}

.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.snowflake {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.2em;
    font-family: Arial, sans-serif;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: -10%;
    user-select: none;
    cursor: default;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
}

    .snowflake:nth-child(3n) {
        font-size: 0.8em;
        opacity: 0.4;
    }

    .snowflake:nth-child(3n+1) {
        font-size: 1em;
        opacity: 0.6;
    }

    .snowflake:nth-child(3n+2) {
        font-size: 1.5em;
        opacity: 0.3;
    }

    .snowflake:nth-child(1) {
        left: 1%;
        animation-delay: 0s, 0s;
        animation-duration: 15s, 4s;
    }

    .snowflake:nth-child(2) {
        left: 3%;
        animation-delay: 0.2s, 0.1s;
        animation-duration: 18s, 3s;
    }

    .snowflake:nth-child(3) {
        left: 5%;
        animation-delay: 0.4s, 0.2s;
        animation-duration: 12s, 5s;
    }

    .snowflake:nth-child(4) {
        left: 7%;
        animation-delay: 0.6s, 0.3s;
        animation-duration: 20s, 4s;
    }

    .snowflake:nth-child(5) {
        left: 10%;
        animation-delay: 0.8s, 0.4s;
        animation-duration: 16s, 3s;
    }

    .snowflake:nth-child(6) {
        left: 15%;
        animation-delay: 1s, 0.5s;
        animation-duration: 14s, 4.5s;
    }

    .snowflake:nth-child(7) {
        left: 20%;
        animation-delay: 1.2s, 0.6s;
        animation-duration: 19s, 3.5s;
    }

    .snowflake:nth-child(8) {
        left: 25%;
        animation-delay: 1.4s, 0.7s;
        animation-duration: 17s, 4s;
    }

    .snowflake:nth-child(9) {
        left: 30%;
        animation-delay: 1.6s, 0.8s;
        animation-duration: 13s, 3s;
    }

    .snowflake:nth-child(10) {
        left: 35%;
        animation-delay: 1.8s, 0.9s;
        animation-duration: 21s, 5s;
    }

    .snowflake:nth-child(11) {
        left: 40%;
        animation-delay: 2s, 1s;
        animation-duration: 15s, 4s;
    }

    .snowflake:nth-child(12) {
        left: 45%;
        animation-delay: 2.2s, 1.1s;
        animation-duration: 18s, 3s;
    }

    .snowflake:nth-child(13) {
        left: 50%;
        animation-delay: 2.4s, 1.2s;
        animation-duration: 12s, 5s;
    }

    .snowflake:nth-child(14) {
        left: 55%;
        animation-delay: 2.6s, 1.3s;
        animation-duration: 20s, 4s;
    }

    .snowflake:nth-child(15) {
        left: 60%;
        animation-delay: 2.8s, 1.4s;
        animation-duration: 16s, 3s;
    }

    .snowflake:nth-child(16) {
        left: 65%;
        animation-delay: 3s, 1.5s;
        animation-duration: 14s, 4.5s;
    }

    .snowflake:nth-child(17) {
        left: 70%;
        animation-delay: 3.2s, 1.6s;
        animation-duration: 19s, 3.5s;
    }

    .snowflake:nth-child(18) {
        left: 75%;
        animation-delay: 3.4s, 1.7s;
        animation-duration: 17s, 4s;
    }

    .snowflake:nth-child(19) {
        left: 80%;
        animation-delay: 3.6s, 1.8s;
        animation-duration: 13s, 3s;
    }

    .snowflake:nth-child(20) {
        left: 85%;
        animation-delay: 3.8s, 1.9s;
        animation-duration: 21s, 5s;
    }

    .snowflake:nth-child(21) {
        left: 90%;
        animation-delay: 4s, 2s;
        animation-duration: 15s, 4s;
    }

    .snowflake:nth-child(22) {
        left: 95%;
        animation-delay: 4.2s, 2.1s;
        animation-duration: 18s, 3s;
    }

    .snowflake:nth-child(23) {
        left: 98%;
        animation-delay: 4.4s, 2.2s;
        animation-duration: 12s, 5s;
    }

    .snowflake:nth-child(24) {
        left: 2%;
        animation-delay: 4.6s, 2.3s;
        animation-duration: 20s, 4s;
    }

    .snowflake:nth-child(25) {
        left: 8%;
        animation-delay: 4.8s, 2.4s;
        animation-duration: 16s, 3s;
    }

    .snowflake:nth-child(26) {
        left: 12%;
        animation-delay: 5s, 2.5s;
        animation-duration: 14s, 4.5s;
    }

    .snowflake:nth-child(27) {
        left: 18%;
        animation-delay: 5.2s, 2.6s;
        animation-duration: 19s, 3.5s;
    }

    .snowflake:nth-child(28) {
        left: 22%;
        animation-delay: 5.4s, 2.7s;
        animation-duration: 17s, 4s;
    }

    .snowflake:nth-child(29) {
        left: 28%;
        animation-delay: 5.6s, 2.8s;
        animation-duration: 13s, 3s;
    }

    .snowflake:nth-child(30) {
        left: 32%;
        animation-delay: 5.8s, 2.9s;
        animation-duration: 21s, 5s;
    }

    .snowflake:nth-child(31) {
        left: 38%;
        animation-delay: 6s, 3s;
        animation-duration: 15s, 4s;
    }

    .snowflake:nth-child(32) {
        left: 42%;
        animation-delay: 6.2s, 3.1s;
        animation-duration: 18s, 3s;
    }

    .snowflake:nth-child(33) {
        left: 48%;
        animation-delay: 6.4s, 3.2s;
        animation-duration: 12s, 5s;
    }

    .snowflake:nth-child(34) {
        left: 52%;
        animation-delay: 6.6s, 3.3s;
        animation-duration: 20s, 4s;
    }

    .snowflake:nth-child(35) {
        left: 58%;
        animation-delay: 6.8s, 3.4s;
        animation-duration: 16s, 3s;
    }

    .snowflake:nth-child(36) {
        left: 62%;
        animation-delay: 7s, 3.5s;
        animation-duration: 14s, 4.5s;
    }

    .snowflake:nth-child(37) {
        left: 68%;
        animation-delay: 7.2s, 3.6s;
        animation-duration: 19s, 3.5s;
    }

    .snowflake:nth-child(38) {
        left: 72%;
        animation-delay: 7.4s, 3.7s;
        animation-duration: 17s, 4s;
    }

    .snowflake:nth-child(39) {
        left: 78%;
        animation-delay: 7.6s, 3.8s;
        animation-duration: 13s, 3s;
    }

    .snowflake:nth-child(40) {
        left: 82%;
        animation-delay: 7.8s, 3.9s;
        animation-duration: 21s, 5s;
    }

    .snowflake:nth-child(41) {
        left: 88%;
        animation-delay: 8s, 4s;
        animation-duration: 15s, 4s;
    }

    .snowflake:nth-child(42) {
        left: 92%;
        animation-delay: 8.2s, 4.1s;
        animation-duration: 18s, 3s;
    }

    .snowflake:nth-child(43) {
        left: 4%;
        animation-delay: 8.4s, 4.2s;
        animation-duration: 12s, 5s;
    }

    .snowflake:nth-child(44) {
        left: 14%;
        animation-delay: 8.6s, 4.3s;
        animation-duration: 20s, 4s;
    }

    .snowflake:nth-child(45) {
        left: 24%;
        animation-delay: 8.8s, 4.4s;
        animation-duration: 16s, 3s;
    }

    .snowflake:nth-child(46) {
        left: 34%;
        animation-delay: 9s, 4.5s;
        animation-duration: 14s, 4.5s;
    }

    .snowflake:nth-child(47) {
        left: 44%;
        animation-delay: 9.2s, 4.6s;
        animation-duration: 19s, 3.5s;
    }

    .snowflake:nth-child(48) {
        left: 54%;
        animation-delay: 9.4s, 4.7s;
        animation-duration: 17s, 4s;
    }

    .snowflake:nth-child(49) {
        left: 64%;
        animation-delay: 9.6s, 4.8s;
        animation-duration: 13s, 3s;
    }

    .snowflake:nth-child(50) {
        left: 74%;
        animation-delay: 9.8s, 4.9s;
        animation-duration: 21s, 5s;
    }

@keyframes snowflakes-fall {
    0% {
        top: -10%;
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    90% {
        opacity: 0.5;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

@keyframes snowflakes-shake {
    0% {
        transform: translateX(0px) rotate(0deg);
    }

    25% {
        transform: translateX(40px) rotate(90deg);
    }

    50% {
        transform: translateX(80px) rotate(180deg);
    }

    75% {
        transform: translateX(40px) rotate(270deg);
    }

    100% {
        transform: translateX(0px) rotate(360deg);
    }
}

.reflective .important .line {
    background: #202020;
    padding: 15px;
    border-radius: 7px;
}

.copy-btn {
    background: #252525;
    border-radius: 5px;
    padding: 5px;
}

.reflective .header label:first-of-type {
    margin-left: 5px;
    margin-top: 5px
}

.settings-item .param {
    padding: 10px;
    border-radius: 7px;
    margin-bottom: 3px
}

.transactions-container {
    padding: 24px;
    min-height: 100vh;
}

    .transactions-container .transactions-header {
        margin-bottom: 32px;
    }

    .transactions-container .transactions-title {
        color: #ffffff;
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 24px;
        font-family: 'Montserrat', sans-serif;
    }

    .transactions-container .transactions-filters {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
        align-items: flex-end;
        margin-bottom: 24px;
    }

        .transactions-container .transactions-filters .status-filter,
        .transactions-container .transactions-filters .search-filter {
            flex: 1;
            min-width: 250px;
            max-width: 300px;
        }

    .transactions-container .transactions-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
        gap: 20px;
        margin-bottom: 32px;
    }

    .transactions-container .transaction-card {
        background: #1a1a1a;
        border-radius: 12px;
        padding: 20px;
        transition: all 0.3s ease;
        border: 1px solid #2a2a2a;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

        .transactions-container .transaction-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
            border-color: #202020;
        }

        .transactions-container .transaction-card.status-создан {
            border-left: 4px solid #FFBD00;
        }

        .transactions-container .transaction-card.status-успех {
            border-left: 4px solid #31D057;
        }

        .transactions-container .transaction-card.status-просрочено {
            border-left: 4px solid #ff0044;
        }

        .transactions-container .transaction-card .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }

            .transactions-container .transaction-card .card-header .transaction-id {
                display: flex;
                align-items: center;
                gap: 8px;
                background: #0a0a0a;
                padding: 6px 12px;
                border-radius: 6px;
                max-width: 70%;
            }

                .transactions-container .transaction-card .card-header .transaction-id .id-label {
                    color: #999999;
                    font-size: 12px;
                    font-weight: 500;
                    text-transform: uppercase;
                    letter-spacing: 0.5px;
                }

                .transactions-container .transaction-card .card-header .transaction-id .id-value {
                    color: #ffffff;
                    font-size: 13px;
                    font-weight: 500;
                    font-family: 'Monaco', 'Consolas', monospace;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }

            .transactions-container .transaction-card .card-header .status-badge {
                padding: 4px 12px;
                border-radius: 20px;
                font-size: 12px;
                font-weight: 600;
                text-transform: uppercase;
                letter-spacing: 0.5px;
            }

                .transactions-container .transaction-card .card-header .status-badge.status-создан {
                    background: rgba(255, 189, 0, 0.15);
                    color: #FFBD00;
                    border: 1px solid rgba(255, 189, 0, 0.3);
                }

                .transactions-container .transaction-card .card-header .status-badge.status-успех {
                    background: rgba(49, 208, 87, 0.15);
                    color: #31D057;
                    border: 1px solid rgba(49, 208, 87, 0.3);
                }

                .transactions-container .transaction-card .card-header .status-badge.status-просрочено {
                    background: rgba(255, 0, 68, 0.15);
                    color: #ff0044;
                    border: 1px solid rgba(255, 0, 68, 0.3);
                }

        .transactions-container .transaction-card .card-content {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

            .transactions-container .transaction-card .card-content .amounts-grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
                margin-bottom: 16px;
                background: #0a0a0a;
                padding: 16px;
                border-radius: 8px;
            }

                .transactions-container .transaction-card .card-content .amounts-grid .amount-item {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                }

                    .transactions-container .transaction-card .card-content .amounts-grid .amount-item .amount-label {
                        color: #999999;
                        font-size: 11px;
                        text-transform: uppercase;
                        letter-spacing: 0.5px;
                        font-weight: 500;
                    }

                    .transactions-container .transaction-card .card-content .amounts-grid .amount-item .amount-value {
                        color: #ffffff;
                        font-size: 16px;
                        font-weight: 600;
                        font-family: 'Montserrat', sans-serif;
                    }

            .transactions-container .transaction-card .card-content .details-grid {
                display: flex;
                flex-direction: column;
                gap: 12px;
            }

                .transactions-container .transaction-card .card-content .details-grid .detail-item {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    padding-bottom: 12px;
                    border-bottom: 1px solid #2a2a2a;
                }

                    .transactions-container .transaction-card .card-content .details-grid .detail-item:last-child {
                        border-bottom: none;
                        padding-bottom: 0;
                    }

                    .transactions-container .transaction-card .card-content .details-grid .detail-item .detail-label {
                        color: #999999;
                        font-size: 13px;
                        font-weight: 400;
                        flex-shrink: 0;
                    }

                    .transactions-container .transaction-card .card-content .details-grid .detail-item .detail-value {
                        color: #ffffff;
                        font-size: 14px;
                        font-weight: 500;
                        text-align: right;
                        max-width: 60%;
                        word-break: break-word;
                    }

                        .transactions-container .transaction-card .card-content .details-grid .detail-item .detail-value.hash-value {
                            font-family: 'Monaco', 'Consolas', monospace;
                            font-size: 12px;
                            color: #cccccc;
                        }

    .transactions-container .no-transactions {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 300px;
        background: #1a1a1a;
        border-radius: 12px;
        border: 1px solid #2a2a2a;
    }

        .transactions-container .no-transactions .no-data-text {
            color: #999999 !important;
        }

    .transactions-container .pagination-container {
        display: flex;
        justify-content: center;
        padding: 24px 0;
    }

        .transactions-container .pagination-container .transactions-pagination .mud-pagination-item {
            background: #1a1a1a !important;
            border: 1px solid #2a2a2a !important;
            color: #ffffff !important;
        }

            .transactions-container .pagination-container .transactions-pagination .mud-pagination-item:hover {
                background: #2a2a2a !important;
                border-color: #3d8eff !important;
            }

        .transactions-container .pagination-container .transactions-pagination .mud-selected {
            background: #3d8eff !important;
            border-color: #3d8eff !important;
            color: #ffffff !important;
        }

        .transactions-container .pagination-container .transactions-pagination .mud-pagination-item.mud-disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

    .transactions-container .transaction-card.skeleton {
        animation: skeleton-pulse 1.5s ease-in-out infinite;
        min-height: 200px;
    }

@keyframes skeleton-pulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 0.4;
    }
}

@media (max-width: 1200px) {
    .transactions-container .transactions-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .transactions-container {
        padding: 16px;
    }

        .transactions-container .transactions-grid {
            grid-template-columns: 1fr;
        }

        .transactions-container .transactions-filters {
            flex-direction: column;
            align-items: stretch;
        }

            .transactions-container .transactions-filters .status-filter,
            .transactions-container .transactions-filters .search-filter {
                max-width: 100%;
                min-width: 100%;
            }

        .transactions-container .transaction-card .card-content .amounts-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .transactions-container .transaction-card .card-header {
            flex-direction: column;
            gap: 12px;
            align-items: flex-start;
        }

            .transactions-container .transaction-card .card-header .transaction-id {
                max-width: 100%;
                width: 100%;
            }

            .transactions-container .transaction-card .card-header .status-badge {
                align-self: flex-start;
            }
}

@media (max-width: 480px) {
    .transactions-container .transaction-card {
        padding: 16px;
    }

    .transactions-container .transactions-title {
        font-size: 24px;
    }

    .transactions-container .transaction-card .card-content .details-grid .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

        .transactions-container .transaction-card .card-content .details-grid .detail-item .detail-value {
            text-align: left;
            max-width: 100%;
            width: 100%;
        }
}

.bo-settings-page {
    padding: 24px 28px 48px;
    max-width: none;
    width: 100%;
    margin: 0;
    text-align: left;
    font-family: Montserrat, system-ui, sans-serif;
    color: #fff;
    animation: boFadeIn 0.35s ease;
    box-sizing: border-box;
}

@keyframes boFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.bo-loading {
    padding: 80px 20px;
    text-align: center;
    color: #888;
    font-size: 15px;
}

.bo-page-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a2a;
}

.bo-page-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid #2a2a2a;
    color: #00d4aa;
    flex-shrink: 0;
}

.bo-page-header-text h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.4px;
    background: linear-gradient(135deg, #fff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bo-page-header-text p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.bo-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.bo-settings-card {
    position: relative;
    background: rgba(26, 26, 26, 0.92);
    border: 1px solid #2a2a2a;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.2s ease;
    overflow: hidden;
}

.bo-settings-card:hover {
    background: rgba(34, 34, 34, 0.98);
}

.bo-settings-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bo-settings-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border: 1px solid #333;
    color: #00d4aa;
}

.bo-settings-card.accent-telegram .bo-settings-card-icon { color: #00a8ff; border-color: rgba(0, 168, 255, 0.3); background: rgba(0, 168, 255, 0.08); }
.bo-settings-card.accent-api .bo-settings-card-icon { color: #00f8f1; }
.bo-settings-card.accent-security .bo-settings-card-icon { color: #f0b429; }
.bo-settings-card.accent-profile .bo-settings-card-icon { color: #00d4aa; }

.bo-settings-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 650;
    color: #fff;
}

.bo-settings-card-desc {
    margin: 0;
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}

.bo-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    border-radius: 12px;
    padding: 11px 18px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.bo-btn-accent {
    background: linear-gradient(135deg, #00d4aa 0%, #00a88a 100%);
    color: #041411;
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.25);
}

.bo-btn-accent:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(0, 212, 170, 0.35);
}

.bo-btn-outline {
    background: transparent;
    color: #e5e7eb;
    border: 1px solid #333;
}

.bo-btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
}

.bo-btn-ghost {
    background: rgba(34, 34, 34, 0.9);
    color: #ccc;
    border: 1px solid #2a2a2a;
}

.bo-btn-ghost:hover,
.bo-btn-ghost.is-active {
    background: rgba(48, 48, 48, 0.95);
    color: #fff;
}

.bo-btn-sm {
    padding: 8px 14px;
    font-size: 12px;
    border-radius: 10px;
}

.bo-btn-danger-ghost {
    background: transparent;
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.25);
    margin-top: 4px;
}

.bo-btn-danger-ghost:hover {
    background: rgba(248, 113, 113, 0.08);
}

.bo-tg-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.2);
    color: #00d4aa;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
}

.bo-tg-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00d4aa;
    box-shadow: 0 0 10px #00d4aa;
}

.bo-tg-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bo-tg-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.bo-tg-features li {
    position: relative;
    padding-left: 18px;
    color: #aaa;
    font-size: 13px;
}

.bo-tg-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00a8ff;
}

.bo-tg-code {
    background: #141414;
    border: 1px dashed #333;
    border-radius: 14px;
    padding: 16px;
    display: grid;
    gap: 10px;
    text-align: center;
}

.bo-tg-code-label {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bo-tg-code code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 15px;
    color: #00f8f1;
    word-break: break-all;
}

.bo-tg-code p {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.bo-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.bo-toggle input { display: none; }

.bo-toggle-track {
    width: 44px;
    height: 26px;
    border-radius: 999px;
    background: #333;
    border: 1px solid #444;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
    display: block;
}

.bo-toggle-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.bo-toggle input:checked + .bo-toggle-track {
    background: linear-gradient(135deg, #00d4aa, #00a88a);
    border-color: transparent;
}

.bo-toggle input:checked + .bo-toggle-track .bo-toggle-thumb {
    transform: translateX(18px);
}

.bo-toggle-label {
    font-size: 13px;
    color: #aaa;
}

.bo-help-panel {
    position: relative;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
    background: linear-gradient(135deg, #1a1a1a 0%, #151515 100%);
    overflow: hidden;
    padding: 28px;
}

.bo-help-panel-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    right: -40px;
    top: -60px;
    background: radial-gradient(circle, rgba(0, 212, 170, 0.18), transparent 70%);
    pointer-events: none;
}

.bo-help-panel-body {
    position: relative;
    text-align: center;
}

.bo-help-panel-body h2 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 650;
}

.bo-help-panel-body p {
    margin: 0 0 20px;
    color: #888;
    font-size: 14px;
}

.bo-help-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.bo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: boOverlayIn 0.25s ease;
}

@keyframes boOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.bo-modal {
    width: min(520px, 100%);
    max-height: min(88vh, 720px);
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.55), 0 8px 32px rgba(0, 212, 170, 0.08), inset 0 1px 0 rgba(255,255,255,0.04);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: boModalIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes boModalIn {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to { opacity: 1; transform: none; }
}

.bo-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 24px;
    background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
    border-bottom: 1px solid #2a2a2a;
}

.bo-modal-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4aa;
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid rgba(0, 212, 170, 0.2);
}

.bo-modal-header h2 {
    margin: 0;
    flex: 1;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #a0a0a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bo-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    background: rgba(42,42,42,0.8);
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.bo-modal-close:hover {
    color: #fff;
    border-color: #444;
    transform: rotate(90deg);
}

.bo-modal-body {
    overflow-y: auto;
    padding: 8px 0 12px;
}

.bo-notif-cat {
    padding: 16px 24px 8px;
}

.bo-notif-cat span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #666;
    background: linear-gradient(135deg, #666, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bo-notif-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    border-top: 1px solid #222;
    transition: background 0.15s ease;
}

.bo-notif-item:hover { background: rgba(255,255,255,0.02); }

.bo-notif-text h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.bo-notif-text p {
    margin: 0;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

.bo-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 20px;
    border-top: 1px solid #2a2a2a;
    background: #171717;
}

.bo-panel {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.bo-panel-wide { margin-top: 20px; }

.bo-panel-title {
    font-size: 16px;
    font-weight: 650;
    margin-bottom: 16px;
    color: #fff;
}

.bo-panel-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bo-panel-title-row .bo-panel-title { margin: 0; }

.bo-panel-meta {
    color: #888;
    font-size: 13px;
}

.bo-panel-toolbar {
    margin-bottom: 16px;
}

.bo-search-field {
    max-width: 360px;
}

.bo-profile-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    margin-bottom: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
    border: 1px solid #2a2a2a;
}

.bo-profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #041411;
    background: linear-gradient(135deg, #00d4aa, #00a8ff);
    box-shadow: 0 0 28px rgba(0, 212, 170, 0.25);
    flex-shrink: 0;
}

.bo-profile-hero-info h1 {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 700;
}

.bo-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bo-chip {
    appearance: none;
    border: 1px solid #333;
    background: #202020;
    color: #ddd;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.bo-chip-accent {
    border-color: rgba(0, 212, 170, 0.3);
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    cursor: default;
}

.bo-profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.bo-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    background: #202020;
    border: 1px solid #2a2a2a;
    margin-bottom: 10px;
}

.bo-balance-row strong { color: #00d4aa; font-size: 16px; }
.bo-balance-row.warn strong { color: #f0b429; }

.bo-stat-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.bo-stat-tile {
    padding: 14px;
    border-radius: 14px;
    background: #202020;
    border: 1px solid #2a2a2a;
    border-left: 3px solid #00d4aa;
    display: grid;
    gap: 8px;
}

.bo-stat-tile strong {
    font-size: 18px;
    color: #fff;
}

.bo-muted { color: #888; font-size: 12px; }
.bo-accent { color: #00d4aa !important; font-weight: 600; }

.bo-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: #202020;
    border: 1px solid #2a2a2a;
    margin-bottom: 10px;
}

.bo-list-row strong { display: block; color: #fff; margin-bottom: 4px; }

.bo-status {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.bo-status.ok {
    background: rgba(0, 212, 170, 0.12);
    color: #00d4aa;
    border: 1px solid rgba(0, 212, 170, 0.25);
}

.bo-status.bad {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.bo-empty-inline,
.bo-empty-state {
    text-align: center;
    padding: 36px 16px;
    color: #777;
}

.bo-empty-state {
    display: grid;
    justify-items: center;
    gap: 8px;
}

.bo-empty-state p {
    margin: 0;
    color: #ccc;
    font-weight: 600;
}

.bo-empty-state span { font-size: 13px; color: #777; }

.bo-table-wrap { overflow-x: auto; }

.bo-table {
    width: 100%;
    border-collapse: collapse;
}

.bo-table th {
    text-align: left;
    padding: 12px;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 1px solid #2a2a2a;
}

.bo-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #222;
    color: #ddd;
    font-size: 14px;
}

.bo-table tr:hover td { background: rgba(255,255,255,0.02); }

.bo-settings-page.security-container,
.bo-settings-page.api-keys-container {
    position: relative;
    left: auto;
    max-width: 1000px;
}

.bo-settings-page .security-section,
.bo-settings-page .keys-section,
.bo-settings-page .stat-card {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.bo-settings-page .section-title,
.bo-settings-page .security-section h3 {
    color: #fff !important;
}

.bo-settings-page .section-description,
.bo-settings-page .info-label,
.bo-settings-page .stat-label,
.bo-settings-page .key-id,
.bo-settings-page .security-tips li {
    color: #888 !important;
}

.bo-settings-page .info-value,
.bo-settings-page .key-name,
.bo-settings-page .key-label,
.bo-settings-page .stat-value {
    color: #fff !important;
}

.bo-settings-page .stat-value {
    color: #00d4aa !important;
}

.bo-settings-page .key-value {
    background: #141414 !important;
    border-color: #333 !important;
    color: #00f8f1 !important;
    border-radius: 10px !important;
}

.bo-settings-page .status-active {
    background: rgba(0, 212, 170, 0.12) !important;
    color: #00d4aa !important;
    border: 1px solid rgba(0, 212, 170, 0.25);
}

.bo-settings-page .status-inactive {
    background: rgba(255,255,255,0.05) !important;
    color: #999 !important;
}

.bo-settings-page .warning-section {
    background: rgba(240, 180, 41, 0.08) !important;
    border: 1px solid rgba(240, 180, 41, 0.3) !important;
    border-radius: 14px !important;
}

.bo-settings-page .warning-title,
.bo-settings-page .warning-text {
    color: #f0b429 !important;
}

.bo-settings-page .mud-input-outlined .mud-input-outlined-border {
    border-color: #333 !important;
}

.bo-settings-page .mud-input > input,
.bo-settings-page .mud-input-slot {
    color: #fff !important;
}

.bo-notifications-page .bo-data-grid {
    background: transparent;
}

.bo-notifications-page .mud-table,
.bo-notifications-page .mud-data-grid {
    background: transparent !important;
    color: #ddd !important;
}

.bo-notifications-page .mud-table-head,
.bo-notifications-page .mud-table-cell {
    border-color: #2a2a2a !important;
}

@media (max-width: 768px) {
    .bo-settings-page { padding: 16px; }
    .bo-page-header-text h1 { font-size: 22px; }
    .bo-profile-hero { flex-direction: column; align-items: flex-start; }
    .bo-stat-tiles { grid-template-columns: 1fr; }
    .bo-modal { border-radius: 18px; }
    .bo-help-actions { flex-direction: column; }
}

.bo-settings-page .mud-button-filled-primary {
    background: linear-gradient(135deg, #00d4aa 0%, #00a88a 100%) !important;
    color: #041411 !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 20px rgba(0, 212, 170, 0.22) !important;
    text-transform: none !important;
    font-weight: 600 !important;
}

.bo-settings-page .mud-button-outlined-primary,
.bo-settings-page .mud-button-outlined-secondary {
    border-color: #333 !important;
    color: #ddd !important;
    border-radius: 12px !important;
    text-transform: none !important;
}

.bo-settings-page .mud-button-outlined-primary:hover {
    border-color: #00d4aa !important;
    color: #00d4aa !important;
    background: rgba(0, 212, 170, 0.06) !important;
}

.bo-settings-page .mud-button-text-primary {
    color: #00d4aa !important;
}

.bo-settings-page .actions-section {
    gap: 12px;
    margin-top: 20px;
}

.bo-settings-page .security-section h3 {
    color: #f0b429 !important;
}

.bo-settings-page.api-keys-container .security-section {
    border-color: rgba(240, 180, 41, 0.35) !important;
}

.bo-settings-page .bo-page-header {
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    margin-bottom: 24px;
}

.bo-settings-page .bo-page-header-text {
    text-align: left;
}

.bo-settings-page.security-container,
.bo-settings-page.api-keys-container,
.bo-notif-page {
    max-width: none;
    margin: 0;
}

.bo-settings-grid {
    justify-content: start;
}

.bo-help-panel-body {
    text-align: left;
}

.bo-help-actions {
    justify-content: flex-start;
}

.bo-panel:hover,
.bo-profile-hero:hover {
    background: rgba(30, 30, 30, 0.98);
}

.bo-panel {
    transition: background 0.2s ease;
}

.bo-select {
    appearance: none;
    background: rgba(26, 26, 26, 0.95) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23888' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    color: #eee;
    padding: 11px 36px 11px 14px;
    font-family: inherit;
    font-size: 13px;
    min-width: 160px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bo-select:hover,
.bo-select:focus {
    outline: none;
    background-color: rgba(36, 36, 36, 0.98);
}

.bo-notif-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
}

.bo-notif-search {
    flex: 1 1 240px;
    min-width: 200px;
    max-width: 420px;
}

.bo-notif-search input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    color: #fff;
    padding: 11px 14px;
    font-family: inherit;
    font-size: 13px;
    transition: background 0.2s ease;
}

.bo-notif-search input:hover,
.bo-notif-search input:focus {
    outline: none;
    background: rgba(36, 36, 36, 0.98);
}

.bo-notif-filters {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    animation: boFadeIn 0.25s ease;
}

.bo-notif-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 14px;
}

.bo-notif-field {
    display: grid;
    gap: 6px;
    min-width: 170px;
}

.bo-notif-field span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #777;
    font-weight: 600;
}

.bo-notif-field input[type="date"] {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    color: #eee;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 13px;
    transition: background 0.2s ease;
}

.bo-notif-field input[type="date"]:hover,
.bo-notif-field input[type="date"]:focus {
    outline: none;
    background: rgba(36, 36, 36, 0.98);
}

.bo-notif-filter-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.bo-notif-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

.bo-notif-card {
    background: rgba(22, 22, 22, 0.96);
    border: 1px solid #262626;
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: background 0.2s ease;
    min-height: 210px;
}

.bo-notif-card:hover {
    background: rgba(32, 32, 32, 0.98);
}

.bo-notif-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bo-notif-bank {
    font-weight: 650;
    font-size: 14px;
    color: #f2f2f2;
    letter-spacing: -0.01em;
}

.bo-notif-amount {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.1;
}

.bo-notif-card.status-ok .bo-notif-amount { color: #00d4aa; }
.bo-notif-card.status-bad .bo-notif-amount { color: #f87171; }
.bo-notif-card.status-warn .bo-notif-amount { color: #f0b429; }

.bo-notif-title {
    margin: 0;
    color: #a3a3a3;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.9em;
}

.bo-notif-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    color: #777;
    font-size: 12px;
}

.bo-accent-soft {
    color: #7dd3c0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
}

.bo-notif-card-foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #262626;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bo-match {
    font-size: 12px;
    font-weight: 600;
}

.bo-match.ok { color: #00d4aa; }
.bo-match.bad { color: #888; }

.bo-status.ok {
    background: rgba(0, 212, 170, 0.1);
    color: #00d4aa;
    border: 1px solid rgba(0, 212, 170, 0.18);
}

.bo-status.bad {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.18);
}

.bo-status.warn {
    background: rgba(240, 180, 41, 0.1);
    color: #f0b429;
    border: 1px solid rgba(240, 180, 41, 0.18);
}

.bo-status.muted {
    background: rgba(255, 255, 255, 0.04);
    color: #999;
    border: 1px solid #333;
}

.bo-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-top: 22px;
}

.bo-pagination-info {
    color: #888;
    font-size: 13px;
    min-width: 64px;
    text-align: center;
}

.bo-empty-panel {
    background: rgba(22, 22, 22, 0.95);
    border: 1px solid #262626;
    border-radius: 18px;
    margin-top: 8px;
}

.bo-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.bo-btn-accent:hover {
    transform: none;
    box-shadow: 0 8px 24px rgba(0, 212, 170, 0.25);
    filter: brightness(1.05);
}

.bo-btn-danger-ghost:hover {
    background: rgba(248, 113, 113, 0.1);
}

.bo-settings-page .mud-button-outlined-primary:hover {
    border-color: #333 !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

@media (max-width: 768px) {
    .bo-settings-page { padding: 16px; }
    .bo-notif-list { grid-template-columns: 1fr; }
    .bo-notif-search { max-width: none; }
}

.tab-head-item {
    display: flex !important;
    gap: 1rem !important;
    align-items: flex-end !important;
    flex-wrap: wrap !important;
}

.tab-head-item .mud-picker,
.tab-head-item .mud-picker-inline,
.tab-head-item .tab-range-picker {
    flex: 0 0 auto !important;
    width: max-content !important;
    max-width: 380px !important;
    min-width: 280px !important;
}

.tab-head-item .mud-picker .mud-input-control {
    width: max-content !important;
    max-width: 380px !important;
}

.tab-head-item .mud-input-clear-button,
.tab-head-item .mud-icon-button.mud-input-clear-button {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
}

.tab-head-item > .mud-button-root,
.tab-head-item .mud-menu,
.tab-head-item .mud-menu .mud-button-root {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: unset !important;
}

.tab-head-item .mud-button-filled-primary {
    min-width: unset !important;
    width: auto !important;
}

.mud-dialog .mud-dialog-actions .mud-button:not(.mud-icon-button) {
    width: 100%;
}

.mud-dialog .mud-icon-button,
.mud-dialog .mud-button-close,
.mud-dialog .mud-input-clear-button,
.mud-input-clear-button,
button.mud-icon-button {
    width: auto !important;
    min-width: unset !important;
    max-width: none !important;
    flex: 0 0 auto !important;
}

.mud-dialog .mud-dialog-title .mud-button-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 8px !important;
    background: transparent !important;
}
