*{margin:0;padding:0;box-sizing:border-box}:root{--primary: #6366f1;--primary-dark: #4f46e5;--accent: #ec4899;--success: #22c55e;--warning: #f59e0b;--danger: #ef4444;--dark: #0f172a;--gray: #64748b;--light: #f8fafc;--white: #ffffff;--border: #e2e8f0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:var(--light);color:var(--dark);line-height:1.6}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary),var(--accent));padding:2rem}.auth-card{background:#fff;border-radius:24px;padding:3rem;max-width:480px;width:100%;box-shadow:0 20px 60px #0003}.auth-logo{text-align:center;margin-bottom:2rem}.auth-logo h1{font-size:2rem;font-weight:900;background:linear-gradient(135deg,var(--primary),var(--accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:.5rem}.auth-logo p{color:var(--gray);font-size:.95rem}.auth-divider{display:flex;align-items:center;margin:2rem 0;color:var(--gray);font-size:.875rem}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:1px;background:var(--border)}.auth-divider span{padding:0 1rem}.btn{width:100%;padding:.875rem 1.5rem;border-radius:12px;font-weight:600;font-size:.95rem;border:none;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:.75rem;text-decoration:none}.btn-primary{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 25px #6366f14d}.btn-outline{background:#fff;border:2px solid var(--border);color:var(--dark)}.btn-outline:hover{border-color:var(--primary);color:var(--primary)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#dc2626}.dashboard{min-height:100vh;display:flex;flex-direction:column}.header{background:#fff;border-bottom:1px solid var(--border);padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100}.header-left{display:flex;align-items:center;gap:2rem}.logo{font-size:1.5rem;font-weight:900;background:linear-gradient(135deg,var(--primary),var(--accent));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.nav-tabs{display:flex;gap:.5rem}.nav-tab{padding:.5rem 1rem;border-radius:8px;font-weight:500;color:var(--gray);cursor:pointer;transition:all .2s;border:none;background:transparent}.nav-tab:hover{background:var(--light);color:var(--dark)}.nav-tab.active{background:var(--primary);color:#fff}.header-right{display:flex;align-items:center;gap:1rem}.user-menu{position:relative}.user-button{display:flex;align-items:center;gap:.75rem;padding:.5rem 1rem;border-radius:12px;border:2px solid var(--border);background:#fff;cursor:pointer;transition:all .2s}.user-button:hover{border-color:var(--primary)}.user-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent));display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-size:.875rem}.dropdown{position:absolute;top:calc(100% + .5rem);right:0;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 30px #0000001a;min-width:200px;overflow:hidden}.dropdown-item{padding:.75rem 1rem;cursor:pointer;transition:background .2s;border:none;width:100%;text-align:left;background:#fff;color:var(--dark);font-size:.95rem}.dropdown-item:hover{background:var(--light)}.dropdown-divider{height:1px;background:var(--border)}.main{flex:1;padding:2rem;max-width:1400px;margin:0 auto;width:100%}.page-header{margin-bottom:2rem}.page-header h2{font-size:2rem;font-weight:800;color:var(--dark);margin-bottom:.5rem}.page-header p{color:var(--gray)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;margin-bottom:2rem}.stat-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:1.5rem;transition:all .3s}.stat-card:hover{box-shadow:0 10px 30px #00000014;transform:translateY(-2px)}.stat-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem}.stat-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:1.5rem}.stat-value{font-size:2rem;font-weight:900;color:var(--dark);margin-bottom:.25rem}.stat-label{color:var(--gray);font-size:.875rem}.stat-change{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:6px;font-size:.75rem;font-weight:600;margin-top:.5rem}.stat-change.positive{background:#dcfce7;color:#16a34a}.stat-change.negative{background:#fee2e2;color:#dc2626}.card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:1.5rem;margin-bottom:1.5rem}.card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.card-title{font-size:1.25rem;font-weight:700;color:var(--dark)}.form-group{margin-bottom:1.5rem}.form-label{display:block;font-weight:600;color:var(--dark);margin-bottom:.5rem;font-size:.875rem}.form-input{width:100%;padding:.75rem 1rem;border:2px solid var(--border);border-radius:10px;font-size:.95rem;transition:all .2s;background:#fff}.form-input:focus{outline:none;border-color:var(--primary)}.form-input:disabled{background:var(--light);cursor:not-allowed}.api-keys-list{display:flex;flex-direction:column;gap:1rem}.api-key-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;background:var(--light);border-radius:12px;border:1px solid var(--border)}.api-key-info{flex:1}.api-key-name{font-weight:600;color:var(--dark);margin-bottom:.25rem}.api-key-value{font-family:monospace;color:var(--gray);font-size:.875rem}.api-key-actions{display:flex;gap:.5rem}.btn-small{padding:.5rem 1rem;font-size:.875rem;border-radius:8px}.badge{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:6px;font-size:.75rem;font-weight:600}.badge-success{background:#dcfce7;color:#16a34a}.badge-warning{background:#fef3c7;color:#d97706}.badge-info{background:#dbeafe;color:#2563eb}.empty-state{text-align:center;padding:3rem 2rem}.empty-state-icon{font-size:3rem;margin-bottom:1rem;opacity:.5}.empty-state h3{font-size:1.25rem;font-weight:700;color:var(--dark);margin-bottom:.5rem}.empty-state p{color:var(--gray);margin-bottom:1.5rem}.modal-backdrop{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.modal{background:#fff;border-radius:20px;padding:2rem;max-width:500px;width:100%;box-shadow:0 20px 60px #0000004d}.modal-header{margin-bottom:1.5rem}.modal-title{font-size:1.5rem;font-weight:800;color:var(--dark)}.modal-actions{display:flex;gap:1rem;margin-top:1.5rem}@media(max-width:768px){.header{padding:1rem}.header-left{flex-direction:column;gap:1rem}.main{padding:1rem}.stats-grid{grid-template-columns:1fr}.api-key-item{flex-direction:column;align-items:flex-start;gap:1rem}}
