:root{
  --bg:#f6f8fc;
  --stroke: rgba(15, 23, 42, .10);
  --text:#0f172a;
  --muted: rgba(15, 23, 42, .62);
  --navy:#0b1f44;
  --navy2:#0a2a63;
  --gold:#c9a227;
  --shadow: 0 22px 70px rgba(15, 23, 42, .10);
  --shadow2: 0 10px 28px rgba(15, 23, 42, .08);
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body.login-v6{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
}
.v6-bg{
  position:fixed; inset:0;
  background:
    radial-gradient(1100px 520px at 12% 18%, rgba(11,31,68,.10), transparent 60%),
    radial-gradient(900px 440px at 88% 34%, rgba(201,162,39,.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fc 60%, #f3f6fb 100%);
  pointer-events:none;
}
.v6-bg::after{
  content:"";
  position:absolute; inset:0;
  background-image:url('/assets/img/logo.png');
  background-repeat:no-repeat;
  background-position: 50% 55%;
  background-size: 760px auto;
  opacity:.030;
  filter: grayscale(100%);
}
.v6-main{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding: 26px 18px 16px;
}
.v6-shell{ width:min(1140px, 100%); }
.v6-brandbar{
  display:flex; align-items:center; gap:12px;
  margin: 6px 0 16px;
}
.v6-mark{
  width:46px; height:46px;
  border-radius:16px;
  background:#fff;
  border:1px solid var(--stroke);
  box-shadow: var(--shadow2);
  display:flex; align-items:center; justify-content:center;
}
.v6-mark img{ height:28px; width:auto; display:block; }
.v6-brandtitle{ font-weight:800; letter-spacing:-.02em; font-size:22px; line-height:1.05; }
.v6-brandsub{ font-size:12px; color:var(--muted); margin-top:2px; }
.v6-domainpill{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.76);
  color: var(--muted);
  font-size: 12px;
  white-space:nowrap;
  box-shadow: 0 6px 18px rgba(15,23,42,.05);
}
.v6-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  align-items:stretch;
}
.v6-edu{
  border-radius: 26px;
  overflow:hidden;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display:flex;
  flex-direction:column;
}
.v6-edu-top{ padding: 18px 18px 10px; }
.v6-edu-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(201,162,39,.35);
  background: rgba(201,162,39,.10);
  color: rgba(15,23,42,.85);
  font-weight:800;
  font-size: 12px;
}
.v6-edu-title{
  margin-top:10px;
  font-weight: 800;
  letter-spacing:-.03em;
  font-size: 20px;
  line-height: 1.25;
}
.v6-edu-sub{
  margin-top:6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.v6-carousel{
  margin: 0 12px 10px;
  border-radius: 22px;
  overflow:hidden;
  border:1px solid var(--stroke);
  background: #0b1f44;
}
.v6-slide{
  display:grid;
  grid-template-columns: 1fr;
  min-height: 330px;
  background:
    radial-gradient(900px 320px at 20% 0%, rgba(255,255,255,.10), transparent 55%),
    radial-gradient(900px 320px at 90% 100%, rgba(201,162,39,.18), transparent 55%),
    linear-gradient(135deg, rgba(11,31,68,1), rgba(10,42,99,1));
}
.v6-slide-img{
  width:100%;
  height: 230px;
  object-fit: cover;
  display:block;
  opacity: .96;
}
.v6-slide-cap{ padding: 14px 16px 16px; color:#fff; }
.v6-slide-cap .h{
  font-weight: 900;
  letter-spacing:-.02em;
  font-size: 18px;
  line-height: 1.15;
}
.v6-slide-cap .p{
  margin-top:6px;
  color: rgba(255,255,255,.80);
  font-size: 13px;
  line-height: 1.5;
}
.v6-ctrl{ opacity: .0; transition: opacity .15s ease; }
.v6-carousel:hover .v6-ctrl{ opacity: .9; }
.carousel-control-prev-icon,
.carousel-control-next-icon{ filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
.carousel-indicators [data-bs-target]{
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.25);
}
.carousel-indicators .active{ background: rgba(255,255,255,.90); }
.v6-edu-foot{ padding: 0 18px 18px; }
.v6-edu-foot .k{
  display:flex; align-items:center; gap:8px;
  font-size: 12px; color: var(--muted);
}
.v6-login{
  border-radius: 26px;
  overflow:hidden;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  padding: 22px 22px 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.v6-login-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.70);
  color: var(--navy);
  font-weight: 900;
  font-size: 12px;
}
.v6-login-title{
  margin: 12px 0 0;
  font-size: 30px;
  font-weight: 900;
  letter-spacing:-.03em;
}
.v6-login-sub{ margin-top: 4px; color: var(--muted); font-size: 12px; }
.v6-login-domain{ margin-top: 8px; font-size: 12px; color: var(--muted); }
.v6-login-domain span{ font-weight: 800; color: rgba(15,23,42,.80); }
.v6-form{ margin-top: 16px; }
.v6-label{
  font-size: 12px;
  font-weight: 800;
  color: rgba(15,23,42,.78);
  margin-bottom: 6px;
}
.v6-input{
  position:relative;
  display:flex; align-items:center;
  border-radius: 16px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.86);
  overflow:hidden;
  transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}
