*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

:root{
  --brand-blue-dark:#0f2f57;
  --brand-blue:#1e3a8a;
  --brand-blue-light:#2563eb;
  --brand-emerald:#059669;
  --brand-gold:#d4af37;
  --white:#ffffff;
  --text-slate:#64748b;
  --border-color:#e2e8f0;
  --bg-soft:#f8fafc;
}

body{
  font-family:"Segoe UI",sans-serif;
  min-height:100vh;
  overflow:hidden;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(5,150,105,0.10), transparent 24%),
    linear-gradient(135deg, #eaf2ff 0%, #eef5ff 40%, #f8fbff 100%);
  position:relative;
  color:#0f172a;
}

body::before,
body::after{
  content:"";
  position:absolute;
  border-radius:50%;
  filter:blur(70px);
  z-index:0;
  pointer-events:none;
  animation:floatBlob 9s ease-in-out infinite;
}

body::before{
  width:320px;
  height:320px;
  background:rgba(37,99,235,0.16);
  top:-90px;
  left:-80px;
}

body::after{
  width:360px;
  height:360px;
  background:rgba(5,150,105,0.10);
  right:-110px;
  bottom:-120px;
  animation-delay:2s;
}

.login-page{
  position:relative;
  z-index:1;
  width:100%;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
}

.login-wrapper{
  width:100%;
  max-width:1380px;
  min-height:88vh;
  display:grid;
  grid-template-columns:1.03fr 0.97fr;
  background:rgba(255,255,255,0.36);
  border:1px solid rgba(255,255,255,0.55);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:32px;
  overflow:hidden;
  box-shadow:
    0 24px 70px rgba(15,23,42,0.10),
    0 8px 24px rgba(37,99,235,0.08);
}

/* =========================
   LEFT SIDE
   ========================= */
.left-panel{
  position:relative;
  padding:52px 56px 40px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.38));
}

.left-panel-inner{
  width:100%;
  max-width:520px;
  animation:fadeSlideUp .8s ease;
}

.brand-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
}

.brand-top img{
  width:72px;
  height:72px;
  object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(30,58,138,0.12));
  animation:softPulse 3s ease-in-out infinite;
}

.brand-text h2{
  margin:0;
  font-size:30px;
  line-height:1;
  font-weight:900;
  color:var(--brand-blue-dark);
  letter-spacing:-0.02em;
}

.brand-text p{
  margin:6px 0 0;
  color:var(--text-slate);
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.welcome-box{
  margin-bottom:24px;
}

.welcome-box h3{
  font-size:38px;
  font-weight:900;
  color:var(--brand-blue-dark);
  letter-spacing:-0.03em;
  margin-bottom:8px;
}

.welcome-box p{
  color:var(--text-slate);
  font-size:15px;
  line-height:1.75;
  font-weight:500;
  margin-bottom:0;
}

.live-strip{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:26px;
}

.live-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:40px;
  padding:0.6rem 0.9rem;
  border-radius:999px;
  background:rgba(255,255,255,0.72);
  border:1px solid rgba(191,219,254,0.85);
  color:var(--brand-blue);
  font-size:12px;
  font-weight:800;
  box-shadow:0 8px 18px rgba(37,99,235,0.07);
}

.live-chip i{
  font-size:1rem;
}

/* =========================
   LOGIN CARD
   ========================= */
.login-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92));
  border:1px solid rgba(226,232,240,0.95);
  border-radius:28px;
  padding:28px 24px 22px;
  box-shadow:
    0 18px 40px rgba(15,23,42,0.08),
    inset 0 1px 0 rgba(255,255,255,0.85);
}

.login-card h4{
  margin:0 0 6px;
  font-size:22px;
  font-weight:900;
  color:var(--brand-blue-dark);
  letter-spacing:-0.02em;
}

.login-card .subtxt{
  font-size:13px;
  color:var(--text-slate);
  margin-bottom:22px;
  font-weight:500;
  line-height:1.6;
}

.form-group{
  margin-bottom:18px;
}

.form-label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:#475569;
  margin-bottom:8px;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.input-wrap{
  position:relative;
  display:flex;
  align-items:center;
  min-height:56px;
  border-radius:18px;
  overflow:hidden;
  background:var(--white);
  border:1px solid #dbe4f0;
  transition:all .22s ease;
  box-shadow:0 6px 16px rgba(15,23,42,0.04);
}

.input-wrap:focus-within{
  border-color:rgba(37,99,235,0.45);
  box-shadow:0 0 0 4px rgba(37,99,235,0.08), 0 10px 26px rgba(37,99,235,0.08);
  transform:translateY(-1px);
}

.input-icon{
  width:54px;
  min-width:54px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--brand-blue);
  font-size:20px;
  background:linear-gradient(180deg, #f8fbff, #f1f6ff);
  border-right:1px solid #edf2f7;
}

.form-input{
  width:100%;
  height:56px;
  border:none;
  outline:none;
  padding:0 15px;
  font-size:15px;
  font-weight:600;
  color:#0f172a;
  background:transparent;
}

.form-input::placeholder{
  color:#94a3b8;
  font-weight:500;
}

.pass-toggle{
  width:54px;
  min-width:54px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:#64748b;
  font-size:19px;
  transition:all .2s ease;
}

.pass-toggle:hover{
  color:var(--brand-blue);
  background:rgba(37,99,235,0.05);
}

.form-row-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin:4px 0 20px;
  flex-wrap:wrap;
}

.remember-check{
  display:flex;
  align-items:center;
  gap:8px;
  color:#475569;
  font-size:13px;
  font-weight:700;
}

.remember-check input{
  accent-color:var(--brand-blue);
  width:16px;
  height:16px;
}

.forgot-link{
  color:var(--brand-blue);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  transition:all .2s ease;
}

