.input-group{margin-bottom:1.2rem;display:flex;flex-direction:column}.input-label{font-size:.95rem;font-weight:600;margin-bottom:.5rem;color:#333}.required{color:#e74c3c;margin-left:.25rem}.input-field{padding:.75rem 1rem;border:2px solid #e0e6f2;border-radius:6px;font-size:1rem;font-family:inherit;transition:all .3s ease;background-color:#fff;width:100%;box-sizing:border-box}.input-field:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.input-field:hover{border-color:#ccc}.input-field.input-error{border-color:#e74c3c;background-color:#fef5f5}.input-field:disabled{background-color:#f5f5f5;color:#999;cursor:not-allowed}.error-message{color:#e74c3c;font-size:.85rem;margin-top:.4rem}.btn{border:none;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:inherit}.btn-small{padding:.5rem 1rem;font-size:.85rem}.btn-medium{padding:.75rem 1.5rem;font-size:1rem}.btn-large{padding:1rem 2rem;font-size:1.1rem;width:100%}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 15px #667eea66}.btn-primary:hover:not(:disabled){box-shadow:0 6px 20px #667eea99;transform:translateY(-2px)}.btn-secondary{background-color:#f0f0f0;color:#333;border:2px solid #e0e0e0}.btn-secondary:hover:not(:disabled){background-color:#e8e8e8;border-color:#d0d0d0}.btn-danger{background-color:#e74c3c;color:#fff}.btn-danger:hover:not(:disabled){background-color:#c0392b}.btn:disabled{opacity:.6;cursor:not-allowed}.btn.loading{opacity:.8}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.alert{padding:1rem;border-radius:6px;display:flex;align-items:center;gap:.75rem;margin-bottom:1rem;animation:slideDown .3s ease;font-weight:500}.alert-icon{font-size:1.2rem;flex-shrink:0}.alert-message{flex:1}.alert-close{background:none;border:none;font-size:1.5rem;cursor:pointer;opacity:.7;transition:opacity .2s;padding:0;margin-left:.5rem}.alert-close:hover{opacity:1}.alert-error{background-color:#fadbd8;color:#c0392b;border-left:4px solid #e74c3c}.alert-success{background-color:#d5f4e6;color:#27ae60;border-left:4px solid #2ecc71}.alert-warning{background-color:#fef9e7;color:#d68910;border-left:4px solid #f39c12}.alert-info{background-color:#d6eaf8;color:#2980b9;border-left:4px solid #3498db}.auth-container{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top right,rgba(102,126,234,.2),transparent 18%),radial-gradient(circle at bottom left,rgba(118,75,162,.18),transparent 22%),#f5f6fa;padding:20px;overflow:hidden}.auth-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;pointer-events:none}.auth-shape{position:absolute;border-radius:28px;filter:blur(28px);transform:rotate(18deg);opacity:.82}.auth-shape:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;box-shadow:inset 0 0 0 1px #ffffff1f}.auth-card:before{content:"";position:absolute;top:0;left:0;right:0;height:6px;border-radius:28px 28px 0 0;background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%)}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.auth-container.auth-login,.auth-container.auth-signup,.auth-container.auth-terms-page{background:transparent}.auth-login .auth-scene .auth-shape-1{width:260px;height:260px;top:8%;left:-6%;background:#3b82f642}.auth-login .auth-scene .auth-shape-2{width:180px;height:180px;top:18%;right:12%;background:#0ea5e933}.auth-login .auth-scene .auth-shape-3{width:420px;height:260px;bottom:10%;left:18%;background:radial-gradient(circle at 30% 30%,rgba(99,102,241,.18),transparent 68%)}.auth-signup .auth-scene .auth-shape-1{width:240px;height:240px;top:6%;right:-8%;background:#a855f738}.auth-signup .auth-scene .auth-shape-2{width:220px;height:220px;top:20%;left:10%;background:#ec48992e}.auth-signup .auth-scene .auth-shape-3{width:360px;height:240px;bottom:12%;right:16%;background:radial-gradient(circle at 70% 30%,rgba(168,85,247,.18),transparent 72%)}.auth-terms-page .auth-scene .auth-shape-1{width:300px;height:300px;top:12%;left:-10%;background:#10b9812e}.auth-terms-page .auth-scene .auth-shape-2{width:200px;height:200px;top:26%;right:8%;background:#22c55e2e}.auth-terms-page .auth-scene .auth-shape-3{width:420px;height:220px;bottom:8%;left:14%;background:radial-gradient(circle at 24% 40%,rgba(16,185,129,.14),transparent 74%)}.auth-container:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 10% 15%,rgba(59,130,246,.16),transparent 20%),radial-gradient(circle at 90% 20%,rgba(236,72,153,.12),transparent 18%),linear-gradient(135deg,#ffffff0d,#fff0);z-index:0}.auth-card{position:relative;z-index:2;background:#fffffff5;border-radius:28px;box-shadow:0 24px 80px #0f172a14;padding:2.5rem;width:100%;max-width:500px;animation:slideUp .45s ease;border:1px solid rgba(102,126,234,.14)}.auth-header{text-align:center;margin-bottom:2rem}.auth-header h1{font-size:2.1rem;color:var(--text-primary);margin:0 0 .5rem}.auth-header p{color:var(--text-muted);margin:0;font-size:1rem}.auth-form{margin-bottom:1.5rem}.auth-terms{background:#f5f7ffeb;border:1px solid rgba(102,126,234,.16);border-radius:22px;padding:1.4rem;margin-bottom:1.5rem;max-height:280px;overflow-y:auto}.auth-terms-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.auth-terms h3{margin:0;font-size:1.05rem;color:var(--text-primary)}.auth-terms span{color:var(--text-muted);font-size:.88rem}.auth-terms p,.auth-terms ul{color:var(--text-secondary);font-size:.94rem;line-height:1.7;margin:0}.auth-terms ul{list-style:disc inside;margin-top:.85rem;padding-left:1rem}.auth-terms li{margin-bottom:.6rem}.auth-terms-note{margin-top:1rem;color:var(--text-muted);font-size:.88rem}.auth-terms-checkbox{display:flex;flex-direction:column;gap:.55rem;margin-bottom:1.25rem}.auth-terms-checkbox label{display:inline-flex;align-items:flex-start;gap:.8rem;color:var(--text-secondary);font-size:.95rem;line-height:1.6}.auth-terms-checkbox input[type=checkbox]{margin-top:.25rem;width:1rem;height:1rem}.auth-terms-checkbox a{color:var(--brand-from);text-decoration:none;font-weight:700}.auth-terms-checkbox a:hover{text-decoration:underline}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.auth-footer{text-align:center;padding-top:1.5rem;border-top:1px solid rgba(102,126,234,.14)}.auth-footer p{color:var(--text-muted);margin:.65rem 0;font-size:.95rem}.auth-footer a{color:var(--brand-from);text-decoration:none;font-weight:700;transition:color .2s ease}.auth-footer a:hover{color:var(--brand-to);text-decoration:underline}@media (max-width: 600px){.auth-card{padding:1.75rem}.form-row{grid-template-columns:1fr}.auth-header h1{font-size:1.75rem}}.index-container{font-family:inherit;background:linear-gradient(180deg,#667eea14,#fffffffa);min-height:100vh;overflow-x:hidden}.index-header{background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);color:#fff;padding:1rem 0;box-shadow:0 2px 16px #667eea24;animation:slideDownHeader .6s ease-out both}.index-top{max-width:1100px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center;animation:slideInLeft .6s ease-out both}.index-nav{display:flex;gap:.75rem;animation:slideInRight .6s ease-out both}.nav-link{color:#fff;text-decoration:none;background:#ffffff14;padding:.4rem .75rem;border-radius:6px;font-weight:600}.index-main{max-width:1100px;margin:2rem auto;padding:0 20px 4rem;animation:fadeInMain .8s ease-out .2s both}.hero{display:grid;grid-template-columns:1fr 420px;gap:2rem;align-items:center;animation:fadeInUp .8s ease-out both}.hero-text h2{font-size:2.2rem;margin:0 0 .75rem;color:var(--text-primary);line-height:1.1}.hero-text p{color:var(--text-muted);margin-bottom:1.4rem;line-height:1.8;max-width:540px}.hero-cta{display:flex;gap:1rem;flex-wrap:wrap;animation:fadeInUp 1s ease-out both}.hero-stats{display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));gap:1rem;margin-top:1.75rem}.hero-stats div{background:#667eea14;padding:1rem 1.1rem;border-radius:16px;border:1px solid rgba(102,126,234,.14);animation:scaleIn .6s ease-out both}.hero-stats div:nth-child(1){animation-delay:.6s}.hero-stats div:nth-child(2){animation-delay:.7s}.hero-stats div:nth-child(3){animation-delay:.8s}.hero-stats strong{display:block;font-size:1.35rem;color:#1f2937}.hero-stats span{display:block;color:#475569;margin-top:.4rem;font-size:.9rem}.cta{background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);color:#fff;padding:.75rem 1.4rem;border-radius:12px;text-decoration:none;font-weight:700;box-shadow:0 18px 40px #667eea29;transition:transform .25s ease,box-shadow .25s ease;animation:pulse 3s ease-in-out infinite}.secondary{background:transparent;color:var(--brand-from);padding:.65rem 1rem;border-radius:8px;text-decoration:none;border:1px solid rgba(102,126,234,.3);transition:all .25s ease}.secondary:hover{transform:translateY(-2px);background:#667eea14}.hero-illustration{display:flex;justify-content:center;align-items:center;background:linear-gradient(180deg,#667eea2e,#764ba21f);border-radius:32px;padding:1.5rem;box-shadow:0 20px 50px #667eea1f;animation:float 8s ease-in-out infinite}.hero-illustration img{width:100%;max-width:500px;height:auto;display:block}.features{margin-top:2.5rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.5rem}.feature{background:#fffffffa;border-radius:22px;padding:1.75rem;text-align:center;box-shadow:var(--shadow-card);transition:transform .25s ease,box-shadow .25s ease;opacity:0;transform:translateY(20px);animation:fadeInUp .8s ease-out both}.terms-links{margin-top:2rem;background:#ffffffeb;border-radius:28px;padding:1.75rem;box-shadow:var(--shadow-card);display:grid;gap:1rem}.terms-links .section-header{text-align:left}.terms-links .section-header p{max-width:760px;margin:.75rem auto 0;color:#475569}.terms-links-actions{display:flex;flex-wrap:wrap;gap:1rem;justify-content:flex-start}.terms-links-actions .cta,.terms-links-actions .secondary{min-width:220px}.terms-summary .section-header{text-align:left}.terms-summary .section-header p{max-width:760px;margin:.75rem auto 0;color:#475569}.api-showcase{margin-top:2.5rem;background:#ffffffeb;border-radius:28px;padding:2rem;box-shadow:var(--shadow-card)}.section-header{max-width:840px;margin:0 auto 1.75rem;text-align:center}.section-header h2{font-size:2rem;margin-bottom:.6rem;color:var(--text-primary)}.section-header p{color:var(--text-muted);line-height:1.75;margin:0 auto;max-width:640px}.launch-deck{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:center;justify-items:center;padding:1rem 0}.launch-3d-scene{width:min(100%,520px);aspect-ratio:4 / 3;perspective:1200px}.scene-grid{position:relative;width:100%;height:100%;background:linear-gradient(180deg,#0f172aeb,#0f172a8c);border-radius:32px;overflow:hidden;transform-style:preserve-3d;box-shadow:0 38px 90px #0f172a3d;padding:2rem;transition:transform .4s ease,box-shadow .4s ease}.launch-3d-scene:hover .scene-grid{transform:rotateX(10deg) rotateY(-10deg) translateZ(8px);box-shadow:0 48px 110px #0f172a52}.scene-grid:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at top,rgba(59,130,246,.16),transparent 30%),radial-gradient(circle at 80% 20%,rgba(99,102,241,.18),transparent 18%);pointer-events:none}.scene-card{position:absolute;width:54%;padding:1.4rem;border-radius:26px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#0f172ad6;border:1px solid rgba(148,163,184,.12);box-shadow:0 25px 70px #0f172a40;transform-style:preserve-3d;transition:transform .3s ease,box-shadow .3s ease}.scene-card:hover{transform:translateZ(16px);box-shadow:0 35px 90px #0f172a52}.card-large{top:16%;left:12%;transform:rotateX(12deg) rotateY(-18deg) rotate(-2deg)}.card-medium{width:40%;top:42%;right:10%;transform:rotateX(10deg) rotateY(12deg) rotate(4deg)}.card-small{width:38%;top:58%;left:15%;transform:rotateX(6deg) rotateY(-8deg) rotate(1deg)}.card-header{color:#cbd5e1;font-size:.95rem;text-transform:uppercase;letter-spacing:.14em;margin-bottom:1rem}.card-metric{font-size:2.05rem;font-weight:800;color:#eff6ff;margin-bottom:1rem}.card-metric.small{font-size:1.5rem}.card-chart,.mini-chart{width:100%;height:88px;border-radius:20px;background:linear-gradient(135deg,#3b82f63d,#94a3b814);position:relative;overflow:hidden}.card-chart:before,.mini-chart:before{content:"";position:absolute;bottom:14px;left:12px;width:calc(100% - 24px);height:52px;background:linear-gradient(90deg,transparent 0%,rgba(59,130,246,.85) 20%,rgba(59,130,246,.45) 45%,rgba(148,163,184,.18) 90%);clip-path:polygon(0 100%,8% 58%,22% 70%,34% 42%,46% 52%,58% 30%,70% 40%,82% 24%,92% 34%,100% 0,100% 100%)}.status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:96px;padding:.55rem .85rem;border-radius:999px;text-transform:uppercase;letter-spacing:.08em;font-size:.76rem;font-weight:700;background:#f871711f;color:#fee2e2}.status-pill.warning{background:#fbbf2429;color:#fef3c7}.badge-pill{position:absolute;padding:.65rem .95rem;border-radius:999px;color:#fff;font-size:.82rem;letter-spacing:.04em;background:#1e3a8af5;box-shadow:0 18px 40px #0f172a38}.badge-1{top:18%;left:58%;transform:rotate(-3deg)}.badge-2{top:12%;right:16%;transform:rotate(6deg);background:#4f46e5f0}.badge-3{bottom:16%;left:18%;transform:rotate(-6deg);background:#0ea5e9e0}@media (max-width: 900px){.launch-deck{grid-template-columns:1fr}.scene-grid{padding:1.5rem}.card-large,.card-medium,.card-small{position:relative;top:auto;left:auto;right:auto;transform:none;width:100%;margin-bottom:1rem}.badge-pill{position:relative;top:auto;left:auto;right:auto;transform:none;margin-right:.75rem}}.rocket-body{width:140px;height:220px;border-radius:90px 90px 40px 40px;background:linear-gradient(180deg,#eef2ff,#c7d2fe 40%,#7c3aed);position:relative;transform-style:preserve-3d;box-shadow:inset 0 10px 18px #fff9,0 24px 60px #0f172a2e}.rocket-body:before{content:"";position:absolute;top:12px;right:0;bottom:20px;left:0;background:linear-gradient(180deg,#ffffffd1,#fff0);border-radius:70px 70px 30px 30px}.rocket-window{position:absolute;width:54px;height:54px;top:40px;left:50%;transform:translate(-50%);border-radius:50%;background:radial-gradient(circle at 30% 30%,#f8fafc,#93c5fd 62%,#0f172a 92%);box-shadow:inset 0 6px 14px #ffffff80}.rocket-fin{position:absolute;width:46px;height:80px;bottom:24px;background:linear-gradient(180deg,#7c3aed,#4f46e5);border-radius:24px 24px 32px 32px;transform-origin:top center}.rocket-fin.left{left:-18px;transform:rotate(-18deg)}.rocket-fin.right{right:-18px;transform:rotate(18deg)}.rocket-flame{position:absolute;bottom:12px;left:50%;transform:translate(-50%);width:40px;height:90px;background:radial-gradient(circle at 50% 20%,#fef08a,#fb7185 35%,#dc2626 75%);border-radius:50% 50% 40% 40%;filter:blur(.5px);animation:flamePulse .2s ease-in-out infinite alternate}.launch-stage:after{content:"";position:absolute;inset:auto 20% 8% 20%;height:20px;background:#ffffff14;filter:blur(8px);border-radius:999px}.launch-copy{max-width:420px;text-align:left}.launch-copy h4{font-size:1.7rem;color:var(--text-primary);margin-bottom:.75rem}.launch-copy p{color:#475569;line-height:1.8;font-size:1rem}@keyframes flamePulse{0%{transform:translate(-50%) scaleY(.95);opacity:.92}to{transform:translate(-50%) scaleY(1.05);opacity:1}}@media (max-width: 900px){.launch-deck{grid-template-columns:1fr}}.feature:hover{transform:translateY(-8px);box-shadow:0 20px 55px #667eea26}.feature-large{min-height:220px}.feature:nth-child(1){animation-delay:.2s}.feature:nth-child(2){animation-delay:.35s}.feature:nth-child(3){animation-delay:.5s}.feature img{width:72px;height:72px;margin-bottom:1rem}@media (max-width: 900px){.hero,.features{grid-template-columns:1fr}}@keyframes slideDownHeader{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInMain{0%{opacity:0}to{opacity:1}}@keyframes scaleIn{0%{transform:scale(.92);opacity:0}to{transform:scale(1);opacity:1}}@keyframes slideInLeft{0%{transform:translate(-40px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes slideInRight{0%{transform:translate(40px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{transform:translateY(0);box-shadow:0 18px 40px #667eea29}50%{transform:translateY(-3px);box-shadow:0 22px 48px #667eea33}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}@keyframes glow{0%,to{text-shadow:0 0 10px rgba(102,126,234,0),0 0 20px rgba(102,126,234,0)}50%{text-shadow:0 0 10px rgba(102,126,234,.3),0 0 20px rgba(102,126,234,.15)}}.sidebar{width:280px;height:100vh;background:linear-gradient(180deg,#667eea14,#fffffff5);color:var(--text-primary);padding:0;border-right:1px solid rgba(102,126,234,.15);box-shadow:2px 0 25px #0f172a14;position:fixed;left:0;top:0;overflow-y:auto;transition:width .3s ease,background .3s ease;z-index:1000;display:flex;flex-direction:column}.sidebar.collapsed{width:80px}.sidebar-header{padding:24px 20px;border-bottom:1px solid rgba(102,126,234,.14);display:flex;align-items:center;justify-content:space-between;gap:10px;background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.sidebar-logo{display:flex;align-items:center;gap:12px;cursor:pointer;transition:transform .2s ease}.sidebar-logo:hover{transform:scale(1.02)}.logo-mark{width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,var(--brand-from),var(--brand-to));box-shadow:0 0 0 6px #667eea1f}.logo-content{display:flex;flex-direction:column;line-height:1.05}.logo-text{font-size:18px;font-weight:800;color:var(--text-primary)}.logo-subtitle{font-size:12px;color:var(--text-muted);letter-spacing:.08em;text-transform:uppercase}.sidebar-toggle{background:#667eea1f;border:1px solid rgba(102,126,234,.2);color:var(--brand-from);width:40px;height:40px;border-radius:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s ease,background .2s ease,border-color .2s ease;font-size:18px}.sidebar-toggle:hover{background:#667eea38;border-color:#667eea66;transform:scale(1.03)}.sidebar-toggle-icon{display:inline-flex;align-items:center;justify-content:center;width:100%;height:100%}.sidebar-menu{flex:1;padding:20px 0;display:flex;flex-direction:column;gap:5px}.menu-item{display:flex;align-items:center;gap:14px;padding:14px 18px;background:#ffffffb8;border:none;color:var(--text-primary);cursor:pointer;transition:transform .2s ease,background .2s ease,box-shadow .2s ease;border-radius:18px;font-size:14px;font-weight:600;width:calc(100% - 40px);margin:0 auto}.menu-icon{width:36px;min-width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:#667eea24;color:var(--brand-from);font-size:18px}.menu-item:hover{background:#667eea33;color:var(--brand-from);transform:translate(2px)}.menu-item.active{background:linear-gradient(135deg,#667eea38,#6366f124);color:var(--brand-from);box-shadow:0 10px 25px #667eea14}.menu-tag{min-width:34px;height:34px;border-radius:12px;background:#667eea1f;color:var(--brand-from);display:grid;place-items:center;font-size:12px;font-weight:700}.menu-label{white-space:nowrap;transition:opacity .2s ease}.sidebar-footer{padding:20px;border-top:1px solid rgba(102,126,234,.14);margin-top:auto;display:flex;flex-direction:column;gap:12px;background:#ffffffd9}.user-info{display:flex;align-items:center;gap:12px;padding-top:12px;border-top:1px solid rgba(102,126,234,.1)}.user-avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;flex-shrink:0}.user-details{flex:1}.user-name{margin:0;font-size:13px;font-weight:700;color:var(--text-primary)}.user-email{margin:2px 0 0;font-size:11px;color:var(--text-muted)}@media (max-width: 768px){.sidebar{width:100%;height:60px;flex-direction:row;box-shadow:0 2px 15px #0000004d;z-index:999}.sidebar-header{padding:12px 20px;border-bottom:none;border-right:1px solid rgba(255,255,255,.1)}.sidebar-menu{flex-direction:row;overflow-x:auto;gap:0;flex:1}.menu-item{padding:12px 16px;border-left:none;border-bottom:3px solid transparent;white-space:nowrap}.menu-item:hover,.menu-item.active{border-left:none;border-bottom-color:#667eea}.sidebar-footer{display:none}.sidebar.collapsed{width:100%}}.top-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;background:linear-gradient(135deg,#fff,#f8f9fa);border-bottom:1px solid #e0e0e0;box-shadow:0 2px 8px #00000014;position:sticky;top:0;z-index:100}.header-left{flex:1;max-width:400px}.search-container{display:flex;align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:12px;padding:8px 16px;transition:all .2s ease}.search-container:focus-within{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a}.search-icon{font-size:16px;margin-right:10px;color:#999}.search-input{border:none;outline:none;background:transparent;font-size:14px;width:100%;color:#333}.search-input::placeholder{color:#ccc}.header-right{display:flex;align-items:center;gap:20px;margin-left:40px}.notification-container{position:relative}.notification-btn{background:none;border:none;font-size:20px;cursor:pointer;position:relative;transition:transform .2s ease}.notification-btn:hover{transform:scale(1.1)}.notification-badge{position:absolute;top:-8px;right:-8px;background:#ff4757;color:#fff;font-size:12px;font-weight:700;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center}.notifications-dropdown{position:absolute;top:50px;right:0;width:340px;background:#fff;border-radius:12px;box-shadow:0 8px 24px #00000026;z-index:1001;overflow:hidden;animation:slideDown .2s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.notifications-header{display:flex;align-items:center;justify-content:space-between;padding:16px;border-bottom:1px solid #e0e0e0}.notifications-header h3{margin:0;font-size:14px;font-weight:600;color:#333}.clear-btn{background:none;border:none;font-size:16px;cursor:pointer;color:#999;transition:color .2s ease}.clear-btn:hover{color:#333}.notifications-list{max-height:350px;overflow-y:auto}.notification-item{padding:12px 16px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background .2s ease}.notification-item:hover{background:#f8f9fa}.notification-item.error{border-left:4px solid #ff4757}.notification-item.warning{border-left:4px solid #ffa502}.notification-item.success{border-left:4px solid #2ed573}.notification-content{display:flex;flex-direction:column;gap:4px}.notification-message{margin:0;font-size:13px;font-weight:500;color:#333}.notification-time{font-size:12px;color:#999}.user-menu{display:flex;gap:12px;align-items:center;padding:0 16px;border-left:1px solid #e0e0e0}.user-email-section{display:flex;align-items:center}.user-email{color:#666;font-size:.9rem;font-weight:500;white-space:nowrap}.profile-btn,.logout-btn{background:#667eea1a;border:1px solid rgba(102,126,234,.2);color:#667eea;padding:8px 10px;border-radius:8px;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:all .25s ease;min-width:40px;height:40px}.profile-btn:hover{background:#667eea33;transform:translateY(-2px)}.logout-btn{color:#ff6b6b;border-color:#ff6b6b33}.logout-btn:hover{background:#ff6b6b1a;border-color:#ff6b6b4d;transform:translateY(-2px)}@media (max-width: 1024px){.header-right{gap:12px;margin-left:20px}.search-container{max-width:200px}}@media (max-width: 768px){.top-header{flex-direction:column;gap:12px;padding:12px 16px}.header-left{width:100%;max-width:none}.header-right{width:100%;margin-left:0;justify-content:space-between}.search-container{max-width:none;width:100%}}.dashboard-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 12px #00000014;transition:all .3s ease;cursor:default;border:1px solid #f0f0f0}.dashboard-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f}.dashboard-card[role=button]{cursor:pointer}.dashboard-card[role=button]:hover{transform:translateY(-4px);box-shadow:0 12px 32px #00000026}.card-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}.card-icon{font-size:32px;width:48px;height:48px;background:linear-gradient(135deg,#667eea1a,#764ba21a);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.card-title-section{flex:1}.card-title{margin:0;font-size:14px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px}.card-subtitle{margin:4px 0 0;font-size:12px;color:#999}.card-body{display:flex;align-items:flex-end;justify-content:space-between}.card-value{font-size:32px;font-weight:700;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.card-trend{display:flex;align-items:center;gap:6px;padding:6px 12px;background:#f0f0f0;border-radius:8px;font-size:12px;font-weight:600;white-space:nowrap}.card-trend.up{background:#2ed5731a;color:#2ed573}.card-trend.down{background:#ff47571a;color:#ff4757}.trend-icon{font-size:14px}.trend-text{color:inherit}.dashboard-card.success{border-left:4px solid #2ed573}.dashboard-card.warning{border-left:4px solid #ffa502}.dashboard-card.error{border-left:4px solid #ff4757}@media (max-width: 768px){.dashboard-card{padding:16px}.card-header{gap:12px}.card-icon{width:40px;height:40px;font-size:24px}.card-value{font-size:24px}}.simple-chart{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 12px #00000014;border:1px solid #f0f0f0;display:flex;flex-direction:column}.chart-header{margin-bottom:20px}.chart-title{margin:0;font-size:16px;font-weight:600;color:#333}.chart-container{flex:1;display:flex;align-items:flex-end;justify-content:flex-start;position:relative;min-height:200px}.bar-chart{width:100%;height:100%;display:flex;align-items:flex-end;justify-content:space-around;gap:12px;padding:12px 0}.bar-group{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%}.bar-container{width:100%;height:80%;display:flex;align-items:flex-end;justify-content:center;border-radius:8px 8px 0 0;overflow:hidden;background:#f9f9f9;min-height:40px}.bar{width:100%;border-radius:8px 8px 0 0;transition:all .3s ease;cursor:pointer;position:relative}.bar:hover{filter:brightness(1.1);box-shadow:0 0 12px #00000026}.bar-label{font-size:12px;color:#666;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.line-chart{width:100%;height:100%}.chart-legend{display:flex;gap:20px;margin-top:16px;padding-top:16px;border-top:1px solid #f0f0f0;flex-wrap:wrap}.legend-item{display:flex;align-items:center;gap:8px;font-size:12px;color:#666}.legend-color{width:12px;height:12px;border-radius:4px;flex-shrink:0}@media (max-width: 768px){.simple-chart{padding:16px}.chart-title{font-size:14px}.chart-legend{gap:12px}}.api-list-container{background:#fff;border-radius:16px;box-shadow:0 2px 12px #00000014;overflow:hidden}.list-header{padding:24px;border-bottom:1px solid #e0e0e0}.list-title{display:flex;align-items:center;gap:12px;margin-bottom:16px}.list-title h3{margin:0;font-size:18px;font-weight:700;color:#333}.count-badge{background:#f0f0f0;padding:4px 12px;border-radius:20px;font-size:12px;font-weight:600;color:#666}.list-controls{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.search-box{display:flex;align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;padding:8px 12px;gap:8px;flex:1;min-width:200px}.search-box span{font-size:16px}.search-box input{border:none;background:transparent;outline:none;font-size:13px;width:100%;color:#333}.search-box input::placeholder{color:#ccc}.filter-buttons{display:flex;gap:8px;flex-wrap:wrap}.filter-btn{padding:8px 16px;background:#f0f0f0;border:none;border-radius:6px;font-size:12px;font-weight:600;color:#666;cursor:pointer;transition:all .2s ease}.filter-btn:hover{background:#e0e0e0}.filter-btn.active{background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);color:#fff}.empty-state{text-align:center;padding:60px 20px;color:#999}.empty-icon{font-size:48px;margin-bottom:16px}.empty-state h3{margin:0 0 8px;font-size:16px;color:#333;font-weight:600}.empty-state p{margin:0;font-size:13px;color:#999}.table-wrapper{overflow-x:auto}.apis-table{width:100%;border-collapse:collapse;font-size:13px}.apis-table thead{background:#f8f9fa}.apis-table th{padding:12px 16px;text-align:left;font-weight:600;color:#666;border-bottom:1px solid #e0e0e0;font-size:12px;text-transform:uppercase;letter-spacing:.5px}.apis-table tbody tr{border-bottom:1px solid #f0f0f0;transition:background .2s ease}.apis-table tbody tr:hover{background:#f8f9fa}.apis-table td{padding:16px;color:#333}.name-cell{width:30%}.api-name{display:flex;flex-direction:column;gap:4px}.api-name h4{margin:0;font-size:13px;font-weight:600;color:#333}.api-url{margin:0;font-size:11px;color:#999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.method-badge{display:inline-block;padding:4px 12px;border-radius:6px;font-size:12px;font-weight:600}.status-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border:2px solid;border-radius:6px;font-size:12px;font-weight:600;color:inherit;background:transparent}.status-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.uptime-value,.response-time,.last-checked{font-size:13px;font-weight:500;color:#666}.actions-cell{display:flex;gap:8px}.action-btn{width:32px;height:32px;border-radius:6px;border:1px solid #e0e0e0;background:#fff;cursor:pointer;font-size:14px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.action-btn:hover{border-color:#999;background:#f8f9fa}.action-btn.view{color:#667eea}.action-btn.view:hover{background:#667eea1a}.action-btn.edit{color:#ffa502}.action-btn.edit:hover{background:#ffa5021a}.action-btn.pause{color:#2ed573}.action-btn.pause:hover{background:#2ed5731a}.action-btn.delete{color:#ff4757}.action-btn.delete:hover{background:#ff47571a}@media (max-width: 1024px){.api-list-container{overflow-x:auto}.list-controls{flex-direction:column;gap:12px}.search-box{width:100%;min-width:auto}}@media (max-width: 768px){.list-header{padding:16px}.list-title h3{font-size:16px}.apis-table th,.apis-table td{padding:12px 8px;font-size:12px}.api-name h4{font-size:12px}.api-url{font-size:10px}.action-btn{width:28px;height:28px;font-size:12px}.filter-buttons{width:100%}.filter-btn{flex:1;min-width:70px}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:2000;animation:fadeIn .2s ease}.modal-content{background:#fff;border-radius:16px;width:90%;max-width:700px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;font-size:20px;font-weight:700;color:#333}.modal-close{background:none;border:none;font-size:24px;cursor:pointer;color:#999;transition:color .2s ease}.modal-close:hover{color:#333}.confirm-modal{position:absolute;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;border-radius:16px;z-index:2001}.confirm-content{background:#fff;padding:24px;border-radius:12px;text-align:center}.confirm-content h3{margin:0 0 8px;font-size:16px;color:#333}.confirm-content p{margin:0 0 20px;color:#666;font-size:14px}.confirm-buttons{display:flex;gap:10px;justify-content:center}.modal-tabs{display:flex;overflow-x:auto;border-bottom:1px solid #e0e0e0;background:#f8f9fa}.tab-btn{padding:12px 20px;background:none;border:none;font-size:13px;font-weight:600;color:#999;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s ease;white-space:nowrap}.tab-btn:hover{color:var(--brand-from)}.tab-btn.active{color:var(--brand-from);border-bottom-color:var(--brand-from)}.tab-btn:disabled{opacity:.5;cursor:not-allowed}.modal-body{flex:1;overflow-y:auto;padding:24px}.tab-content{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:13px;font-weight:600;color:#333}.form-group input,.form-group textarea,.form-group select{padding:10px 12px;border:2px solid #e0e0e0;border-radius:8px;font-size:14px;font-family:inherit;transition:all .2s ease}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--brand-from);box-shadow:0 0 0 3px #667eea1a}.form-group input.error,.form-group textarea.error{border-color:#ff4757}.error-text{font-size:12px;color:#ff4757}.form-group small{font-size:12px;color:#999}.method-buttons{display:flex;gap:10px;flex-wrap:wrap}.method-btn{flex:1;min-width:80px;padding:10px 16px;border:2px solid #ddd;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;background:#fff;color:#333}.method-btn:hover{border-color:#999}.method-btn.active{color:#fff}.code-input{font-family:Courier New,monospace;font-size:12px}.key-value-section{display:flex;gap:10px;align-items:flex-end}.key-value-section .form-group{flex:1}.btn-small{padding:8px 16px!important;font-size:12px!important}.key-value-list{display:flex;flex-direction:column;gap:8px;margin-top:16px}.key-value-item{display:flex;align-items:center;justify-content:space-between;padding:12px;background:#f8f9fa;border-radius:8px;border-left:3px solid var(--brand-from)}.item-content{display:flex;align-items:center;gap:16px;flex:1}.item-key{font-size:12px;font-weight:600;color:#333;min-width:100px}.item-value{font-size:12px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.btn-remove{background:#ff47571a;border:none;color:#ff4757;width:28px;height:28px;border-radius:6px;cursor:pointer;transition:all .2s ease;font-size:14px;display:flex;align-items:center;justify-content:center}.btn-remove:hover{background:#ff475733}.checkbox-group{gap:12px}.checkbox-group label{display:flex;align-items:center;gap:8px;font-weight:500;cursor:pointer}.checkbox-group input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--brand-from)}.modal-footer{display:flex;gap:12px;padding:20px 24px;border-top:1px solid #e0e0e0;justify-content:flex-end}.btn{padding:10px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.btn-primary{background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);color:#fff;box-shadow:0 4px 15px #667eea4d}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.btn-secondary{background:#f0f0f0;color:#333}.btn-secondary:hover{background:#e0e0e0}.btn-danger{background:#ff4757;color:#fff}.btn-danger:hover{background:#ff3838}@media (max-width: 768px){.modal-content{width:95%;max-height:95vh}.modal-header,.modal-body{padding:16px}.modal-tabs{overflow-x:auto}.tab-btn{padding:10px 16px}.key-value-section,.method-buttons{flex-direction:column}.method-btn{min-width:auto}}.test-result-modal{background:#fff;border-radius:16px;width:90%;max-width:900px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d;animation:slideUp .3s ease}.result-header{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid #e0e0e0}.result-header h2{margin:0;font-size:20px;font-weight:700;color:#333}.result-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px;padding:24px;background:#f8f9fa;border-bottom:1px solid #e0e0e0}.summary-item{display:flex;flex-direction:column;gap:6px}.summary-label{font-size:12px;font-weight:600;color:#999;text-transform:uppercase;letter-spacing:.5px}.summary-value{font-size:16px;font-weight:700;color:#333}.analysis-section{padding:24px;background:linear-gradient(135deg,#667eea0d,#764ba20d);border-bottom:1px solid #e0e0e0}.analysis-section h3{margin:0 0 16px;font-size:14px;font-weight:600;color:#333}.analysis-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:16px}.analysis-item{display:flex;flex-direction:column;gap:6px}.analysis-label{font-size:12px;font-weight:600;color:#999;text-transform:uppercase;letter-spacing:.5px}.analysis-value{font-size:16px;font-weight:700}.analysis-value.perf-fast{color:#2ed573}.analysis-value.perf-moderate{color:#ffa502}.analysis-value.perf-slow{color:#ff4757}.analysis-value.status-success{color:#2ed573}.analysis-value.status-error{color:#ff4757}.suggestions{margin-top:16px;padding-top:16px;border-top:1px solid rgba(102,126,234,.2)}.suggestions h4{margin:0 0 12px;font-size:12px;font-weight:600;color:#333}.suggestions ul{margin:0;padding-left:20px}.suggestions li{margin:8px 0;font-size:13px;color:#666;line-height:1.4}.result-tabs{display:flex;overflow-x:auto;background:#f8f9fa;border-bottom:1px solid #e0e0e0}.result-tabs .tab-btn{padding:12px 20px;background:none;border:none;font-size:13px;font-weight:600;color:#999;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s ease;white-space:nowrap}.result-tabs .tab-btn:hover{color:#667eea}.result-tabs .tab-btn.active{color:#667eea;border-bottom-color:#667eea}.result-content{flex:1;overflow-y:auto;padding:24px}.tab-pane{animation:fadeIn .2s ease}.response-actions{display:flex;gap:10px;margin-bottom:16px}.action-btn{padding:8px 16px;background:#f0f0f0;border:1px solid #e0e0e0;border-radius:6px;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease}.action-btn:hover{background:#e0e0e0;border-color:#999}.response-viewer{background:#1e1e1e;color:#d4d4d4;padding:16px;border-radius:8px;overflow-x:auto;font-size:12px;font-family:Courier New,monospace;line-height:1.5;margin:0}.response-viewer code{font-family:Courier New,monospace}.headers-table{width:100%;border-collapse:collapse;font-size:13px}.headers-table thead{background:#f0f0f0}.headers-table th{padding:12px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #e0e0e0}.headers-table td{padding:12px;border-bottom:1px solid #e0e0e0;color:#666}.headers-table tr:hover{background:#f8f9fa}.header-key{font-weight:600;color:#333}.header-value{word-break:break-all}.empty-state{text-align:center;padding:40px 20px;color:#999;font-size:14px}.timeline{display:flex;flex-direction:column;gap:12px}.timeline-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#f0f0f0;border-radius:8px;font-size:13px}.timeline-time{font-weight:600;color:#333;flex:1}.timeline-value{color:#667eea;font-weight:700}.logs-container{font-family:Courier New,monospace;font-size:12px;background:#1e1e1e;border-radius:8px;padding:12px;max-height:400px;overflow-y:auto}.log-line{display:flex;gap:12px;margin-bottom:4px;padding:4px 8px;border-left:3px solid transparent;line-height:1.4}.log-time{color:#858585;min-width:80px}.log-level{font-weight:600;min-width:60px}.log-message{color:#d4d4d4;flex:1;word-break:break-all}.log-info{border-left-color:#2ed573}.log-info .log-level{color:#2ed573}.log-warning{border-left-color:#ffa502}.log-warning .log-level{color:#ffa502}.log-error{border-left-color:#ff4757}.log-error .log-level{color:#ff4757}.result-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 24px;border-top:1px solid #e0e0e0}.result-footer .btn{padding:10px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.result-footer .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 15px #667eea4d}.result-footer .btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}@media (max-width: 768px){.test-result-modal{width:95%;max-height:95vh}.result-header,.result-summary,.analysis-section,.result-content,.result-footer{padding:16px}.result-summary{gap:12px}.response-viewer{font-size:11px;padding:12px}.headers-table th,.headers-table td{padding:8px;font-size:12px}}.toast{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:8px;box-shadow:0 4px 12px #00000026;animation:slideInRight .3s ease;font-size:14px;font-weight:500;position:fixed;bottom:20px;right:20px;max-width:400px;z-index:3000}.toast-success{background:#e8f7f0;color:#2ed573;border-left:4px solid #2ed573}.toast-error{background:#ffe8e8;color:#ff4757;border-left:4px solid #ff4757}.toast-warning{background:#fff4e8;color:#ffa502;border-left:4px solid #ffa502}.toast-info{background:#e8f0ff;color:#667eea;border-left:4px solid #667eea}.toast-icon{font-size:16px;font-weight:700}.toast-message{flex:1}.toast-close{background:none;border:none;color:inherit;cursor:pointer;font-size:16px;opacity:.7;transition:opacity .2s ease}.toast-close:hover{opacity:1}@media (max-width: 768px){.toast{bottom:10px;right:10px;left:10px;max-width:none}}.dashboard-layout{display:flex;min-height:100vh;background:radial-gradient(circle at top right,rgba(102,126,234,.14),transparent 24%),radial-gradient(circle at bottom left,rgba(118,75,162,.12),transparent 20%),#f3f6ff}.dashboard-content{flex:1;margin-left:280px;display:flex;flex-direction:column;transition:margin-left .3s ease}.dashboard-main{flex:1;padding:32px 24px;overflow-y:auto;background:#fffffff2;border-radius:32px;box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.dashboard-section{margin-bottom:32px}.section-title{margin-bottom:20px;display:flex;align-items:center;gap:12px}.section-title:before{content:"";flex-shrink:0;width:48px;height:5px;background:linear-gradient(135deg,var(--brand-from),var(--brand-to));border-radius:999px}.section-title h2{margin:0;font-size:22px;font-weight:700;color:#333}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.charts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px}.toasts-container{position:fixed;bottom:20px;right:20px;z-index:3000;display:flex;flex-direction:column;gap:10px}@media (max-width: 1200px){.stats-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.charts-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}}@media (max-width: 768px){.dashboard-layout{flex-direction:column}.dashboard-content{margin-left:0;margin-top:60px}.dashboard-main{padding:16px 12px}.dashboard-section{margin-bottom:24px}.section-title h2{font-size:18px}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}.charts-grid{grid-template-columns:1fr}.toasts-container{bottom:10px;right:10px;left:10px}}@media (max-width: 480px){.stats-grid{grid-template-columns:1fr}.section-title h2{font-size:16px}}.dashboard-main{animation:fadeIn .35s ease}.stats-grid>*,.charts-grid>*{animation:fadeInUp .6s ease both}.stat-card:hover{box-shadow:0 4px 16px #0000001f;transform:translateY(-2px)}.stat-card.alert-card{border-left:4px solid #e74c3c}.stat-icon{font-size:2rem;flex-shrink:0}.stat-content{flex:1}.stat-label{font-size:.9rem;color:#666;margin:0 0 .5rem;font-weight:500}.stat-value{font-size:1.8rem;font-weight:700;color:#667eea;margin:0}.apis-section{margin-bottom:3rem}.section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.btn-add-api{background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-weight:600;transition:all .3s ease}.btn-add-api:hover{box-shadow:0 4px 15px #667eea66;transform:translateY(-2px)}.api-list{display:flex;flex-direction:column;gap:1rem}.api-item{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 2px 8px #00000014;transition:all .3s ease}.api-item:hover{box-shadow:0 4px 16px #0000001f;transform:translate(4px)}.api-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.api-name{font-size:1.1rem;font-weight:700;color:#333;margin:0}.status-badge{display:inline-block;padding:.4rem .8rem;border-radius:20px;font-size:.85rem;font-weight:600}.status-healthy{background-color:#d5f4e6;color:#27ae60}.status-down{background-color:#fadbd8;color:#c0392b}.api-details{border-top:1px solid #eee;padding-top:1rem}.api-url{color:#667eea;font-size:.95rem;word-break:break-all;margin:0 0 .75rem;font-family:Courier New,monospace}.api-stats{display:flex;flex-wrap:wrap;gap:2rem}.stat{color:#666;font-size:.9rem}.quick-actions{margin-bottom:3rem}.action-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.action-btn{background:#fff;border:2px solid #e0e6f2;border-radius:12px;padding:1.5rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;justify-content:center;gap:.75rem;font-weight:600;color:#333;text-align:center;flex-direction:column}.action-btn:hover{border-color:var(--brand-from);background:linear-gradient(135deg,#667eea0d,#764ba20d);box-shadow:0 4px 16px #667eea26;transform:translateY(-4px)}.action-icon{font-size:2rem}.user-id{margin:.25rem 0 0;color:#475569;font-size:.95rem}.empty-text{color:#475569;font-size:.98rem;padding:1rem 0}.api-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.action-btn-small{border:none;background:#eef2ff;color:#1d4ed8;padding:.7rem 1rem;border-radius:10px;font-weight:600;cursor:pointer;transition:background .2s ease,transform .2s ease}.action-btn-small:hover{background:#dbeafe;transform:translateY(-1px)}.action-btn-small.btn-delete{background:#fee2e2;color:#b91c1c}.action-btn-small.btn-delete:hover{background:#fecaca}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a8c;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:1000;overflow-y:auto}.modal-card{width:min(780px,100%);max-height:calc(100vh - 2rem);background:#fff;border-radius:24px;padding:1.5rem;box-shadow:0 24px 70px #0f172a2e;position:relative;overflow:hidden;display:flex;flex-direction:column}.modal-card .modal-form,.modal-card .test-result-box{overflow:auto}.modal-card>.modal-form{flex:1;margin-bottom:1.5rem}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.modal-header h3{margin:0;font-size:1.5rem;color:#111827}.modal-subtitle{margin:.5rem 0 0;color:#6b7280;font-size:.95rem}.modal-close{all:unset;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f3f4f6;color:#374151;font-size:1.5rem;cursor:pointer;line-height:1}.modal-close:hover{background:#e5e7eb}.modal-form{display:grid;gap:1rem}.modal-row{display:flex;flex-direction:column;gap:.5rem}.modal-row label{font-weight:600;color:#334155}.modal-row input,.modal-row select,.modal-row textarea{width:100%;border:1px solid #d1d5db;border-radius:14px;background:#f8fafc;padding:.95rem 1rem;color:#111827;font-size:1rem;outline:none;transition:border-color .2s ease,box-shadow .2s ease}.modal-row input:focus,.modal-row select:focus,.modal-row textarea:focus{border-color:#6366f1;box-shadow:0 0 0 4px #6366f11f}.modal-row textarea{min-height:100px;resize:vertical}.modal-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:1rem;align-items:end}.checkbox-row{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#374151}.modal-actions{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1rem}.test-result-box{margin-top:1.5rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:1rem}.test-result-box h4{margin:0 0 .75rem;font-size:1.05rem;color:#111827}.test-result-box pre{margin:0;background:#fff;border-radius:14px;padding:1rem;overflow-x:auto;max-height:260px;color:#0f172a;font-size:.94rem;line-height:1.5}@media (max-width: 768px){.modal-grid{grid-template-columns:1fr}}@media (max-width: 768px){.dashboard-content{padding:1rem 0}.section-title{font-size:1.5rem}.stats-grid{grid-template-columns:1fr}.section-header{flex-direction:column;gap:1rem;align-items:flex-start}.btn-add-api{width:100%}.api-stats{flex-direction:column;gap:.5rem}.action-buttons{grid-template-columns:1fr}}.analytics-main{padding:32px 24px;background:radial-gradient(circle at top right,rgba(102,126,234,.14),transparent 24%),radial-gradient(circle at bottom left,rgba(118,75,162,.12),transparent 20%),#f3f6ff;min-height:100vh}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:32px}.metric-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 12px #00000014;display:flex;gap:16px;align-items:center;transition:all .3s ease;cursor:pointer}.metric-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #0000001f}.metric-icon{font-size:32px;background:linear-gradient(135deg,#667eea1a,#764ba21a);width:60px;height:60px;border-radius:12px;display:flex;align-items:center;justify-content:center}.metric-content{flex:1}.metric-label{margin:0;font-size:12px;color:#999;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.metric-value{margin:8px 0 0;font-size:24px;font-weight:700;background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.analytics-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px;margin-bottom:32px}.chart-container,.detailed-report{background:#fff;border-radius:16px;padding:24px;box-shadow:0 2px 12px #00000014}.detailed-report h2{margin:0 0 20px;font-size:18px;font-weight:700;color:#333}.report-table{overflow-x:auto}.report-table table{width:100%;border-collapse:collapse;font-size:13px}.report-table th{padding:12px 16px;text-align:left;font-weight:600;color:#666;border-bottom:2px solid #e0e0e0;background:#f8f9fa}.report-table td{padding:16px;border-bottom:1px solid #f0f0f0;color:#333}.report-table tbody tr:hover{background:#f8f9fa}.report-table .positive{color:#2ed573;font-weight:600}.report-table .negative{color:#ff4757;font-weight:600}@media (max-width: 768px){.analytics-main{margin-left:0;margin-top:60px;padding:16px 12px}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.analytics-charts{grid-template-columns:1fr}.report-table th,.report-table td{padding:12px 8px;font-size:12px}}.alerts-main{padding:32px 24px;background:radial-gradient(circle at top right,rgba(102,126,234,.14),transparent 24%),radial-gradient(circle at bottom left,rgba(118,75,162,.12),transparent 20%),#f3f6ff;min-height:100vh}.section-header{margin-bottom:32px}.section-header h1{margin:0 0 8px;font-size:28px;font-weight:700;color:#333}.section-header p{margin:0;font-size:14px;color:#999}.alert-stats{display:flex;gap:20px;margin-bottom:32px;flex-wrap:wrap}.alert-stat{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 12px #00000014;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:120px}.alert-stat .count{font-size:28px;font-weight:700;background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.alert-stat .label{font-size:12px;color:#999;text-transform:uppercase;letter-spacing:.5px;font-weight:600}.alerts-list{display:flex;flex-direction:column;gap:12px}.alert-item{background:#fff;border-radius:12px;padding:16px;display:flex;align-items:center;gap:16px;box-shadow:0 2px 12px #00000014;border-left:4px solid;transition:all .2s ease}.alert-item:hover{box-shadow:0 8px 24px #0000001f;transform:translate(4px)}.alert-item.alert-error{border-left-color:#ff4757}.alert-item.alert-warning{border-left-color:#ffa502}.alert-item.alert-success{border-left-color:#2ed573}.alert-item.alert-info{border-left-color:var(--brand-from)}.alert-icon{font-size:24px;flex-shrink:0}.alert-content{flex:1}.alert-title{margin:0 0 8px;font-size:14px;font-weight:600;color:#333}.alert-meta{display:flex;gap:16px;font-size:12px;color:#999}.alert-api{font-weight:600;color:var(--brand-from)}.alert-status{color:#666}.alert-time{font-size:12px;color:#999;min-width:120px;text-align:right}.alert-action{background:transparent;border:none;font-size:20px;color:#999;cursor:pointer;transition:color .2s ease;padding:4px 8px}.alert-action:hover{color:#333}@media (max-width: 768px){.alerts-main{margin-left:0;margin-top:60px;padding:16px 12px}.alert-stats{gap:12px}.alert-stat{flex:1;min-width:100px}.alert-item{flex-direction:column;align-items:flex-start}.alert-time{text-align:left;min-width:auto}.alert-meta{flex-wrap:wrap}}.apis-main{padding:32px 24px;background:#fffffff2;min-height:100vh}.section-header{margin-bottom:28px;display:flex;align-items:center;gap:12px}.section-header:before{content:"";flex-shrink:0;width:48px;height:5px;background:linear-gradient(135deg,var(--brand-from),var(--brand-to));border-radius:999px}.section-header h1{margin:0;font-size:28px;font-weight:700;color:var(--text-primary)}.section-header p{margin:8px 0 0;color:var(--text-muted);width:100%}.btn-add-api{background:linear-gradient(135deg,var(--brand-from) 0%,var(--brand-to) 100%);color:#fff;border:none;padding:12px 24px;border-radius:12px;font-weight:700;cursor:pointer;margin-bottom:28px;transition:all .25s ease;box-shadow:0 8px 24px #667eea29}.btn-add-api:hover{transform:translateY(-2px);box-shadow:0 12px 32px #667eea33}.api-form{background:var(--surface);border-radius:18px;padding:24px;box-shadow:var(--shadow-card);margin-bottom:32px;border:1px solid rgba(102,126,234,.08);max-width:900px}.form-section{margin-bottom:28px;padding-bottom:28px;border-bottom:1px solid rgba(102,126,234,.1)}.form-section:last-of-type{border-bottom:none;margin-bottom:0;padding-bottom:0}.form-section h3{margin:0 0 16px;font-size:16px;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:8px}.form-section h3:before{content:"";width:3px;height:20px;background:linear-gradient(135deg,var(--brand-from),var(--brand-to));border-radius:999px}.form-group{margin-bottom:16px}.form-group label{display:block;margin-bottom:8px;font-weight:600;color:var(--text-primary);font-size:14px}.form-group input,.form-group select{width:100%;padding:12px 14px;border:1px solid rgba(102,126,234,.2);border-radius:10px;font-size:14px;font-family:inherit;transition:border-color .2s ease,box-shadow .2s ease;background:var(--surface-soft);color:var(--text-primary)}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--brand-from);box-shadow:0 0 0 3px #667eea1a}.form-textarea{width:100%;padding:12px 14px;border:1px solid rgba(102,126,234,.2);border-radius:10px;font-size:13px;font-family:Monaco,Menlo,monospace;background:var(--surface-soft);color:var(--text-primary);resize:vertical;transition:border-color .2s ease,box-shadow .2s ease}.form-textarea:focus{outline:none;border-color:var(--brand-from);box-shadow:0 0 0 3px #667eea1a}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-dynamic-fields{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.form-kv-pair{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center}.form-kv-pair input{padding:10px 12px;border:1px solid rgba(102,126,234,.2);border-radius:8px;font-size:13px;background:var(--surface-soft)}.form-kv-pair input::placeholder{color:#999}.btn-remove-field{background:#ef44441a;color:#ef4444;border:1px solid rgba(239,68,68,.2);width:36px;height:36px;border-radius:8px;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.btn-remove-field:hover{background:#ef444426}.btn-add-field{background:#667eea14;color:var(--brand-from);border:1px dashed rgba(102,126,234,.3);padding:10px 16px;border-radius:8px;font-weight:600;cursor:pointer;font-size:13px;transition:all .2s ease}.btn-add-field:hover{background:#667eea1f;border-color:#667eea80}.form-checkbox{display:flex;align-items:center;gap:12px;margin-top:16px}.form-checkbox input[type=checkbox]{width:auto;width:18px;height:18px;cursor:pointer;accent-color:var(--brand-from)}.form-checkbox label{margin:0;font-weight:500;color:var(--text-primary);cursor:pointer}.form-actions{display:flex;gap:12px;margin-top:24px}.btn-save,.btn-cancel{padding:11px 24px;border-radius:10px;font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.btn-save{background:linear-gradient(135deg,var(--brand-from),var(--brand-to));color:#fff;flex:1;box-shadow:0 8px 20px #667eea33}.btn-save:hover{transform:translateY(-2px);box-shadow:0 12px 28px #667eea40}.btn-save:disabled{opacity:.6;cursor:not-allowed}.btn-cancel{background:var(--surface-soft);color:var(--text-muted);border:1px solid rgba(102,126,234,.2);padding:11px 28px}.btn-cancel:hover{background:#667eea14}.api-list-section{margin-top:32px}.api-list-section h2{margin:0 0 20px;font-size:20px;color:var(--text-primary)}.api-cards-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.api-card{background:var(--surface);border-radius:16px;padding:22px;box-shadow:var(--shadow-card);border:1px solid rgba(102,126,234,.08);transition:all .25s ease;animation:fadeInUp .6s ease both}.api-card:hover{transform:translateY(-4px);box-shadow:0 20px 50px #667eea1f}.api-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px}.api-header h3{margin:0;font-size:18px;color:var(--text-primary);flex:1}.method-badge{display:inline-block;padding:4px 10px;border-radius:6px;font-size:12px;font-weight:700;white-space:nowrap}.method-get{background:#3b82f61a;color:#3b82f6}.method-post{background:#22c55e1a;color:#22c55e}.method-put{background:#f59e0b1a;color:#f59e0b}.method-delete{background:#ef44441a;color:#ef4444}.api-url{margin:8px 0;color:var(--brand-from);font-size:13px;word-break:break-all;font-family:monospace}.api-desc{margin:6px 0 0;color:var(--text-muted);font-size:13px}.api-actions{display:flex;gap:8px;margin-top:16px}.btn-test,.btn-edit,.btn-delete{flex:1;padding:10px 12px;border:none;border-radius:8px;font-size:13px;font-weight:600;cursor:pointer;transition:all .2s ease;background:var(--surface-soft);color:var(--text-muted)}.btn-test:hover{background:#667eea1a;color:var(--brand-from)}.btn-edit:hover{background:#3b82f61a;color:#3b82f6}.btn-delete:hover{background:#ef44441a;color:#ef4444}.test-response{margin-top:16px;padding:16px;border-radius:10px;background:#667eea0f;border-left:4px solid var(--brand-from)}.test-response.error{background:#ef44440f;border-left-color:#ef4444}.test-response h4{margin:0 0 12px;font-size:14px;color:var(--text-primary)}.response-detail{display:flex;gap:16px;margin-bottom:12px;font-size:13px;color:var(--text-muted)}.response-body{background:var(--surface-soft);border-radius:8px;padding:12px;font-size:12px;overflow-x:auto;max-height:200px;margin:0;color:#666}.response-error{margin:0;padding:12px;background:#ef444414;border-radius:8px;color:#ef4444;font-size:13px}.empty-state{text-align:center;padding:48px 24px;color:var(--text-muted)}@keyframes fadeInUp{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 900px){.apis-main{padding:24px 18px}.api-cards-grid,.form-row,.form-kv-pair{grid-template-columns:1fr}}.monitoring-main{padding:32px 24px;background:#f5f6fa;min-height:100vh}.monitor-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:18px;margin-bottom:28px}.summary-card{background:#fff;border-radius:18px;padding:22px;box-shadow:0 12px 36px #0f172a14;display:flex;flex-direction:column;gap:10px}.summary-card span{color:#6b7280;font-size:.85rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.summary-card strong{font-size:2rem;color:#111827}.monitor-charts{display:grid;grid-template-columns:2fr 1fr;gap:20px}.chart-panel,.monitor-table-card{background:#fff;border-radius:24px;padding:24px;box-shadow:0 12px 36px #0f172a14}.table-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.table-header h2{margin:0;font-size:20px;color:#1f2937}.btn-secondary{background:#eef2ff;border:none;color:#1d4ed8;padding:.85rem 1.3rem;border-radius:12px;font-weight:700;cursor:pointer}.monitor-table-card table{width:100%;border-collapse:collapse}.monitor-table-card th,.monitor-table-card td{padding:14px 16px;border-bottom:1px solid #e5e7eb;text-align:left}.monitor-table-card th{color:#6b7280;font-weight:700}.status-online{color:#047857;font-weight:700}.status-warning{color:#b45309;font-weight:700}@media (max-width: 960px){.monitor-charts{grid-template-columns:1fr}.monitoring-main{padding:24px 18px}}.history-main{padding:32px 24px;background:#f5f6fa;min-height:100vh}.history-list{display:grid;gap:18px}.history-card{background:#fff;border-radius:20px;padding:24px;box-shadow:0 12px 36px #0f172a14;transition:transform .2s ease,box-shadow .2s ease}.history-card:hover{transform:translateY(-2px);box-shadow:0 18px 40px #0f172a1f}.history-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}.history-top h3{margin:0;font-size:18px;color:#111827}.history-top span{color:#6b7280;font-size:.9rem}.history-card p{margin:0;color:#475569;line-height:1.7}@media (max-width: 768px){.history-main{padding:24px 18px}}.settings-main{padding:32px 24px;background:#f5f6fa;min-height:100vh}.section-header{margin-bottom:24px}.section-header h1{margin:0;font-size:28px;font-weight:700;color:#111827}.section-header p{margin:8px 0 0;color:#6b7280}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.settings-card{background:#fff;border-radius:24px;padding:24px;box-shadow:0 12px 36px #0f172a14}.settings-card h2{margin:0 0 12px;font-size:20px;color:#111827}.settings-card p{margin:0 0 16px;color:#6b7280}.settings-item{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-top:1px solid #eef2ff;color:#334155;font-weight:600}.settings-item:first-of-type{border-top:none}@media (max-width: 768px){.settings-main{padding:24px 18px}}html,body,#root{height:100%;width:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at top right,rgba(102,126,234,.14),transparent 25%),radial-gradient(circle at bottom left,rgba(118,75,162,.12),transparent 22%),#f5f6fa;color:var(--text-primary)}:root{--brand-from: #667eea;--brand-to: #764ba2;--brand-surface: #eff3ff;--surface: #ffffff;--surface-soft: #f3f6ff;--text-primary: #1f2937;--text-muted: #4b5563;--shadow-card: 0 16px 40px rgba(15, 23, 42, .08)}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ddd;border-radius:4px}::-webkit-scrollbar-thumb:hover{background:#999}.app-container{min-height:100vh;display:flex;flex-direction:column}.main-content{flex:1;padding:20px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes slideInRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}.container{max-width:1200px;margin:0 auto;padding:0 20px}.sidebar.collapsed+.dashboard-content{margin-left:80px}@media (max-width: 768px){.sidebar.collapsed+.dashboard-content{margin-left:0}}.text-center{text-align:center}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}.d-flex{display:flex}.d-grid{display:grid}.gap-1{gap:8px}.gap-2{gap:16px}.gap-3{gap:24px}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;background-color:#f5f7fa;color:#333}#root{min-height:100vh}
