

:root {
    
    --bg-primary: #000000;
    --bg-secondary: rgba(10, 10, 10, 0.9);
    --bg-tertiary: rgba(15, 15, 15, 0.8);
    --accent-cyan: #06B6D4;
    --accent-blue: #3B82F6;
    --accent-teal: #14B8A6;
    --accent-gradient: linear-gradient(135deg, #06B6D4, #3B82F6);
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #999999;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    
    
    --gradient-bg: linear-gradient(135deg, #000000 0%, #0A0A0A 50%, #050505 100%);
    --gradient-card: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    
    
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.3);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes border-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 0 30px rgba(255, 255, 255, 0.15);
    }
}


body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    animation: fadeIn 0.8s ease-out;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(20, 184, 166, 0.04) 0%, transparent 50%);
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-glass);
    animation: fadeIn 0.6s ease-out;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.site-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    letter-spacing: -0.02em;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.username {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.username-btn {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.username-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
    border-color: rgba(6, 182, 212, 0.6);
}

.username-btn:active {
    transform: translateY(0);
}

.balance-header {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    margin-left: 0.5rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.btn,
a.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.05);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: rgba(40, 40, 40, 0.9);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: rgba(15, 15, 15, 0.9);
    color: var(--text-primary);
    border: 1px solid rgba(6, 182, 212, 0.3);
    font-weight: 600;
}

.btn-secondary:hover {
    background: rgba(20, 20, 20, 0.95);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}


#logout-btn {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.4);
    font-weight: 600;
}

#logout-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.35);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-2px);
    border-color: rgba(239, 68, 68, 0.8);
}

.btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}


.main-content {
    display: flex;
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 2rem;
    gap: 2rem;
    animation: fadeIn 0.8s ease-out 0.2s both;
}


.sidebar {
    width: 280px;
    flex-shrink: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow-glass);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0.1;
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.nav-link:hover::before {
    left: 0;
}

.nav-link.active {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
    animation: border-glow 2s ease-in-out infinite;
}

.nav-link.active::before {
    left: 0;
    opacity: 1;
}

.nav-link .icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}


.content-area {
    flex: 1;
    min-width: 0;
}

.page {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.page.active {
    display: block;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow-glass);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
    border-color: rgba(6, 182, 212, 0.3);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
    letter-spacing: -0.01em;
}


.profile-info {
    margin-bottom: 2rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
}

.info-row:hover {
    background: rgba(15, 15, 15, 0.9);
    border-color: rgba(6, 182, 212, 0.4);
    transform: translateX(5px);
}

.info-row .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.info-row .value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
}


.stats-section {
    margin-top: 2rem;
}

.stats-section h3 {
    margin-bottom: 0.9rem;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.stats-grid,
.stats-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.stat-card,
.stat-card-compact {
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.9rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(6, 182, 212, 0.2);
    position: relative;
    overflow: hidden;
}

.stat-card::before,
.stat-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.stat-card:hover,
.stat-card-compact:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.1);
}

.stat-card:hover::before,
.stat-card-compact:hover::before {
    opacity: 0.1;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    letter-spacing: -0.02em;
}

.stat-card-compact {
    padding: 0.75rem;
}

.stat-card-compact .stat-value {
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}


.chart-container {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.chart-canvas {
    max-height: 400px;
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}


#payout-amount {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: right;
    padding-right: 1.25rem;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.2);
}

#payout-amount:focus {
    border-color: rgba(6, 182, 212, 0.5);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), 0 0 15px rgba(6, 182, 212, 0.3);
    background: rgba(15, 15, 15, 0.95);
}

#payout-amount::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), var(--shadow-glow);
    background: rgba(15, 15, 15, 0.95);
}

.input::placeholder {
    color: var(--text-muted);
}


.input[type="number"]::-webkit-inner-spin-button,
.input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.input[type="number"] {
    -moz-appearance: textfield;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}


.logs-list,
.payouts-list {
    margin-top: 1.5rem;
}

.log-item,
.payout-item {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-left: 4px solid var(--accent-cyan);
    transition: all 0.3s ease;
}

.log-item:hover,
.payout-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-glass);
    border-left-color: var(--accent-blue);
}