.v6-input:focus-within{
  border-color: rgba(11,31,68,.35);
  box-shadow: 0 0 0 6px rgba(11,31,68,.10);
  transform: translateY(-1px);
}
.v6-ico{
  width:46px;
  display:flex; align-items:center; justify-content:center;
  color: rgba(15,23,42,.55);
  border-right:1px solid rgba(15,23,42,.08);
}
.v6-field{
  flex:1;
  border:0;
  background:transparent;
  padding: 14px 12px;
  outline:none;
  font-size: 14px;
  color: var(--text);
}
.v6-eye{
  border:0;
  background:transparent;
  padding: 0 12px;
  height: 46px;
  display:flex; align-items:center; justify-content:center;
  color: rgba(15,23,42,.55);
}
.v6-eye:hover{ color: rgba(15,23,42,.78); }
.v6-caps{
  margin: 8px 2px 0;
  color: rgba(185, 28, 28, .85);
  font-size: 12px;
  display:flex; align-items:center; gap:8px;
}
.v6-meta{
  margin-top: 10px;
  display:grid;
  gap:6px;
  color: var(--muted);
  font-size: 12px;
}
.v6-btn{
  margin-top: 14px;
  width:100%;
  border:0;
  border-radius: 16px;
  padding: 12px 14px;
  font-weight: 900;
  letter-spacing:.01em;
  color:#fff;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  box-shadow: 0 12px 26px rgba(11,31,68,.22);
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}
.v6-btn:hover{ transform: translateY(-1px); box-shadow: 0 16px 30px rgba(11,31,68,.24); filter: brightness(1.02); }
.v6-btn:active{ transform: translateY(0px); }
.v6-btn .spin{
  width:16px; height:16px;
  border:2px solid rgba(255,255,255,.45);
  border-top-color:#fff;
  border-radius:999px;
  display:none;
  animation: v6spin .8s linear infinite;
}
@keyframes v6spin{ to{ transform:rotate(360deg);} }
.v6-btn.loading .spin{ display:inline-block; }
.v6-btn.loading .txt{ opacity:.85; }
.v6-khint{
  margin-top: 10px;
  border-radius: 14px;
  border:1px dashed rgba(15,23,42,.18);
  background: rgba(255,255,255,.70);
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
  display:flex; align-items:center; gap:10px;
  justify-content:center; flex-wrap:wrap;
}
.v6-khint .key{
  padding: 2px 8px;
  border-radius: 10px;
  border:1px solid rgba(15,23,42,.16);
  background: rgba(255,255,255,.84);
  font-weight: 800;
  color: rgba(15,23,42,.78);
}
.v6-footer{
  margin-top: 14px;
  color: rgba(15,23,42,.55);
  font-size: 12px;
  display:flex; gap:10px;
  align-items:center; justify-content:center;
  flex-wrap:wrap;
}
.v6-footer .sep{ opacity:.45; }
.v6-toast{
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(760px, calc(100% - 24px));
  width: auto;
  padding: 10px 12px;
  border-radius: 14px;
  border:1px solid var(--stroke);
  background: rgba(255,255,255,.90);
  box-shadow: var(--shadow2);
  display:flex; gap:10px;
  align-items:center;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.v6-toast--error{ border-color: rgba(185,28,28,.25); }
.v6-toast--error i{ color: rgba(185,28,28,.9); }
.v6-toast--success{ border-color: rgba(22,163,74,.25); }
.v6-toast--success i{ color: rgba(22,163,74,.9); }
@media (max-width: 992px){
  .v6-grid{ grid-template-columns: 1fr; }
  .v6-domainpill{ display:none; }
  .v6-slide{ min-height: 300px; }
  .v6-slide-img{ height: 210px; }
  .v6-login-title{ font-size: 28px; }
}
