*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,sans-serif;background:#0f172a;color:#e2e8f0;min-height:100vh}a{color:#a78bfa;text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer;font-family:inherit}.logo-brand{font-weight:700;font-size:24px;letter-spacing:-.5px;text-align:center;margin-bottom:8px}.logo-zylo{color:#fff}.logo-tv{color:#06b6d4}input,select{font-family:inherit}.auth-container{display:flex;align-items:center;justify-content:center;min-height:100vh;padding:20px}.auth-card{background:#1e293b;border-radius:16px;padding:40px;width:100%;max-width:420px;box-shadow:0 20px 60px #00000080}.auth-card h1{font-size:24px;font-weight:700;color:#a78bfa;text-align:center;margin-bottom:8px}.auth-card .subtitle{text-align:center;color:#94a3b8;margin-bottom:24px;font-size:14px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:13px;font-weight:500;color:#94a3b8;margin-bottom:6px}.form-group input,.form-group select{width:100%;padding:12px 16px;background:#0f172a;border:1px solid #334155;border-radius:10px;color:#e2e8f0;font-size:14px;outline:none;transition:border-color .2s}.form-group input:focus,.form-group select:focus{border-color:#a78bfa}.btn-primary{width:100%;padding:14px;background:linear-gradient(135deg,#7c3aed,#6d28d9);border:none;border-radius:10px;color:#fff;font-size:15px;font-weight:600;transition:opacity .2s}.btn-primary:hover{opacity:.9}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.error-msg{background:#ef444426;color:#f87171;padding:10px 14px;border-radius:8px;font-size:13px;display:none;margin-bottom:12px}.success-msg{background:#10b98126;color:#34d399;padding:10px 14px;border-radius:8px;font-size:13px;display:none;margin-bottom:12px}.panel-layout{display:flex;min-height:100vh}.sidebar{width:260px;background:#1e293b;display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:10}.sidebar-header{padding:24px 20px;background:linear-gradient(135deg,#7c3aed22,#6d28d922)}.sidebar-header h2{font-size:18px;font-weight:700;color:#a78bfa}.sidebar-header .user-name{font-size:13px;color:#94a3b8;margin-top:6px}.sidebar-nav{flex:1;padding:16px 0;overflow-y:auto}.sidebar-nav a{display:flex;align-items:center;gap:10px;padding:12px 20px;color:#94a3b8;font-size:14px;font-weight:500;transition:all .15s}.sidebar-nav a:hover,.sidebar-nav a.active{background:#7c3aed22;color:#a78bfa;text-decoration:none}.sidebar-nav a .icon{font-size:18px}.sidebar-footer{padding:16px 20px;border-top:1px solid #334155}.sidebar-footer a{color:#94a3b8;font-size:14px}.sidebar-footer a:hover{color:#f87171}.main-content{margin-left:260px;padding:32px;flex:1;width:calc(100% - 260px)}.main-content h1{font-size:24px;font-weight:700;margin-bottom:20px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:#1e293b;border-radius:12px;padding:20px}.stat-card .label{font-size:12px;color:#64748b;font-weight:500;text-transform:uppercase;margin-bottom:8px}.stat-card .value{font-size:28px;font-weight:700}.stat-card .value.green{color:#10b981}.stat-card .value.cyan{color:#06b6d4}.stat-card .value.purple{color:#a78bfa}.stat-card .value.yellow{color:#eab308}.stat-card .value.red{color:#ef4444}.table-container{background:#1e293b;border-radius:12px;overflow:hidden;margin-bottom:24px}.table-header{padding:16px 20px;border-bottom:1px solid #334155}.table-header h3{font-size:16px;font-weight:600}table{width:100%;border-collapse:collapse}thead th{text-align:left;padding:12px 16px;font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;background:#0f172a40}tbody td{padding:12px 16px;font-size:13px;border-top:1px solid #334155}tbody tr:hover{background:#ffffff08}.badge{padding:4px 10px;border-radius:20px;font-size:11px;font-weight:600}.badge-green{background:#10b98133;color:#34d399}.badge-red{background:#ef444433;color:#f87171}.badge-yellow{background:#eab30833;color:#eab308}.badge-blue{background:#3b82f633;color:#60a5fa}.ref-card{background:#1e293b;border-radius:12px;padding:24px;margin-bottom:24px}.ref-card h3{font-size:16px;font-weight:600;margin-bottom:12px}.plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.plan-card{background:#1e293b;border-radius:12px;padding:20px;border:1px solid #334155}.plan-card .plan-tier{font-size:11px;color:#a78bfa;font-weight:600;text-transform:uppercase;margin-bottom:6px}.plan-card h4{font-size:16px;font-weight:600;margin-bottom:8px}.plan-card .plan-price{font-size:22px;font-weight:700;color:#10b981}.plan-card .plan-price span{font-size:13px;color:#64748b;font-weight:400}.plan-card .plan-commission{margin-top:12px;padding-top:12px;border-top:1px solid #334155}.plan-card .plan-commission .earn{font-size:13px;color:#94a3b8}.btn-sm{padding:6px 10px;border:none;border-radius:6px;font-size:12px;font-weight:600;color:#fff}.btn-info{background:#0ea5e9}.btn-info:hover{background:#0284c7}.btn-success{background:#10b981}.btn-success:hover{background:#059669}.btn-danger{background:#ef4444}.btn-danger:hover{background:#dc2626}.loading{display:inline-block;width:20px;height:20px;border:3px solid #334155;border-top:3px solid #a78bfa;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:768px){.sidebar{width:200px}.main-content{margin-left:200px;padding:20px;width:calc(100% - 200px)}.stats-grid{grid-template-columns:1fr 1fr}}