.log-status-badge {
    display: inline-block;
    padding: 0.4em 0.8em;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.log-status-badge.confirmed {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
    border: 1px solid var(--success-color);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.log-status-badge.rejected {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.log-status-badge.pending {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.payout-item.approved {
    border-left-color: var(--success-color);
}

.payout-item.rejected {
    border-left-color: var(--danger-color);
}

.payout-item.pending {
    border-left-color: var(--warning-color);
}


.modal {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}


#logs-filter-modal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


#profile-modal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    align-items: flex-start !important;
    justify-content: center !important;
    padding-top: 0 !important;
}


#profile-modal .profile-modal-content {
    position: fixed !important;
    top: 120px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    max-height: calc(100vh - 140px) !important;
    overflow-y: auto;
    width: 90% !important;
    max-width: 500px !important;
    z-index: 2001 !important;
}


.modal.show,
.modal[style*="flex"] {
    display: flex !important;
}

.modal-content {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 20px;
    padding: 0.9rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeIn 0.4s ease-out;
    position: relative;
    margin: auto;
}

.modal-close-btn {
    min-height: 40px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1rem;
}


@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@keyframes profileModalSlideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}



.profile-modal-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.profile-modal-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.profile-modal-info .info-row:hover {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.profile-modal-info .profile-username-row {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-color: rgba(6, 182, 212, 0.4);
    padding: 0.6rem 0.9rem;
    margin-bottom: 0.3rem;
}

.profile-modal-info .profile-username-row:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(15, 15, 15, 0.95) 100%);
    border-color: rgba(6, 182, 212, 0.6);
}

.profile-modal-info .info-row .label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-modal-info .info-row .value {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.profile-modal-info .profile-username-row .value {
    color: var(--accent-cyan);
    font-size: 1.15rem;
}


.log-details-info {
    padding: 0.5rem 0;
}

.log-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.6) 0%, rgba(10, 10, 10, 0.6) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.log-detail-row:hover {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.8) 100%);
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(6, 182, 212, 0.15);
}

.log-detail-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.log-detail-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(239, 68, 68, 0.3);
    transform: rotate(90deg);
}


.admin-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-secondary);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(30, 30, 30, 0.6);
    transform: translateY(-2px);
}

.tab-btn:hover::before {
    left: 0;
    opacity: 0.15;
}

.tab-btn.active {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
}

.tab-btn.active::before {
    left: 0;
    opacity: 1;
}


.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    margin: 2rem 0;
}

.empty-state-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
    filter: drop-shadow(0 4px 12px rgba(6, 182, 212, 0.3));
    animation: float 3s ease-in-out infinite;
}

.empty-state p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.5rem 1rem;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.bot-card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.2);
    box-shadow: var(--shadow-glass);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.bot-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glass), var(--shadow-glow);
    border-color: rgba(6, 182, 212, 0.5);
}

.bot-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.bot-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bot-card-info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bot-card-info-item:last-child {
    border-bottom: none;
}

.bot-card-info-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.bot-card-info-value {
    color: var(--text-primary);
    font-weight: 600;
}


.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    width: 100%;
    position: relative;
}

.spinner {
    border: 4px solid rgba(6, 182, 212, 0.1);
    border-top-color: var(--accent-cyan);
    border-right-color: var(--accent-blue);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
    position: relative;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    border: 3px solid rgba(6, 182, 212, 0.2);
    border-top-color: var(--accent-teal);
    border-radius: 50%;
    animation: spin 1.2s linear infinite reverse;
}

.spinner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(6, 182, 212, 0.3);
    border-top-color: var(--accent-cyan);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-glass);
    color: var(--text-primary);
    min-width: 300px;
    animation: fadeIn 0.3s ease-out, slideInRight 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast.success {
    border-left: 4px solid var(--success-color);
    box-shadow: var(--shadow-glass), 0 0 20px rgba(16, 185, 129, 0.3);
}

.toast.error {
    border-left: 4px solid var(--danger-color);
    box-shadow: var(--shadow-glass), 0 0 20px rgba(239, 68, 68, 0.3);
}

.toast.info {
    border-left: 4px solid var(--accent-blue);
    box-shadow: var(--shadow-glass), 0 0 20px rgba(59, 130, 246, 0.3);
}

