@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";.login-page{background:linear-gradient(135deg,#0a0c10 0%,#111820 100%);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex}.login-container{background:#111820;border:1px solid #1e293b;border-radius:20px;width:100%;max-width:420px;padding:40px;box-shadow:0 25px 50px -12px #00000080}.login-header{text-align:center;margin-bottom:32px}.login-logo{background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:20px;justify-content:center;align-items:center;width:80px;height:80px;margin:0 auto 24px;display:flex;box-shadow:0 10px 30px #3b82f64d}.login-logo .logo-icon{color:#fff}.login-header h1{color:#f8fafc;margin-bottom:8px;font-size:1.75rem;font-weight:800}.login-header p{color:#64748b;font-size:.95rem}.error-message{color:#ef4444;background:#ef44441a;border:1px solid #ef444433;border-radius:10px;margin-bottom:20px;padding:12px 16px;font-size:.9rem}.login-form{flex-direction:column;gap:20px;display:flex}.input-icon{color:#64748b;pointer-events:none;position:absolute;left:14px}.input-wrapper input{color:#f8fafc;background:#0a0c10;border:1px solid #1e293b;border-radius:10px;width:100%;font-size:.95rem;transition:all .2s;padding:12px 35px!important}.input-wrapper input:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.input-wrapper input::placeholder{color:#475569}.toggle-password{color:#64748b;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;transition:color .2s;display:flex;position:absolute;right:14px}.toggle-password:hover{color:#94a3b8}.submit-btn{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:10px;width:100%;margin-top:8px;padding:14px;font-size:1rem;font-weight:600;transition:all .2s}.submit-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 30px #3b82f64d}.submit-btn:disabled{opacity:.7;cursor:not-allowed}.loading{justify-content:center;align-items:center;gap:8px;display:flex}.login-footer{text-align:center;margin-top:24px}.login-footer p{color:#64748b;margin-bottom:8px;font-size:.9rem}.toggle-btn{color:#3b82f6;cursor:pointer;background:0 0;border:none;font-weight:600;transition:color .2s}.toggle-btn:hover{color:#60a5fa;text-decoration:underline}@media (width<=480px){.login-container{padding:32px 24px}.form-row{grid-template-columns:1fr}}.dashboard{flex-direction:column;gap:24px;display:flex}.dashboard-loading{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:64px;display:flex}@keyframes spin{to{transform:rotate(360deg)}}.stats-grid{grid-template-columns:repeat(4,1fr);gap:20px;display:grid}.stat-card{background:#111820;border:1px solid #1e293b;border-radius:16px;padding:24px;transition:transform .2s,box-shadow .2s}.stat-card:hover{transform:translateY(-4px);box-shadow:0 10px 30px #0000004d}.stat-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.stat-icon{border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.stat-trend{border-radius:6px;align-items:center;gap:4px;padding:4px 8px;font-size:.875rem;font-weight:600;display:flex}.stat-trend.up{color:#10b981;background:#10b9811a}.stat-trend.down{color:#ef4444;background:#ef44441a}.stat-value{color:#f8fafc;margin-bottom:4px;font-size:2rem;font-weight:800}.stat-label{color:#64748b;font-size:.9rem}.dashboard-grid{grid-template-columns:2fr 1fr;gap:24px;display:grid}.dashboard-card{background:#111820;border:1px solid #1e293b;border-radius:16px;overflow:hidden}.card-header{border-bottom:1px solid #1e293b;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.view-all{color:#3b82f6;font-size:.875rem;font-weight:500;text-decoration:none;transition:color .2s}.view-all:hover{color:#60a5fa}.transaction-list{padding:8px}.transaction-item{border-radius:10px;justify-content:space-between;align-items:center;padding:16px;transition:background .2s;display:flex}.transaction-item:hover{background:#1e293b80}.tx-info{flex-direction:column;gap:4px;display:flex}.tx-pair{color:#f8fafc;align-items:center;gap:8px;font-weight:600;display:flex}.tx-from,.tx-to{font-weight:700}.tx-arrow{color:#64748b}.tx-amount{color:#94a3b8;font-size:.875rem}.tx-status{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.tx-time{color:#64748b;font-size:.75rem}.user-list{padding:8px}.user-item{border-radius:10px;align-items:center;gap:12px;padding:12px 16px;transition:background .2s;display:flex}.user-item:hover{background:#1e293b80}.user-avatar-sm{color:#fff;background:linear-gradient(135deg,#7c3aed,#6d28d9);border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:.9rem;font-weight:600;display:flex}.user-info-sm{flex-direction:column;flex:1;gap:2px;display:flex}.user-name-sm{color:#f8fafc;font-size:.9rem;font-weight:600}.user-email-sm{color:#64748b;font-size:.8rem}.user-role-badge{text-transform:uppercase;border-radius:6px;padding:4px 10px;font-size:.7rem;font-weight:600}.user-role-badge.admin{color:#ef4444;background:#ef44441a}.user-role-badge.user{color:#3b82f6;background:#3b82f61a}.user-role-badge.guest{color:#64748b;background:#64748b1a}.system-status{margin-top:0}.status-grid{grid-template-columns:repeat(4,1fr);gap:16px;padding:20px 24px;display:grid}.status-item{background:#1e293b80;border-radius:10px;align-items:center;gap:12px;padding:16px;display:flex}.status-indicator{border-radius:50%;width:10px;height:10px}.status-indicator.online{background:#10b981;box-shadow:0 0 10px #10b981}.status-indicator.offline{background:#ef4444}.status-item span{color:#94a3b8;font-size:.9rem}.status-text{margin-left:auto;font-weight:600;color:#10b981!important}@media (width<=1200px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.status-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=640px){.stats-grid,.status-grid{grid-template-columns:1fr}}.transactions-page{flex-direction:column;gap:24px;display:flex}.header-left{align-items:center;gap:16px;display:flex}.header-left h2{color:#f8fafc;font-size:1.5rem;font-weight:700}.ws-status{border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:.75rem;font-weight:600;display:flex}.ws-status.connected{color:#10b981;background:#10b9811a}.ws-status.disconnected{color:#ef4444;background:#ef44441a}.ws-dot{background:currentColor;border-radius:50%;width:6px;height:6px;animation:2s infinite pulse}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.mono{font-family:SF Mono,monospace;font-size:.85rem}.currency-pair{color:#f8fafc;font-weight:600}.status-badge{text-transform:capitalize;border-radius:6px;padding:4px 10px;font-size:.75rem;font-weight:600}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.form-group input:disabled{opacity:.6;cursor:not-allowed}@media (width<=1024px){.data-table{font-size:.85rem}.data-table th,.data-table td{padding:12px}}@media (width<=768px){.filters-bar{flex-wrap:wrap}.search-box{width:100%;max-width:100%}.form-row{grid-template-columns:1fr}}.users-page{flex-direction:column;gap:24px;display:flex}.filters-bar{align-items:center;gap:12px;display:flex}.search-box{flex:1;max-width:400px;position:relative}.search-icon{color:#64748b;position:absolute;top:50%;left:14px;transform:translateY(-50%)}.search-box input{color:#f8fafc;background:#111820;border:1px solid #1e293b;border-radius:10px;width:100%;padding:10px 14px 10px 42px;font-size:.9rem}.search-box input:focus{border-color:#3b82f6;outline:none}.filter-group{color:#94a3b8;background:#111820;border:1px solid #1e293b;border-radius:10px;align-items:center;gap:8px;padding:10px 14px;display:flex}.filter-group select{color:#f8fafc;cursor:pointer;background:0 0;border:none;min-width:120px;font-size:.9rem}.filter-group select:focus{outline:none}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 30px #3b82f64d}.btn-secondary{color:#94a3b8;cursor:pointer;background:#1e293b;border:1px solid #334155;border-radius:10px;align-items:center;gap:8px;padding:10px 18px;font-weight:600;transition:all .2s;display:flex}.btn-secondary:hover{color:#f8fafc;background:#334155}.btn-icon{color:#94a3b8;cursor:pointer;background:#111820;border:1px solid #1e293b;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex}.btn-icon:hover{color:#f8fafc;background:#1e293b}.spinning{animation:1s linear infinite spin}.table-container{background:#111820;border:1px solid #1e293b;border-radius:16px;overflow:hidden}.data-table{border-collapse:collapse;width:100%}.data-table th{text-align:left;color:#64748b;text-transform:uppercase;letter-spacing:.05em;background:#0a0c10;border-bottom:1px solid #1e293b;padding:16px;font-size:.8rem;font-weight:600}.data-table td{color:#e2e8f0;border-bottom:1px solid #1e293b;padding:16px;font-size:.9rem}.data-table tr:last-child td{border-bottom:none}.data-table tr:hover td{background:#1e293b4d}.user-cell{align-items:center;gap:12px;display:flex}.user-info{flex-direction:column;gap:2px;display:flex}.user-name{color:#f8fafc;font-weight:600}.user-email{color:#64748b;font-size:.8rem}.role-badge{text-transform:capitalize;border-radius:6px;align-items:center;gap:4px;padding:4px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.status-indicator{border-radius:6px;padding:4px 10px;font-size:.75rem;font-weight:600}.status-indicator.active{color:#10b981;background:#10b9811a}.status-indicator.inactive{color:#ef4444;background:#ef44441a}.action-btns{gap:8px;display:flex}.action-btn{cursor:pointer;background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;transition:all .2s;display:flex}.action-btn.edit{color:#3b82f6}.action-btn.edit:hover{background:#3b82f61a}.action-btn.delete{color:#ef4444}.action-btn.delete:hover{background:#ef44441a}.empty-cell{text-align:center}.empty-state{color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:40px;display:flex}.empty-state p{font-size:.9rem}.role-select{cursor:pointer}.role-select option[value=admin]{color:#ef4444;font-weight:600}.role-badge-preview{border-radius:6px;align-items:center;gap:6px;margin-top:8px;padding:6px 12px;font-size:.8rem;font-weight:600;display:inline-flex}.role-badge-preview.admin{color:#ef4444;background:#ef44441a}.field-hint{color:#64748b;margin-left:8px;font-size:.75rem;font-weight:400}.modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#000c;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:#111820;border:1px solid #1e293b;border-radius:16px;width:100%;max-width:480px;animation:.3s slideUp;overflow:hidden}.modal-header{border-bottom:1px solid #1e293b;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-header h3{color:#f8fafc;font-size:1.1rem;font-weight:700}.close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;transition:color .2s;display:flex}.close-btn:hover{color:#f8fafc}.modal-body{flex-direction:column;gap:16px;padding:24px;display:flex}.modal-footer{background:#0a0c10;border-top:1px solid #1e293b;justify-content:flex-end;gap:12px;padding:16px 24px;display:flex}.input-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:#64748b;position:absolute;left:14px}.input-wrapper input{width:100%;padding-left:42px}.checkbox-group{flex-direction:row;align-items:center}.checkbox-label{cursor:pointer;color:#e2e8f0;align-items:center;gap:10px;display:flex}.checkbox-label input[type=checkbox]{accent-color:#3b82f6;cursor:pointer;width:20px;height:20px}@media (width<=1024px){.data-table{font-size:.85rem}.data-table th,.data-table td{padding:12px}}@media (width<=768px){.filters-bar{flex-wrap:wrap}.search-box{width:100%;max-width:100%}.form-row{grid-template-columns:1fr}}.settings-page{flex-direction:column;gap:24px;display:flex}.page-header{justify-content:space-between;align-items:center;display:flex}.page-header h2{color:#f8fafc;font-size:1.5rem;font-weight:700}.btn-primary{color:#fff;cursor:pointer;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:10px;align-items:center;gap:8px;padding:10px 18px;font-weight:600;transition:all .2s;display:flex}.btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 30px #3b82f64d}.btn-primary:disabled{opacity:.7;cursor:not-allowed}.settings-grid{grid-template-columns:repeat(2,1fr);gap:24px;display:grid}.settings-card{background:#111820;border:1px solid #1e293b;border-radius:16px;overflow:hidden}.settings-card.danger{border-color:#ef44444d}.card-header{background:#0a0c10;border-bottom:1px solid #1e293b;align-items:center;gap:12px;padding:20px 24px;display:flex}.card-header h3{color:#f8fafc;font-size:1rem;font-weight:700}.settings-card.danger .card-header{background:#ef44440d;border-color:#ef444433}.settings-card.danger .card-header h3{color:#ef4444}.card-body{flex-direction:column;gap:20px;padding:24px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-group label{color:#94a3b8;font-size:.875rem;font-weight:600}.form-group input,.form-group select{color:#f8fafc;background:#0a0c10;border:1px solid #1e293b;border-radius:10px;padding:12px 14px;font-size:.95rem;transition:all .2s}.form-group input:focus,.form-group select:focus{border-color:#3b82f6;outline:none;box-shadow:0 0 0 3px #3b82f61a}.field-hint{color:#64748b;font-size:.8rem}.checkbox-group{flex-direction:row}.checkbox-label{cursor:pointer;align-items:flex-start;gap:12px;display:flex}.checkbox-label input[type=checkbox]{accent-color:#3b82f6;cursor:pointer;width:20px;height:20px;margin-top:2px}.checkbox-content{flex-direction:column;gap:4px;display:flex}.checkbox-title{color:#f8fafc;font-weight:600}.checkbox-description{color:#64748b;font-size:.85rem}.security-info{flex-direction:column;gap:16px;display:flex}.info-item{background:#0a0c10;border-radius:10px;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.info-label{color:#94a3b8;font-size:.9rem}.info-value{color:#f8fafc;font-weight:600}.info-value.enabled{color:#10b981}.danger-item{justify-content:space-between;align-items:center;gap:16px;display:flex}.danger-item>div{flex-direction:column;gap:4px;display:flex}.danger-title{color:#f8fafc;font-weight:600}.danger-description{color:#64748b;font-size:.85rem}.btn-danger{color:#ef4444;cursor:pointer;white-space:nowrap;background:#ef44441a;border:1px solid #ef44444d;border-radius:10px;padding:10px 18px;font-weight:600;transition:all .2s}.btn-danger:hover{background:#ef444433}@media (width<=1024px){.settings-grid{grid-template-columns:1fr}}@media (width<=640px){.form-row{grid-template-columns:1fr}.danger-item{flex-direction:column;align-items:flex-start}}.admin-layout{color:#e2e8f0;background:#0a0c10;min-height:100vh;display:flex}.sidebar{z-index:100;background:#111820;border-right:1px solid #1e293b;flex-direction:column;width:260px;height:100vh;display:flex;position:fixed;top:0;left:0}.sidebar-header{border-bottom:1px solid #1e293b;justify-content:space-between;align-items:center;padding:20px;display:flex}.logo{align-items:center;gap:12px;display:flex}.logo-icon{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb);border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;font-size:1.2rem;font-weight:700;display:flex}.logo span{color:#f8fafc;font-size:1.1rem;font-weight:700}.connection-status{border-radius:6px;justify-content:center;align-items:center;padding:6px;display:flex}.connection-status.connected{color:#10b981;background:#10b9811a}.connection-status.disconnected{color:#ef4444;background:#ef44441a}.sidebar-nav{flex-direction:column;flex:1;gap:4px;padding:16px 12px;display:flex}.nav-item{color:#94a3b8;border-radius:10px;align-items:center;gap:12px;padding:12px 16px;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.nav-item:hover{color:#e2e8f0;background:#3b82f61a}.nav-item.active{color:#fff;background:linear-gradient(135deg,#3b82f6,#2563eb)}.sidebar-footer{border-top:1px solid #1e293b;padding:16px}.user-info{background:#1e293b80;border-radius:10px;align-items:center;gap:12px;margin-bottom:12px;padding:12px;display:flex}.user-avatar{color:#fff;background:linear-gradient(135deg,#7c3aed,#6d28d9);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.9rem;font-weight:600;display:flex}.user-details{flex-direction:column;gap:2px;display:flex}.user-name{color:#f8fafc;font-size:.9rem;font-weight:600}.user-role{color:#64748b;text-transform:capitalize;font-size:.75rem}.logout-btn{color:#ef4444;cursor:pointer;background:#ef44441a;border:1px solid #ef444433;border-radius:8px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px;font-weight:500;transition:all .2s;display:flex}.logout-btn:hover{background:#ef444433}.main-content{flex-direction:column;flex:1;margin-left:260px;display:flex}.top-header{z-index:50;background:#111820;border-bottom:1px solid #1e293b;justify-content:space-between;align-items:center;height:70px;padding:0 32px;display:flex;position:sticky;top:0}.page-title{color:#f8fafc;font-size:1.5rem;font-weight:700}.header-actions{align-items:center;gap:12px;display:flex}.icon-btn{color:#94a3b8;cursor:pointer;background:0 0;border:1px solid #1e293b;border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;position:relative}.icon-btn:hover{color:#e2e8f0;background:#3b82f61a;border-color:#3b82f6}.badge{color:#fff;background:#ef4444;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:.65rem;font-weight:700;display:flex;position:absolute;top:-4px;right:-4px}.content-area{flex:1;padding:32px;overflow-y:auto}.loading-screen{color:#94a3b8;background:#0a0c10;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100vh;display:flex}.spinner{border:3px solid #1e293b;border-top-color:#3b82f6;border-radius:50%;width:40px;height:40px;animation:1s linear infinite spin}@media (width<=768px){.sidebar{width:70px}.sidebar-header span,.nav-item span,.user-details,.logout-btn span{display:none}.main-content{margin-left:70px}.logo{justify-content:center}.nav-item{justify-content:center;padding:12px}.user-info{justify-content:center;padding:8px}.logout-btn{padding:10px}}:root{--color-bg-primary:#0a0c10;--color-bg-secondary:#111820;--color-bg-tertiary:#1e293b;--color-text-primary:#f8fafc;--color-text-secondary:#e2e8f0;--color-text-muted:#94a3b8;--color-text-disabled:#64748b;--color-primary:#3b82f6;--color-primary-dark:#2563eb;--color-success:#10b981;--color-warning:#f59e0b;--color-error:#ef4444;--border-color:#1e293b;--radius-sm:6px;--radius-md:10px;--radius-lg:16px;--radius-xl:20px;--space-xs:4px;--space-sm:8px;--space-md:12px;--space-lg:16px;--space-xl:24px;--space-2xl:32px;--space-3xl:48px}*{box-sizing:border-box;margin:0;padding:0}body{background:var(--color-bg-primary);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5}#root{min-height:100vh}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--color-bg-secondary)}::-webkit-scrollbar-thumb{background:var(--color-bg-tertiary);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#334155}::selection{color:var(--color-text-primary);background:#3b82f64d}.text-gradient{background:linear-gradient(135deg,#3b82f6,#8b5cf6);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
