@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Exo+2:wght@300;400;500;600;700&display=swap');

/* sal- = super admin login */
:root {
  --sal-bg:       #030810;
  --sal-blue:     #00d4ff;
  --sal-green:    #00ff9d;
  --sal-red:      #ff4d6d;
  --sal-text:     #e8f4ff;
  --sal-muted:    #4a6a8a;
  --sal-border:   rgba(0,212,255,0.22);
  --sal-glass:    rgba(0,212,255,0.04);
}

* { margin:0; padding:0; box-sizing:border-box; }

.sal-body {
  font-family: 'Exo 2', sans-serif;
  background: var(--sal-bg);
  color: var(--sal-text);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background */
.sal-bg {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 20%, rgba(0,80,200,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 80%, rgba(0,212,255,0.10) 0%, transparent 55%);
}
.sal-grid {
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: sal-grid 20s linear infinite;
}
@keyframes sal-grid {
  0%   { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

/* Left Side */
.sal-left {
  position: fixed; left: 0; top: 0; bottom: 0;
  width: 42%; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 60px 50px;
}

/* Divider */
.sal-divider {
  position: fixed; left: 42%; top: 0; bottom: 0;
  width: 1px; z-index: 2;
  background: linear-gradient(180deg,
    transparent,
    rgba(0,212,255,0.3) 30%,
    rgba(0,212,255,0.5) 50%,
    rgba(0,212,255,0.3) 70%,
    transparent);
}
.sal-divider::before {
  content: '';
  position: absolute; left: -4px; top: 50%;
  transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sal-blue);
  box-shadow: 0 0 16px var(--sal-blue);
  animation: sal-dot 2s ease-in-out infinite;
}
@keyframes sal-dot { 0%,100%{ opacity:1; } 50%{ opacity:0.3; } }

/* Right Side */
.sal-right {
  position: fixed; right: 0; top: 0; bottom: 0;
  width: 58%; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}

/* Brand */
.sal-brand { text-align: center; margin-bottom: 40px; }
.sal-logo {
  width: 88px; height: 88px;
  background: linear-gradient(135deg, rgba(0,212,255,0.2), rgba(0,100,200,0.3));
  border: 2px solid rgba(0,212,255,0.38);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; margin: 0 auto 22px;
  position: relative;
  box-shadow: 0 0 36px rgba(0,212,255,0.18), inset 0 0 28px rgba(0,212,255,0.05);
  animation: sal-logoPulse 3s ease-in-out infinite;
}
@keyframes sal-logoPulse {
  0%,100%{ box-shadow: 0 0 36px rgba(0,212,255,0.18), inset 0 0 28px rgba(0,212,255,0.05); }
  50%    { box-shadow: 0 0 55px rgba(0,212,255,0.35), inset 0 0 40px rgba(0,212,255,0.1); }
}
.sal-logo-ring {
  position: absolute; inset: -9px; border-radius: 30px;
  border: 1.5px solid transparent;
  border-top-color: rgba(0,212,255,0.4);
  border-bottom-color: rgba(0,212,255,0.15);
  animation: sal-ring 7s linear infinite;
}
@keyframes sal-ring { to{ transform: rotate(360deg); } }

.sal-brand-name {
  font-family: 'Orbitron', monospace;
  font-size: 26px; font-weight: 900;
  color: var(--sal-blue); letter-spacing: 3px;
  text-shadow: 0 0 25px rgba(0,212,255,0.5);
  margin-bottom: 6px;
}
.sal-brand-sub {
  font-size: 10px; color: var(--sal-muted);
  letter-spacing: 4px; text-transform: uppercase;
}

/* Status dots */
.sal-dot-green {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sal-green);
  box-shadow: 0 0 8px var(--sal-green);
  animation: sal-pulse 2s infinite;
}
@keyframes sal-pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(1.4);} }

/* Login Box */
.sal-box {
  width: 100%; max-width: 440px;
  background: rgba(7,15,32,0.92);
  backdrop-filter: blur(30px);
  border: 1px solid var(--sal-border);
  border-radius: 26px;
  padding: 46px 42px;
  position: relative;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6), inset 0 1px 0 rgba(0,212,255,0.13);
  animation: sal-boxIn 0.75s cubic-bezier(.4,0,.2,1) both;
}
@keyframes sal-boxIn {
  from{ opacity:0; transform:translateY(28px) scale(0.97); }
  to  { opacity:1; transform:translateY(0) scale(1); }
}
.sal-box::before {
  content: ''; position: absolute;
  top: 0; left: 40px; right: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.55), transparent);
}

/* Corners */
.sal-corner { position: absolute; width: 18px; height: 18px; }
.sal-tl { top:15px; left:15px; border-top:2px solid var(--sal-blue); border-left:2px solid var(--sal-blue); border-radius:4px 0 0 0; }
.sal-tr { top:15px; right:15px; border-top:2px solid var(--sal-blue); border-right:2px solid var(--sal-blue); border-radius:0 4px 0 0; }
.sal-bl { bottom:15px; left:15px; border-bottom:2px solid rgba(0,212,255,0.35); border-left:2px solid rgba(0,212,255,0.35); border-radius:0 0 0 4px; }
.sal-br { bottom:15px; right:15px; border-bottom:2px solid rgba(0,212,255,0.35); border-right:2px solid rgba(0,212,255,0.35); border-radius:0 0 4px 0; }