.toast.warning {
    border-left: 4px solid var(--warning-color);
    box-shadow: var(--shadow-glass), 0 0 20px rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


@media (max-width: 1024px) {
    .main-content {
        flex-direction: column;
        padding: 0.75rem;
    }
    
    .sidebar {
        width: 100%;
        max-width: 100%;
        position: static;
        top: auto;
        padding: 0.4rem;
        box-sizing: border-box;
    }
    
    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        overflow-x: auto;
        gap: 0.35rem;
    }
    
    .nav-link {
        white-space: nowrap;
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        min-height: 38px;
    }
    
    .nav-link .icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0.7rem;
    }
    
    #profile-modal .profile-modal-content {
        top: 100px !important;
        max-height: calc(100vh - 120px) !important;
        width: calc(100% - 1.6rem) !important;
        max-width: calc(100% - 1.6rem) !important;
    }
    
    .header-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .user-section {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.35rem;
    }
    
    .username-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
        min-height: 36px;
    }
    
    .balance-display {
        font-size: 0.8rem;
    }
    
    .page-title {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .card {
        padding: 0.85rem;
    }
    
    .stats-grid,
    .stats-grid-compact {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-card,
    .stat-card-compact {
        padding: 0.7rem;
    }
    
    .stat-card h3,
    .stat-card-compact h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .stat-value {
        font-size: 1.05rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .bots-grid {
        grid-template-columns: 1fr;
    }
    
    .toast-container {
        bottom: 0.6rem;
        right: 0.6rem;
        left: 0.6rem;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
        padding: 0.65rem;
        font-size: 0.8rem;
    }
    
    .sidebar {
        padding: 0.45rem;
        border-radius: 12px;
    }
    
    .nav-link {
        padding: 0.5rem 0.65rem;
        font-size: 0.7rem;
        min-height: 36px;
    }
    
    .nav-link .icon {
        width: 18px;
        height: 18px;
    }
    
    .main-content {
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .modal-content {
        padding: 1rem;
        margin: 0.4rem;
        max-width: calc(100% - 0.8rem);
        max-height: 88vh;
    }
    
    .modal-content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1rem;
    }
    
    .logo {
        width: 32px;
        height: 32px;
    }
    
    .header {
        padding: 0.4rem 0.6rem;
    }
    
    #profile-modal .profile-modal-content {
        top: 90px !important;
        max-height: calc(100vh - 110px) !important;
        width: calc(100% - 1.2rem) !important;
        max-width: calc(100% - 1.2rem) !important;
    }
    
    .header-content {
        gap: 0.4rem;
    }
    
    .username-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.5rem;
        min-height: 36px;
    }
    
    .balance-display {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        min-height: 40px;
        min-width: 40px;
    }
    
    .btn-secondary {
        padding: 0.55rem 0.85rem;
        font-size: 0.75rem;
        min-height: 40px;
    }
    
    .card {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .modal-content {
        padding: 1rem;
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
        max-height: 85vh;
    }
    
    .modal-close-btn {
        min-height: 44px;
        font-size: 0.9rem;
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .modal-content .form-group {
        margin-bottom: 0.75rem;
    }
    
    .modal-content .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    .modal-content .input {
        padding: 0.5rem 0.65rem;
        font-size: 0.75rem;
    }
    
    .modal-close-btn {
        min-height: 44px;
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
        margin-top: 0.75rem;
    }
    
    .modal-content {
        padding: 0.85rem;
        margin: 0.3rem;
        max-width: calc(100% - 0.6rem);
        max-height: 90vh;
    }
    
    .modal-content h2 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .modal-content .form-group {
        margin-bottom: 0.6rem;
    }
    
    .modal-content .form-group label {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .profile-modal-info {
        gap: 0.6rem;
        margin-top: 0.75rem;
    }
    
    .profile-modal-info .info-row {
        padding: 0.6rem 0.75rem;
    }
    
    .profile-modal-info .info-row .label {
        font-size: 0.8rem;
    }
    
    .profile-modal-info .info-row .value {
        font-size: 0.85rem;
    }
    
    .sidebar {
        padding: 0.3rem;
        border-radius: 10px;
    }
    
    .nav-menu {
        gap: 0.2rem;
    }
    
    .nav-link {
        padding: 0.45rem 0.55rem;
        font-size: 0.7rem;
        gap: 0.3rem;
        min-height: 36px;
    }
    
    .nav-link .icon {
        width: 16px;
        height: 16px;
    }
    
    .main-content {
        padding: 0.4rem;
        gap: 0.4rem;
    }
    
    .page-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .stat-card,
    .stat-card-compact {
        padding: 0.6rem;
    }
    
    .stat-card h3,
    .stat-card-compact h3 {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .stat-value {
        font-size: 0.95rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
    
    .log-item,
    .payout-item {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .payout-form-compact {
        gap: 0.5rem;
    }
    
    .form-group-inline {
        flex-direction: column;
        gap: 0.35rem;
        align-items: flex-start;
    }
    
    .form-group-inline > div {
        width: 100%;
        max-width: 100%;
    }
    
    .stats-grid,
    .stats-grid-compact {
        gap: 0.4rem;
    }
    
    .card h3 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .card {
        padding: 0.65rem;
    }
}


select.input {
    cursor: pointer;
}

select.input option {
    background: var(--bg-primary);
    color: var(--text-primary);
}


.payout-form-compact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-group-inline label {
    min-width: 120px;
    color: var(--text-secondary);
    font-weight: 500;
}


::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.8);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(50, 50, 50, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(70, 70, 70, 0.9);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}




.bot-tile {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 14px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.bot-tile:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
}

.bot-tile-username {
    color: var(--accent-cyan);
    font-size: 1.2rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(6, 182, 212, 0.4);
    letter-spacing: 0.5px;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
}


#bot-details-modal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


#admin-bot-modal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.bot-modal-content {
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bot-modal-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.bot-modal-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%);
    border-radius: 14px;
    border: 1px solid rgba(6, 182, 212, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.bot-modal-info .info-row:hover {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.bot-username-row {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(10, 10, 10, 0.9) 100%) !important;
    border-color: rgba(6, 182, 212, 0.4) !important;
    padding: 1.25rem 1.5rem !important;
}

.bot-username-row:hover {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.25) 0%, rgba(15, 15, 15, 0.95) 100%) !important;
    border-color: rgba(6, 182, 212, 0.6) !important;
}


.styled-value {
    color: var(--accent-cyan);
    font-weight: 600;
    background: rgba(6, 182, 212, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}


.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}


.toast-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    color: var(--text-secondary);
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.toast-close svg {
    width: 14px;
    height: 14px;
}


.admin-bot-tile {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 14px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.admin-bot-tile:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(6, 182, 212, 0.6);
    box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}


.balance-edit-input {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    width: 120px;
    text-align: right;
    transition: all 0.3s ease;
}

.balance-edit-input:focus {
    outline: none;
    border-color: rgba(6, 182, 212, 0.6);
    background: rgba(15, 15, 15, 0.95);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.balance-edit-input[type="select"],
.balance-edit-input select,
select.balance-edit-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2306b6d4' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2rem;
    cursor: pointer;
}

select.balance-edit-input option {
    background: rgba(10, 10, 10, 0.98);
    color: var(--text-primary);
    padding: 0.5rem;
}


.logs-filter-select {
    background: rgba(10, 10, 10, 0.9) !important;
    border: 2px solid rgba(6, 182, 212, 0.3) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    padding-right: 2.5rem !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%2306b6d4' d='M7 10L2 5h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    width: 100% !important;
}

.logs-filter-select:hover {
    border-color: rgba(6, 182, 212, 0.5) !important;
    background-color: rgba(15, 15, 15, 0.95) !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3) !important;
    transform: translateY(-2px) !important;
}

.logs-filter-select:focus {
    outline: none !important;
    border-color: rgba(6, 182, 212, 0.8) !important;
    background-color: rgba(20, 20, 20, 0.98) !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), 0 4px 12px rgba(6, 182, 212, 0.4) !important;
}

.logs-filter-select option {
    background: rgba(10, 10, 10, 0.98) !important;
    color: var(--text-primary) !important;
    padding: 0.75rem !important;
    padding-left: 2.5rem !important;
    border: none !important;
    font-weight: 500 !important;
    position: relative;
}


#filter-status option[data-icon="icon-success"] {
    background-image: url('/static/icons/icon-success.png') !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    background-size: 16px 16px !important;
}

