/* Basic reset */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:"Share Tech Mono", Inter, monospace;
  background:#030506;
  color:#bdfcd5;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-shadow:0 0 6px rgba(0,255,153,0.15);
}
.app-bg{
  background: radial-gradient(circle at 20% 20%, rgba(0,255,150,0.05), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(120,50,255,0.05), transparent 60%),
              linear-gradient(180deg,#040707 0%, #071018 40%, #0b1220 100%);
  min-height:100vh;
  padding:16px;
  backdrop-filter:blur(2px);
}
.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 6px;
  margin-bottom:14px;
  border-bottom:1px solid rgba(0,255,153,0.1);
}
.logo{
  font-weight:700;
  color:#00ff99;
  font-size:1.2rem;
  letter-spacing:1px;
  text-shadow:0 0 8px rgba(0,255,153,0.6);
}
.top-actions .btn{margin-left:.5rem}
.container{max-width:980px;margin:0 auto;padding:8px}
.title{
  font-size:1.2rem;
  color:#d4ffe7;
  margin-bottom:10px;
  text-shadow:0 0 6px rgba(0,255,153,0.25);
}
.card{
  background:linear-gradient(180deg,rgba(10,20,20,0.6),rgba(5,10,15,0.7));
  border:1px solid rgba(0,255,153,0.15);
  padding:12px;
  border-radius:12px;
  box-shadow:0 4px 18px rgba(0,255,153,0.05);
  transition:transform .2s, box-shadow .3s;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 0 12px rgba(0,255,153,0.15);
}
.form-card{display:grid;grid-template-columns:1fr;gap:12px}
.preview{
  width:100%;
  height:200px;
  overflow:hidden;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(90deg,#021017,#091e26);
  border:1px solid rgba(0,255,153,0.1);
}
.demo-img{max-width:100%;max-height:100%;object-fit:cover;opacity:.95}
.grid-templates{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.template-card{padding:6px;display:flex;flex-direction:column;align-items:stretch}
.card-body{padding:8px}
.card h3{
  font-size:0.95rem;
  margin-bottom:8px;
  color:#9fffcf;
  text-shadow:0 0 4px rgba(0,255,153,0.4);
}
.card.empty{padding:24px;text-align:center;color:#6fa}
.btn{
  display:inline-block;
  padding:8px 10px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.08);
  text-decoration:none;
  color:inherit;
  font-weight:600;
  cursor:pointer;
  transition:all .2s ease;
  backdrop-filter:blur(1px);
}
.btn:hover{transform:scale(1.03);box-shadow:0 0 6px rgba(0,255,153,0.25)}
.btn.small{padding:6px 8px;font-size:.85rem}
.btn.primary{
  background:linear-gradient(90deg,#00ff99,#49f0ff);
  color:#00140e;
  font-weight:700;
  text-shadow:none;
}
.btn.neon-green{
  background:rgba(0,255,153,0.05);
  border:1px solid rgba(0,255,153,0.4);
  color:#00ff99;
  box-shadow:0 0 6px rgba(0,255,153,0.15) inset;
}
.btn.neon-blue{
  background:rgba(0,150,255,0.05);
  border:1px solid rgba(100,200,255,0.3);
  color:#66d9ff;
  box-shadow:0 0 6px rgba(100,200,255,0.15) inset;
}
.btn.neon-purple{
  background:rgba(120,70,255,0.05);
  border:1px solid rgba(180,120,255,0.3);
  color:#caa6ff;
}
.btn.neon-red{
  background:rgba(255,80,80,0.05);
  border:1px solid rgba(255,80,80,0.3);
  color:#ff9c9c;
}
.input, input[type="text"], input[type="password"], input[type="email"], select {
  width:100%;
  padding:10px;
  border-radius:8px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(0,255,153,0.15);
  color:#c4ffe4;
  margin-bottom:8px;
  font-family:inherit;
}
.input:focus, input:focus, select:focus{
  outline:none;
  box-shadow:0 0 8px rgba(0,255,153,0.3);
  border-color:#00ff99;
}
.neon-border{box-shadow:0 0 8px rgba(0,255,153,0.12) inset}
.form-row{margin-bottom:8px}
.small{font-size:.85rem;color:#9fe}
.alert{
  background:rgba(255,255,255,0.05);
  color:#e8fff8;
  padding:8px;
  border-radius:6px;
  border-left:3px solid #00ff99;
}
.success{
  color:#b9ffd9;
  background:rgba(0,255,150,0.05);
  border-left:3px solid #00ff99;
  padding:8px;
  border-radius:6px;
}
.error{
  color:#ffb4b4;
  background:rgba(255,20,20,0.05);
  border-left:3px solid #ff4c4c;
  padding:8px;
  border-radius:6px;
}
.center{display:flex;align-items:center;justify-content:center;min-height:70vh}
.login-card{
  width:100%;
  max-width:420px;
  padding:18px;
  border-radius:12px;
  text-align:center;
  background:linear-gradient(180deg,rgba(5,10,10,0.8),rgba(8,20,20,0.7));
  border:1px solid rgba(0,255,153,0.1);
  box-shadow:0 4px 18px rgba(0,255,153,0.08);
}
.result-card{
  max-width:720px;
  margin:12px auto;
  padding:18px;
  border-radius:12px;
  background:rgba(10,20,20,0.6);
  border:1px solid rgba(0,255,153,0.1);
}
.table{width:100%;border-collapse:collapse;color:#c5ffe7}
.table th,.table td{
  padding:8px;
  border-bottom:1px solid rgba(0,255,153,0.08);
  text-align:left;
}
.table th{color:#00ff99}
.table tr:hover{background:rgba(0,255,153,0.03)}
@media(min-width:760px){
  .form-card{grid-template-columns:360px 1fr}
  .preview{height:260px}
  .container{padding:18px}
}