.forgot-link:hover{
  color:var(--brand-emerald);
  text-decoration:none;
}

.login-btn{
  width:100%;
  min-height:56px;
  border:none;
  border-radius:18px;
  font-size:14px;
  font-weight:900;
  letter-spacing:.05em;
  color:var(--white);
  background:linear-gradient(135deg, var(--brand-blue), var(--brand-blue-light));
  box-shadow:0 14px 28px rgba(37,99,235,0.24);
  transition:all .25s ease;
  position:relative;
  overflow:hidden;
}

.login-btn::before{
  content:"";
  position:absolute;
  top:0;
  left:-130%;
  width:120%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(255,255,255,0.24), transparent);
  transition:left .55s ease;
}

.login-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(37,99,235,0.30);
}

.login-btn:hover::before{
  left:120%;
}

#responce{
  margin-top:15px;
  font-size:14px;
  font-weight:700;
}

#responce p{
  margin:0;
  padding:12px 14px;
  border-radius:14px;
  background:#fef2f2;
  color:#b91c1c;
  border:1px solid #fecaca;
  box-shadow:0 8px 16px rgba(220,38,38,0.05);
}

/* =========================
   RIGHT SIDE
   ========================= */
.right-panel{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(212,175,55,0.10), transparent 20%),
    linear-gradient(155deg, #0f2f57 0%, #153d73 42%, #1e3a8a 100%);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 30px;
}

.right-panel::before{
  content:"";
  position:absolute;
  width:480px;
  height:480px;
  border:1px solid rgba(255,255,255,0.14);
  border-radius:50%;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  animation:spinSlow 18s linear infinite;
}

.right-panel::after{
  content:"";
  position:absolute;
  width:680px;
  height:680px;
  border:1px dashed rgba(212,175,55,0.18);
  border-radius:50%;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  animation:spinReverse 28s linear infinite;
}

.hero-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:540px;
  text-align:center;
  color:var(--white);
  animation:fadeSlideRight .9s ease;
}

.hero-logo-shell{
  width:330px;
  height:330px;
  margin:0 auto 22px;
  border-radius:50%;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.22);
  box-shadow:
    inset 0 0 40px rgba(255,255,255,0.05),
    0 20px 50px rgba(0,0,0,0.16);
  display:flex;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(4px);
  animation:floatUpDown 4s ease-in-out infinite;
}

.hero-logo-shell img{
  width:72%;
  max-width:235px;
  object-fit:contain;
  filter:drop-shadow(0 12px 22px rgba(0,0,0,0.18));
}

.hero-content h1{
  font-size:50px;
  font-weight:900;
  letter-spacing:-0.03em;
  margin-bottom:8px;
}

.hero-content p{
  font-size:17px;
  line-height:1.75;
  color:rgba(255,255,255,0.90);
  max-width:440px;
  margin:0 auto 24px;
  font-weight:500;
}

.feature-pills{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
}

.feature-pill{
  padding:9px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.16);
  color:var(--white);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  backdrop-filter:blur(4px);
  box-shadow:0 6px 14px rgba(0,0,0,0.06);
}

.copyright-text{
  position:absolute;
  left:24px;
  right:24px;
  bottom:16px;
  text-align:center;
  z-index:2;
  color:rgba(255,255,255,0.80);
  font-size:12px;
  font-weight:600;
}

/* =========================
   ANIMATIONS
   ========================= */
@keyframes floatBlob{
  0%,100%{ transform:translate(0,0); }
  50%{ transform:translate(14px,16px); }
}

@keyframes softPulse{
  0%,100%{ transform:scale(1); }
  50%{ transform:scale(1.05); }
}

@keyframes spinSlow{
  from{ transform:translate(-50%,-50%) rotate(0deg); }
  to{ transform:translate(-50%,-50%) rotate(360deg); }
}

@keyframes spinReverse{
  from{ transform:translate(-50%,-50%) rotate(360deg); }
  to{ transform:translate(-50%,-50%) rotate(0deg); }
}

@keyframes floatUpDown{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-10px); }
}

@keyframes fadeSlideUp{
  from{ opacity:0; transform:translateY(32px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes fadeSlideRight{
  from{ opacity:0; transform:translateX(32px); }
  to{ opacity:1; transform:translateX(0); }
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1199px){
  .login-wrapper{
    grid-template-columns:1fr .95fr;
  }

  .hero-content h1{
    font-size:40px;
  }

  .hero-logo-shell{
    width:280px;
    height:280px;
  }
}

@media (max-width: 991px){
  body{
    overflow:auto;
  }

  .login-page{
    padding:14px;
  }

  .login-wrapper{
    grid-template-columns:1fr;
    min-height:auto;
  }

  .right-panel{
    min-height:340px;
    order:1;
  }

  .left-panel{
    order:2;
    padding:28px 18px 24px;
  }

  .left-panel-inner{
    max-width:100%;
  }

  .welcome-box h3{
    font-size:30px;
  }

  .hero-content h1{
    font-size:34px;
  }

  .hero-content p{
    font-size:15px;
  }

  .hero-logo-shell{
    width:220px;
    height:220px;
  }
}

@media (max-width: 575px){
  .brand-top{
    gap:10px;
  }

  .brand-top img{
    width:58px;
    height:58px;
  }

  .brand-text h2{
    font-size:24px;
  }

  .login-card{
    padding:22px 16px 18px;
    border-radius:22px;
  }

  .welcome-box h3{
    font-size:26px;
  }

  .hero-content h1{
    font-size:28px;
  }

  .feature-pills{
    gap:8px;
  }

  .feature-pill{
    font-size:11px;
    padding:8px 12px;
  }

  .copyright-text{
    font-size:11px;
  }
}