#filter-status option[data-icon="icon-error"] {
    background-image: url('/static/icons/icon-error.png') !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    background-size: 16px 16px !important;
}

#filter-status option[data-icon="icon-pending"] {
    background-image: url('/static/icons/icon-pending.png') !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    background-size: 16px 16px !important;
}

.logs-filter-select option:hover {
    background: rgba(6, 182, 212, 0.2) !important;
}


.logs-filter-select option[data-icon="icon-bot"] {
    background-image: url('/static/icons/icon-bot.png') !important;
    background-repeat: no-repeat !important;
    background-position: left 0.75rem center !important;
    background-size: 16px 16px !important;
    padding-left: 2.5rem !important;
}

.logs-filter-select option:checked {
    background: rgba(6, 182, 212, 0.3) !important;
    color: var(--accent-cyan) !important;
    font-weight: 700 !important;
}


#otstuk-mode {
    background: rgba(10, 10, 10, 0.9) !important;
    border: 2px solid rgba(6, 182, 212, 0.3) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    padding-right: 2.5rem !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%2306b6d4' d='M7 10L2 5h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
}

#otstuk-mode:hover {
    border-color: rgba(6, 182, 212, 0.5) !important;
    background-color: rgba(15, 15, 15, 0.95) !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3) !important;
    transform: translateY(-2px) !important;
}