/* Badge */
.sal-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 20px; padding: 5px 14px;
  width: fit-content; margin-bottom: 20px;
  font-size: 10px; color: var(--sal-blue);
  letter-spacing: 1.5px; font-weight: 600;
}
.sal-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sal-blue);
  box-shadow: 0 0 8px var(--sal-blue);
  animation: sal-pulse 2s infinite;
}

/* Header */
.sal-header { margin-bottom: 28px; }
.sal-header h1 {
  font-family: 'Orbitron', monospace;
  font-size: 21px; font-weight: 700;
  color: var(--sal-text); margin-bottom: 7px;
}
.sal-header p { font-size: 12px; color: var(--sal-muted); line-height: 1.65; }

/* Form */
.sal-group { margin-bottom: 20px; }
.sal-label {
  display: block; font-size: 10.5px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--sal-muted); margin-bottom: 7px;
  transition: color 0.25s;
}
.sal-input-wrap { position: relative; }
.sal-input {
  width: 100%;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.14);
  border-radius: 11px;
  padding: 13px 44px;
  font-family: 'Exo 2', sans-serif;
  font-size: 13.5px; color: var(--sal-text);
  outline: none; transition: all 0.28s;
}
.sal-input::placeholder { color: rgba(74,106,138,0.65); }
.sal-input:focus {
  border-color: var(--sal-blue);
  background: rgba(0,212,255,0.06);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.09);
}
.sal-icon-l {
  position: absolute; left: 15px; top: 50%;
  transform: translateY(-50%);
  color: var(--sal-muted); font-size: 13px;
  transition: color 0.25s;
}
.sal-input-wrap:focus-within .sal-icon-l { color: var(--sal-blue); }
.sal-input-wrap:focus-within + .sal-label { color: var(--sal-blue); }
.sal-icon-r {
  position: absolute; right: 13px; top: 50%;
  transform: translateY(-50%);
  color: var(--sal-muted); font-size: 13px;
  cursor: pointer; transition: color 0.2s;
}
.sal-icon-r:hover { color: var(--sal-blue); }

/* Options */
.sal-options {
  display: flex; align-items: center;
  justify-content: space-between; margin-bottom: 24px;
}
.sal-remember { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sal-check {
  width: 17px; height: 17px;
  border: 1.5px solid rgba(0,212,255,0.28);
  border-radius: 5px; background: rgba(0,212,255,0.05);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; flex-shrink: 0;
}
.sal-check.on { background: var(--sal-blue); border-color: var(--sal-blue); box-shadow: 0 0 10px rgba(0,212,255,0.35); }
.sal-check i { font-size: 9px; color: #000; display: none; }
.sal-check.on i { display: block; }
.sal-remember span { font-size: 12px; color: var(--sal-muted); }
.sal-forgot { font-size: 11.5px; color: var(--sal-blue); text-decoration: none; opacity: 0.75; }
.sal-forgot:hover { opacity: 1; color: var(--sal-blue); }

/* Error / Success */
.sal-error {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,77,109,0.09);
  border: 1px solid rgba(255,77,109,0.28);
  border-radius: 10px; padding: 10px 14px;
  font-size: 11.5px; color: #ff4d6d; margin-bottom: 18px;
}
.sal-success {
  display: flex; align-items: center; gap: 8px;
  background: rgba(0,255,157,0.09);
  border: 1px solid rgba(0,255,157,0.28);
  border-radius: 10px; padding: 10px 14px;
  font-size: 11.5px; color: #00ff9d; margin-bottom: 18px;
}

/* Button */
.sal-btn {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, rgba(0,212,255,0.9), rgba(0,120,200,0.9));
  border: none; border-radius: 11px;
  font-family: 'Orbitron', monospace;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 2.5px; color: #000;
  cursor: pointer; position: relative; overflow: hidden;
  transition: all 0.28s;
  box-shadow: 0 0 28px rgba(0,212,255,0.25);
}
.sal-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(0,212,255,0.42);
}
.sal-btn-shine {
  position: absolute; top: 0; left: -100%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: sal-shine 3.5s ease-in-out infinite;
}
@keyframes sal-shine { 0%,100%{left:-100%;} 50%{left:150%;} }

/* Security + Footer */
.sal-security {
  display: flex; align-items: center; justify-content: center;
  gap: 7px; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid rgba(0,212,255,0.08);
}
.sal-security i { color: var(--sal-green); font-size: 11px; }
.sal-security span { font-size: 10px; color: var(--sal-muted); letter-spacing: 0.8px; }
.sal-footer {
  margin-top: 14px; text-align: center;
  font-size: 9.5px; color: rgba(74,106,138,0.4);
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
  .sal-left, .sal-divider { display: none; }
  .sal-right { width: 100%; position: relative; height: 100vh; }
  .sal-box { padding: 34px 26px; }
}
@media (max-width: 480px) {
  .sal-box { padding: 26px 20px; border-radius: 18px; }
}