#otstuk-mode:focus {
    outline: none !important;
    border-color: rgba(6, 182, 212, 0.8) !important;
    background-color: rgba(20, 20, 20, 0.98) !important;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2), 0 4px 12px rgba(6, 182, 212, 0.4) !important;
}

#otstuk-mode option {
    background: rgba(10, 10, 10, 0.98) !important;
    color: var(--text-primary) !important;
    padding: 0.75rem !important;
    border: none !important;
    font-weight: 500 !important;
}

#otstuk-mode option:hover {
    background: rgba(6, 182, 212, 0.2) !important;
}

#otstuk-mode option:checked {
    background: rgba(6, 182, 212, 0.3) !important;
    color: var(--accent-cyan) !important;
    font-weight: 700 !important;
}


#payout-max-btn {
    background: rgba(6, 182, 212, 0.2) !important;
    border: 1px solid rgba(6, 182, 212, 0.4) !important;
    color: var(--accent-cyan) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px !important;
}

#payout-max-btn:hover {
    background: rgba(6, 182, 212, 0.3) !important;
    border-color: rgba(6, 182, 212, 0.6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3) !important;
}

#payout-max-btn:active {
    transform: translateY(0) !important;
}


#admin-create-bot-modal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


#confirm-modal {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


#broadcast-image-preview {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%);
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    margin-bottom: 1rem;
    animation: fadeIn 0.3s ease-in;
}

#broadcast-preview-img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}


.info-bot-card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.info-bot-card:hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.2);
}

.info-bot-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.info-bot-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-section {
    margin-bottom: 1rem;
}

.info-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.info-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.info-link-card {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    gap: 0.75rem;
}

.info-link-card:hover {
    background: rgba(20, 20, 20, 0.9);
    border-color: rgba(6, 182, 212, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
    color: var(--accent-cyan);
}

.info-link-text {
    flex: 1;
    font-weight: 500;
    font-size: 0.95rem;
}

.info-link-card:hover .info-link-text {
    color: var(--accent-cyan);
}


@media (max-width: 768px) {
    .info-links-grid {
        grid-template-columns: 1fr;
    }
    
    .info-bot-card {
        padding: 1rem;
    }
    
    .info-link-card {
        padding: 0.875rem 1rem;
    }
}

#broadcast-remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

#broadcast-remove-image:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.6);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.95) 0%, rgba(185, 28, 28, 0.95) 100%);
}

#broadcast-remove-image:active {
    transform: scale(0.95) rotate(90deg);
}


.otstuk-bot-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bot-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    transition: all 0.3s ease;
}

.bot-info-row:hover {
    background: rgba(15, 15, 15, 0.9);
    border-color: rgba(6, 182, 212, 0.4);
}

.bot-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bot-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
}


#otstuk-bot-username.bot-tile-username {
    white-space: normal !important;
    text-overflow: clip !important;
    overflow: visible !important;
    text-align: right !important;
    display: inline-block !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    font-size: 0.9rem !important;
}

#otstuk-status.bot-value {
    font-size: 0.85rem !important;
}




.skeleton {
    background: linear-gradient(90deg, 
        rgba(10, 10, 10, 0.8) 0%, 
        rgba(15, 15, 15, 0.9) 50%, 
        rgba(10, 10, 10, 0.8) 100%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-text {
    height: 1em;
    margin: 0.5rem 0;
}

.skeleton-card {
    height: 200px;
    margin-bottom: 1rem;
}


[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 0.75rem;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: var(--shadow-glass);
    border: 1px solid rgba(6, 182, 212, 0.3);
    margin-bottom: 0.5rem;
    animation: fadeIn 0.2s ease-out;
}

[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 5px);
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid rgba(6, 182, 212, 0.3);
    z-index: 1001;
}


.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-blue);
}

.breadcrumbs span {
    color: var(--text-muted);
}


.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.status-indicator.success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-indicator.success::before {
    background: var(--success-color);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-indicator.error {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-indicator.error::before {
    background: var(--danger-color);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.status-indicator.warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-indicator.warning::before {
    background: var(--warning-color);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.status-indicator.info {
    background: rgba(6, 182, 212, 0.15);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.status-indicator.info::before {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


.empty-state-enhanced {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state-enhanced .empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
    animation: float 3s ease-in-out infinite;
}

.empty-state-enhanced h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-state-enhanced p {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.empty-state-enhanced .empty-action {
    margin-top: 1.5rem;
}


.card-enhanced {
    position: relative;
    overflow: hidden;
}

.card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(6, 182, 212, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.card-enhanced:hover::before {
    left: 100%;
}


.form-group-enhanced {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group-enhanced .input-error {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.form-group-enhanced .input-success {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.form-error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-success-message {
    color: var(--success-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.search-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-box input {
    padding-left: 2.5rem;
}

.search-box::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 50%;
    width: 18px;
    height: 18px;
    background-image: url('/static/icons/icon-search.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.6;
    pointer-events: none;
}


.pagination-enhanced {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-enhanced .page-number {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-enhanced .page-number:hover:not(.active):not(:disabled) {
    background: rgba(30, 30, 30, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pagination-enhanced .page-number.active {
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.1);
    color: white;
}

.pagination-enhanced .page-number:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}


.chart-container-enhanced {
    position: relative;
    padding: 1.5rem;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 16px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.chart-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}


.modal-enhanced {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content-enhanced {
    animation: modalContentSlide 0.3s ease-out;
}

@keyframes modalContentSlide {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.text-gradient {
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.text-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-multiline-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon-only {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}


.list-enhanced {
    list-style: none;
}

.list-enhanced li {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.list-enhanced li:hover {
    background: rgba(6, 182, 212, 0.05);
    border-left: 3px solid var(--accent-cyan);
    padding-left: calc(1rem - 3px);
}

.list-enhanced li:last-child {
    border-bottom: none;
}


.table-enhanced {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table-enhanced th {
    text-align: left;
    padding: 1rem;
    background: rgba(10, 10, 10, 0.9);
    color: var(--text-primary);
    font-weight: 600;
    border-bottom: 2px solid rgba(6, 182, 212, 0.3);
}

.table-enhanced td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
}

.table-enhanced tr:hover {
    background: rgba(6, 182, 212, 0.05);
}

.table-enhanced tr:last-child td {
    border-bottom: none;
}


.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: rgba(6, 182, 212, 0.2);
    color: var(--accent-cyan);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.badge-success {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger-color);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning-color);
    border: 1px solid rgba(245, 158, 11, 0.3);
}


.divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    margin: 2rem 0;
}

.divider-vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    margin: 0 1rem;
}


.page-transition {
    animation: pageFadeIn 0.4s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(10, 10, 10, 0.9);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: rgba(50, 50, 50, 0.8);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: progressShimmer 1.5s infinite;
}

@keyframes progressShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}


.toast-enhanced {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 350px;
    max-width: 500px;
}

.toast-enhanced .toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-enhanced .toast-content {
    flex: 1;
}

.toast-enhanced .toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.toast-enhanced .toast-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.toast-enhanced .toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.toast-enhanced .toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}
