/* ============================================================ ĐĂNG NHẬP · HOLO
   Giao diện "trung tâm điều hành an ninh mạng" cho riêng trang đăng nhập:
   nền Obsidian Black + lưới neon cyan, ảnh thật tòa nhà VNPT kèm hiệu ứng
   dữ liệu (vẽ trên canvas, xem dang_nhap_holo.js), kính mờ viền sáng.
   Mọi selector đều nằm dưới .holo để trang OTP (ma_xac_thuc.html) — dùng
   chung .login-luoi — giữ nguyên như cũ. */

.holo {
  --holo-den: #04060a;
  --holo-den-2: #070b12;
  --holo-cyan: #22d3ee;
  --holo-cyan-nhat: #67e8f9;
  --holo-xanh: #3b82f6;
  --holo-ngoc: #2dd4bf;
  --holo-vien: rgba(34, 211, 238, 0.22);
  --holo-kinh: rgba(8, 13, 22, 0.62);
  --holo-font: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  background-color: var(--holo-den);
}

/* ---- Nền: đen nhám + lưới neon mờ dần ra mép, quầng cyan rất nhẹ */
.holo.login-luoi::before {
  background-image:
    radial-gradient(ellipse 55% 50% at 32% 45%, rgba(34, 211, 238, 0.07), transparent 70%),
    radial-gradient(ellipse 40% 45% at 82% 50%, rgba(59, 130, 246, 0.08), transparent 70%),
    linear-gradient(rgba(34, 211, 238, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(34, 211, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.025) 1px, transparent 1px),
    radial-gradient(ellipse at 50% 40%, #0a111c 0%, var(--holo-den) 70%);
  background-size: 100% 100%, 100% 100%, 96px 96px, 96px 96px, 24px 24px, 24px 24px, 100% 100%;
  -webkit-mask-image: none;
  mask-image: none;
}

.holo.login-luoi::after {
  background: linear-gradient(90deg, transparent, var(--holo-cyan), var(--holo-xanh), var(--holo-ngoc), transparent);
  box-shadow: 0 0 22px 2px rgba(34, 211, 238, 0.6);
}

/* ---- Cột trái: bỏ ảnh tĩnh, nhường chỗ cho canvas hologram */
.holo .login-trai {
  background: none;
  border-right: 1px solid rgba(34, 211, 238, 0.12);
}
.holo .login-trai::before { display: none; }
.holo .login-trai::after { opacity: 0.18; }

.holo .holo-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
  height: 100%;
  z-index: 0 !important;
  pointer-events: none;
  display: block;
}
/* Màn hẹp: hologram lùi ra sau chữ, nhạt bớt cho chữ dễ đọc */
@media (max-width: 1439px) {
  .holo .holo-canvas { width: 78%; opacity: 0.55; }
}

/* ---- Chữ: geometric sans viễn tưởng (Chakra Petch có đủ dấu tiếng Việt) */
.holo .cyber-hero-title,
.holo .login-brand-title,
.holo .login-form-title,
.holo .cyber-f-name,
.holo .cyber-label,
.holo .cyber-hero-badge,
.holo .onebss-badge-tag,
.holo .cyber-submit-btn {
  font-family: var(--holo-font);
}

.holo .cyber-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(4, 6, 10, 0.95);
}
.holo .cyber-hero-title .holo-dong-nho {
  display: block;
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--holo-cyan-nhat);
  margin-bottom: 0.6rem;
  text-shadow: 0 0 14px rgba(34, 211, 238, 0.55);
}
.holo .cyber-gradient-text {
  background: linear-gradient(90deg, var(--holo-cyan-nhat) 0%, var(--holo-xanh) 55%, var(--holo-ngoc) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.35));
}
.holo .cyber-hero-desc {
  font-size: 0.875rem;
  color: #9fb3c8;
  max-width: 30rem;
  text-shadow: 0 1px 10px rgba(4, 6, 10, 0.95);
}

.holo .cyber-hero-badge {
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.32);
  color: var(--holo-cyan-nhat);
  letter-spacing: 0.14em;
  font-weight: 600;
  box-shadow: inset 0 0 12px rgba(34, 211, 238, 0.08);
}

.holo .cyber-logo-box {
  background: linear-gradient(135deg, #0e7490 0%, #1d4ed8 100%);
  border-radius: 12px;
  font-family: var(--holo-font);
  box-shadow: 0 0 22px rgba(34, 211, 238, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.35);
}
.holo .login-brand-title { font-weight: 700; letter-spacing: 0.01em; }
.holo .login-chan { border-top-color: rgba(34, 211, 238, 0.1); color: #4b5d73; }

/* ---- Thẻ chức năng: module nổi, kính tối viền sáng, quét sáng khi rê chuột */
.holo .cyber-features-grid { gap: 0.875rem; max-width: 36rem; }
.holo .cyber-feature-card {
  border-radius: 10px;
  background: var(--holo-kinh);
  border: 1px solid rgba(34, 211, 238, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: holoTroi 6s ease-in-out infinite;
}
.holo .cyber-feature-card:nth-child(2) { animation-delay: -1.5s; }
.holo .cyber-feature-card:nth-child(3) { animation-delay: -3s; }
.holo .cyber-feature-card:nth-child(4) { animation-delay: -4.5s; }
@keyframes holoTroi {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.holo .cyber-feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.06) 40%, rgba(103, 232, 249, 0.38) 50%, rgba(34, 211, 238, 0.06) 60%, transparent);
  opacity: 0;
  pointer-events: none;
}
.holo .cyber-feature-card:hover {
  animation-play-state: paused;
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(8, 16, 28, 0.8);
  box-shadow: 0 18px 34px -12px rgba(0, 0, 0, 0.9), 0 0 22px -4px rgba(34, 211, 238, 0.4);
}
.holo .cyber-feature-card:hover::after {
  opacity: 1;
  animation: holoQuet 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes holoQuet {
  from { left: -40%; }
  to { left: 110%; }
}
.holo .cyber-f-icon { border-radius: 8px; transition: box-shadow 0.25s ease, filter 0.25s ease; }
.holo .cyber-feature-card:hover .cyber-f-icon {
  filter: drop-shadow(0 0 6px currentColor);
  box-shadow: 0 0 18px currentColor;
}
.holo .cyber-f-name { font-weight: 600; font-size: 0.875rem; letter-spacing: 0.01em; }

/* ---- Cột phải + khung đăng nhập kính mờ */
.holo .login-phai {
  border-left: 1px solid rgba(34, 211, 238, 0.08);
  background: linear-gradient(180deg, rgba(4, 6, 10, 0.2), rgba(4, 6, 10, 0.55));
}
.holo .login-form-boc {
  overflow: visible;
  border-radius: 18px;
  background: rgba(7, 12, 20, 0.72);
  border: 1px solid rgba(34, 211, 238, 0.24);
  box-shadow:
    0 30px 70px -20px rgba(0, 0, 0, 0.95),
    0 0 46px -12px rgba(34, 211, 238, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.holo .login-form-boc::before {
  left: 18px;
  right: 18px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--holo-cyan), var(--holo-xanh), var(--holo-ngoc), transparent);
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.8);
}
.holo .login-onebss-header {
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.05);
  border-color: rgba(34, 211, 238, 0.2);
}
.holo .onebss-badge-tag { color: var(--holo-cyan-nhat); letter-spacing: 0.14em; font-weight: 600; }
.holo .login-form-title { font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 1.375rem; }
.holo .login-form-sub { color: #7f95ad; }

/* Tâm ngắm HUD: kiểm tra toàn vẹn phiên kết nối */
.holo-tam-ngam {
  position: absolute;
  top: -38px;
  right: -38px;
  width: 92px;
  height: 92px;
  pointer-events: none;
  color: var(--holo-cyan);
  opacity: 0.6;
  z-index: 3;
}
.holo-tam-ngam svg { width: 100%; height: 100%; overflow: visible; }
.holo-tn-xoay { transform-origin: 50% 50%; animation: cyberXoay 14s linear infinite; }
.holo-tn-xoay-nguoc { transform-origin: 50% 50%; animation: cyberXoayNguoc 9s linear infinite; }
.holo-tn-tam { transform-origin: 50% 50%; animation: holoTamDap 2.4s ease-in-out infinite; }
@keyframes holoTamDap {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.6); opacity: 0.35; }
}
.holo-tn-nhan {
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%);
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--holo-cyan-nhat);
}
/* Điện thoại: tâm ngắm sẽ đè lên nút "Đổi giao diện" ngay phía trên -> ẩn;
   bớt giãn chữ để tiêu đề và nút không rớt xuống 2 dòng */
@media (max-width: 640px) {
  .holo-tam-ngam { display: none; }
  .holo .login-form-title { font-size: 1.2rem; letter-spacing: 0.02em; }
  .holo .onebss-badge-tag { letter-spacing: 0.06em; }
  .holo .cyber-submit-btn { letter-spacing: 0.06em; font-size: 0.9375rem; white-space: nowrap; }
}

/* Ô nhập: viền LED mỏng, bấm vào thì sáng lan ra + vạch LED chạy dưới đáy */
.holo .cyber-label { font-weight: 600; letter-spacing: 0.14em; color: #8aa3bb; font-size: 0.6875rem; }
.holo .cyber-input-wrap::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--holo-cyan), var(--holo-ngoc), transparent);
  box-shadow: 0 0 10px var(--holo-cyan);
  transform: scaleX(0);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.holo .cyber-input-wrap:focus-within::after { transform: scaleX(1); }
.holo .cyber-input {
  border-radius: 10px;
  background: rgba(3, 6, 11, 0.78) !important;
  border: 1px solid rgba(34, 211, 238, 0.2) !important;
  box-shadow: inset 0 0 14px rgba(34, 211, 238, 0.04), inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
.holo .cyber-input:hover { border-color: rgba(34, 211, 238, 0.38) !important; }
.holo #password { padding-right: 2.75rem; }
.holo .cyber-input:focus {
  border-color: var(--holo-cyan) !important;
  background: rgba(3, 8, 14, 0.92) !important;
  animation: holoLan 0.7s ease-out;
  box-shadow:
    0 0 0 1px rgba(34, 211, 238, 0.35),
    0 0 22px rgba(34, 211, 238, 0.28),
    inset 0 0 16px rgba(34, 211, 238, 0.08) !important;
}
@keyframes holoLan {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.65), 0 0 0 rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0), 0 0 22px rgba(34, 211, 238, 0.28); }
}
.holo .cyber-input-wrap:focus-within .cyber-input-icon {
  color: var(--holo-cyan-nhat);
  filter: drop-shadow(0 0 5px var(--holo-cyan));
}

/* Nút đăng nhập: góc vát, gradient xanh đậm -> ngọc điện tử, khiên khoá động */
.holo-nut-boc {
  margin-top: 0.75rem;
  filter: drop-shadow(0 6px 18px rgba(34, 211, 238, 0.35));
  transition: filter 0.25s ease;
}
.holo-nut-boc:hover { filter: drop-shadow(0 8px 26px rgba(34, 211, 238, 0.55)); }
.holo .cyber-submit-btn {
  margin-top: 0;
  border-radius: 0;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
  background: linear-gradient(100deg, #1e3a8a 0%, #1d4ed8 30%, #0891b2 65%, #14b8a6 85%, #2dd4bf 100%);
  background-size: 180% 100%;
  background-position: 0% 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.16em;
  transition: background-position 0.5s ease, transform 0.2s ease;
}
.holo .cyber-submit-btn:hover {
  background-position: 100% 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}
.holo .cyber-submit-btn::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
.holo-khien { flex-shrink: 0; overflow: visible; }
.holo-khien .vien {
  stroke-dasharray: 64;
  animation: holoVeKhien 3.2s ease-in-out infinite;
}
.holo-khien .khoa { transform-origin: 12px 13px; animation: holoKhoa 3.2s ease-in-out infinite; }
@keyframes holoVeKhien {
  0% { stroke-dashoffset: 64; }
  40%, 80% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -64; }
}
@keyframes holoKhoa {
  0%, 35% { transform: scale(0.6); opacity: 0; }
  50%, 85% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.6); opacity: 0; }
}

.holo .cyber-notice-box {
  border-radius: 8px;
  background: rgba(34, 211, 238, 0.045);
  border-color: rgba(34, 211, 238, 0.16);
}

/* Mấy chỗ trước đây viết style nội tuyến, chuyển ra đây để ban ngày đổi được màu */
.holo .holo-badge-tru-so {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(14, 165, 233, 0.15));
  border-color: rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}
.holo .holo-logo-nho-ten { color: #f8fafc; }
.holo .holo-logo-nho-dv { color: #38bdf8; }
.holo .holo-san-pham { color: #64748b; }
.holo .holo-san-pham strong { color: #38bdf8; }

/* Công tắc Ban ngày / Ban đêm: cả hai lựa chọn luôn hiện, nửa đang bật sáng
   rực, nửa kia mời bấm; vòng sáng nhấp nháy vài nhịp đầu để ai cũng để ý. */
.holo .holo-chuyen {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(103, 232, 249, 0.45);
  background: rgba(8, 16, 28, 0.7);
  box-shadow: 0 0 18px -2px rgba(34, 211, 238, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  font-family: var(--holo-font);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: holoChuyenNhayDem 2.2s ease-out 1s 6;
}
.holo .holo-chuyen[hidden] { display: none; }
.holo .holo-chuyen:focus-visible { outline: 2px solid var(--holo-cyan); outline-offset: 3px; }
.holo .holo-chuyen-o {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  color: #b6c6d8;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.holo .holo-chuyen-o.ngay svg { color: #fcd34d; }
.holo .holo-chuyen:hover .holo-chuyen-o.ngay { background: rgba(252, 211, 77, 0.16); color: #fde68a; }
/* Ban đêm đang bật: nửa "Ban đêm" sáng màu cyan-xanh */
.holo .holo-chuyen-o.dem {
  background: linear-gradient(135deg, #0e7490, #2563eb);
  color: #fff;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
@keyframes holoChuyenNhayDem {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.7), 0 0 18px -2px rgba(34, 211, 238, 0.45); }
  100% { box-shadow: 0 0 0 14px rgba(34, 211, 238, 0), 0 0 18px -2px rgba(34, 211, 238, 0.45); }
}
@keyframes holoChuyenNhayNgay {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.65), 0 6px 18px -6px rgba(15, 60, 110, 0.4); }
  100% { box-shadow: 0 0 0 14px rgba(245, 158, 11, 0), 0 6px 18px -6px rgba(15, 60, 110, 0.4); }
}
/* Công tắc rộng hơn nút cũ: thanh trên được phép xuống hàng, logo nhỏ không bị bóp */
.holo .login-thanh-tren { flex-wrap: wrap; row-gap: 0.625rem; }
.holo .login-logo-nho { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 480px) {
  .holo .holo-chuyen { font-size: 0.75rem; }
  .holo .holo-chuyen-o { padding: 0.45rem 0.65rem; gap: 0.3rem; }
}

/* Lớp trời ban ngày: luôn có trong trang nhưng ẩn + đứng hình khi ban đêm */
.holo-troi {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0s linear 0.9s;
  /* Nắng sớm: trời xanh nhạt, quanh mặt trời ngả kem vàng, chân trời phủ sương ấm */
  background-image:
    radial-gradient(ellipse 52% 46% at 44% 16%, rgba(255, 244, 196, 0.85), rgba(255, 234, 170, 0.4) 45%, transparent 75%),
    radial-gradient(ellipse 70% 60% at 50% 20%, rgba(255, 226, 160, 0.38), transparent 80%),
    linear-gradient(180deg, #bcd6e8 0%, #d3e3ea 22%, #ece8cf 46%, #f1e2bd 68%, #ecdcb8 100%);
}
/* Sương mờ ấm ở chân trời cho ảnh nền "ngợp nắng" như buổi sáng */
.holo-troi::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(255, 238, 200, 0.28) 70%, rgba(255, 236, 196, 0.42) 100%);
}
.holo-troi * { animation-play-state: paused; }
html:not(.dark) .holo-troi {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s ease, visibility 0s;
}
html:not(.dark) .holo-troi * { animation-play-state: running; }

/* Mặt trời sau lưng tòa nhà, chếch trái; vầng tia sáng xoay rất chậm */
.holo-mat-troi {
  position: absolute;
  left: 44%;
  top: 8%;
  width: 110px;
  height: 110px;
  margin-left: -55px;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 40%, #fffef4 0%, #fff3c4 55%, #fbdb8a 100%);
  box-shadow:
    0 0 36px 14px rgba(255, 244, 190, 0.85),
    0 0 110px 56px rgba(255, 232, 160, 0.5),
    0 0 280px 140px rgba(255, 236, 180, 0.36);
  animation: holoNang 7s ease-in-out infinite;
}
.holo-mat-troi::before {
  content: "";
  position: absolute;
  inset: -150px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 244, 200, 0.22) 0deg 5deg, transparent 5deg 20deg);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 68%);
  mask-image: radial-gradient(circle, #000 18%, transparent 68%);
  animation: cyberXoay 90s linear infinite;
}
@keyframes holoNang {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.04); filter: brightness(1.06); }
}
@media (max-width: 1023px) {
  .holo-mat-troi { left: 78%; top: 4%; width: 80px; height: 80px; margin-left: -40px; }
}

/* Mây: một khối bo tròn + 2 cụm phồng, trôi ngang thật chậm qua cả trang */
.holo-may {
  position: absolute;
  left: 0;
  width: 190px;
  height: 54px;
  border-radius: 60px;
  background: #fbf6e8;
  opacity: 0.55;
  filter: drop-shadow(0 10px 14px rgba(150, 120, 60, 0.1));
  animation: holoMayTroi 140s linear infinite;
}
.holo-may::before,
.holo-may::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fbf6e8;
}
.holo-may::before { width: 86px; height: 86px; left: 30px; top: -44px; }
.holo-may::after { width: 62px; height: 62px; left: 96px; top: -30px; }
.holo-may.m1 { top: 12%; animation-duration: 150s; animation-delay: -30s; }
.holo-may.m2 { top: 30%; transform-origin: left; animation-duration: 190s; animation-delay: -120s; opacity: 0.7; scale: 0.7; }
.holo-may.m3 { top: 6%; animation-duration: 120s; animation-delay: -85s; opacity: 0.8; scale: 0.85; }
.holo-may.m4 { top: 48%; animation-duration: 220s; animation-delay: -10s; opacity: 0.55; scale: 0.55; }
@keyframes holoMayTroi {
  from { transform: translateX(-260px); }
  to { transform: translateX(calc(100vw + 60px)); }
}

/* ============================================================ BAN NGÀY
   Bật bằng nút "Đổi giao diện" (html bỏ lớp .dark). Giữ bố cục Holo, đổi
   sang trời xanh nắng, kính trắng mờ, chữ navy; canvas tự đổi bảng màu. */
html:not(.dark) .holo { background-color: #ece3c9; color: #0b2545; }
html:not(.dark) .holo.login-luoi::before { opacity: 0; }
.holo.login-luoi::before { transition: opacity 0.9s ease; }
html:not(.dark) .holo.login-luoi::after {
  background: linear-gradient(90deg, transparent, #fbbf24, #38bdf8, #2dd4bf, transparent);
  box-shadow: 0 0 18px 1px rgba(56, 189, 248, 0.45);
}

.holo .login-form-boc,
.holo .cyber-feature-card,
.holo .cyber-input,
.holo .cyber-hero-title,
.holo .cyber-hero-desc,
.holo .login-form-title,
.holo .cyber-label,
.holo .login-phai {
  transition: background-color 0.6s ease, border-color 0.6s ease, color 0.6s ease, box-shadow 0.6s ease, transform 0.25s ease;
}

html:not(.dark) .holo .login-trai { border-right-color: rgba(3, 105, 161, 0.12); color: #0b2545; }
html:not(.dark) .holo .login-trai::after { opacity: 0; }
html:not(.dark) .holo .holo-canvas { opacity: 1; }
@media (max-width: 1439px) {
  html:not(.dark) .holo .holo-canvas { opacity: 0.7; }
}

html:not(.dark) .holo .login-brand-title { color: #0b2545; }
html:not(.dark) .holo .login-brand-sub { color: #3f6489; }
html:not(.dark) .holo .cyber-status-pill { background: rgba(16, 185, 129, 0.14); border-color: rgba(5, 150, 105, 0.4); color: #047857; }
html:not(.dark) .holo .cyber-logo-box { box-shadow: 0 8px 20px -6px rgba(14, 116, 144, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.4); }

html:not(.dark) .holo .cyber-hero-badge {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(2, 132, 199, 0.35);
  color: #0369a1;
  box-shadow: 0 4px 12px -4px rgba(3, 105, 161, 0.25);
}
html:not(.dark) .holo .holo-badge-tru-so { border-color: rgba(5, 150, 105, 0.4); color: #047857; }
html:not(.dark) .holo .cyber-hero-title {
  color: #0b2545;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.9), 0 1px 2px rgba(255, 255, 255, 0.8);
}
html:not(.dark) .holo .cyber-hero-title .holo-dong-nho { color: #0284c7; text-shadow: none; }
html:not(.dark) .holo .cyber-gradient-text {
  background-image: linear-gradient(90deg, #0284c7 0%, #1d4ed8 55%, #0d9488 100%);
  filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.9));
}
html:not(.dark) .holo .cyber-hero-desc { color: #2c4a6b; text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9); }
html:not(.dark) .holo .cyber-hero-desc strong { color: #0b2545; }

html:not(.dark) .holo .cyber-feature-card {
  background: rgba(250, 249, 244, 0.6);
  border-color: rgba(2, 132, 199, 0.16);
  box-shadow: 0 14px 30px -16px rgba(15, 60, 110, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
html:not(.dark) .holo .cyber-feature-card::before { background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent 60%); }
html:not(.dark) .holo .cyber-feature-card:hover {
  background: rgba(247, 250, 252, 0.8);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 18px 34px -14px rgba(15, 60, 110, 0.4), 0 0 0 3px rgba(56, 189, 248, 0.15);
}
html:not(.dark) .holo .cyber-feature-card::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2) 40%, rgba(255, 255, 255, 0.95) 50%, rgba(255, 255, 255, 0.2) 60%, transparent);
}
html:not(.dark) .holo .cyber-f-name { color: #0b2545; }
html:not(.dark) .holo .cyber-f-desc { color: #4b6584; }
html:not(.dark) .holo .cyber-f-icon { box-shadow: none; }
html:not(.dark) .holo .cyber-f-icon.cyan { background: rgba(14, 165, 233, 0.12); color: #0284c7; }
html:not(.dark) .holo .cyber-f-icon.emerald { background: rgba(16, 185, 129, 0.12); color: #059669; }
html:not(.dark) .holo .cyber-f-icon.indigo { background: rgba(99, 102, 241, 0.12); color: #4f46e5; }
html:not(.dark) .holo .cyber-f-icon.amber { background: rgba(245, 158, 11, 0.14); color: #d97706; }
html:not(.dark) .holo .cyber-feature-card:hover .cyber-f-icon { filter: none; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8); }

/* Chân trang nằm trên mặt đường nên dùng chữ sáng */
html:not(.dark) .holo .login-chan { border-top-color: rgba(255, 255, 255, 0.28); color: rgba(255, 255, 255, 0.88); }
html:not(.dark) .holo .login-chan .mono { color: #e0f2fe; }

/* Cột phải + khung đăng nhập: kính trắng */
html:not(.dark) .holo .login-phai {
  border-left-color: rgba(3, 105, 161, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.12));
}
html:not(.dark) .holo .holo-logo-nho-ten { color: #0b2545; }
html:not(.dark) .holo .holo-logo-nho-dv { color: #0369a1; }
/* Công tắc ban ngày / ban đêm ở chế độ sáng: nửa "Ban ngày" đang bật (vàng cam) */
html:not(.dark) .holo .holo-chuyen {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 6px 18px -6px rgba(15, 60, 110, 0.4);
  animation-name: holoChuyenNhayNgay;
}
html:not(.dark) .holo .holo-chuyen-o { color: #3d5a7a; }
html:not(.dark) .holo .holo-chuyen-o.dem svg { color: #4f46e5; }
html:not(.dark) .holo .holo-chuyen:hover .holo-chuyen-o.dem { background: rgba(79, 70, 229, 0.12); color: #3730a3; }
html:not(.dark) .holo .holo-chuyen-o.ngay {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #3b2a00;
  box-shadow: 0 4px 12px -2px rgba(245, 158, 11, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
html:not(.dark) .holo .holo-chuyen-o.ngay svg { color: #3b2a00; }
html:not(.dark) .holo .holo-chuyen-o.dem { background: none; box-shadow: none; }

html:not(.dark) .holo .login-form-boc {
  background: rgba(251, 250, 246, 0.8);
  border-color: rgba(2, 132, 199, 0.18);
  box-shadow:
    0 30px 60px -26px rgba(15, 60, 110, 0.42),
    0 0 0 6px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
html:not(.dark) .holo .login-form-boc::before {
  background: linear-gradient(90deg, transparent, #fbbf24, #0ea5e9, #14b8a6, transparent);
  box-shadow: none;
}
html:not(.dark) .holo-tam-ngam { color: #0284c7; opacity: 0.55; }
html:not(.dark) .holo-tn-nhan { color: #0369a1; }
html:not(.dark) .holo .login-onebss-header {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.09), rgba(20, 184, 166, 0.08));
  border-color: rgba(2, 132, 199, 0.22);
  box-shadow: none;
}
html:not(.dark) .holo .cyber-onebss-icon { box-shadow: 0 6px 14px -4px rgba(37, 99, 235, 0.5); }
html:not(.dark) .holo .onebss-badge-tag { color: #0369a1; }
html:not(.dark) .holo .onebss-badge-desc { color: #1e3a5f; }
html:not(.dark) .holo .login-form-title { color: #0b2545; }
html:not(.dark) .holo .login-form-sub { color: #4b6584; }
html:not(.dark) .holo .cyber-label { color: #3d5a7a; }

html:not(.dark) .holo .cyber-input {
  background: #f7fafc !important;
  border-color: rgba(3, 105, 161, 0.22) !important;
  color: #0b2545 !important;
  box-shadow: inset 0 1px 2px rgba(15, 60, 110, 0.08);
}
html:not(.dark) .holo .cyber-input::placeholder { color: #94a3b8; }
html:not(.dark) .holo .cyber-input:hover { border-color: rgba(2, 132, 199, 0.45) !important; }
html:not(.dark) .holo .cyber-input:focus {
  background: #fbfdfe !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18), 0 6px 16px -8px rgba(2, 132, 199, 0.45) !important;
}
html:not(.dark) .holo .cyber-input-icon { color: #7b93ad; }
html:not(.dark) .holo .cyber-input-wrap:focus-within .cyber-input-icon { color: #0284c7; filter: none; }
html:not(.dark) .holo .cyber-input-wrap::after { box-shadow: none; }
html:not(.dark) .holo .cyber-eye-btn:hover { color: #0b2545; }

html:not(.dark) .holo-nut-boc { filter: drop-shadow(0 8px 16px rgba(2, 132, 199, 0.3)); }
html:not(.dark) .holo-nut-boc:hover { filter: drop-shadow(0 10px 22px rgba(2, 132, 199, 0.45)); }
html:not(.dark) .holo .cyber-submit-btn { background-image: linear-gradient(100deg, #1d4ed8 0%, #2563eb 30%, #0891b2 65%, #14b8a6 85%, #2dd4bf 100%); }

html:not(.dark) .holo .cyber-notice-box { background: rgba(14, 165, 233, 0.07); border-color: rgba(2, 132, 199, 0.2); color: #4b6584; }
html:not(.dark) .holo .cyber-notice-box strong { color: #0b2545; }
html:not(.dark) .holo .cyber-notice-icon { color: #0284c7; }
html:not(.dark) .holo .cyber-alert-error { background: #fff1f2; border-color: rgba(225, 29, 72, 0.35); color: #9f1239; box-shadow: 0 6px 16px -8px rgba(225, 29, 72, 0.4); }
html:not(.dark) .holo .holo-san-pham { color: #4b6584; }
html:not(.dark) .holo .holo-san-pham strong { color: #0369a1; }
html:not(.dark) .holo .chi-mobile-khoi { color: rgba(255, 255, 255, 0.9) !important; text-shadow: 0 1px 3px rgba(20, 40, 60, 0.5); }

/* ---- Chân trang ban ngày: thảm cỏ, vỉa hè, mặt đường có vạch kẻ và vài chiếc xe.
   Cao theo % của trang để chân tòa nhà (canvas) luôn đứng trên thảm cỏ. */
.holo-duong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 29%;
  min-height: 150px;
}
.holo-co {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 44%;
  background: linear-gradient(180deg, rgba(140, 175, 110, 0) 0%, rgba(140, 175, 110, 0.5) 30%, #8fae78 100%);
}
/* Dãy nhà phố hai bên, đứng sau hàng cây; mỗi nhà tự có cửa sổ */
.holo-pho { position: absolute; left: 0; right: 0; bottom: 56%; height: 0; }
.holo-pho span {
  position: absolute;
  bottom: 0;
  left: var(--l);
  width: var(--w);
  height: var(--h);
  background: linear-gradient(180deg, var(--nm), color-mix(in srgb, var(--nm) 82%, #b9a77e));
  border-top: 5px solid color-mix(in srgb, var(--nm) 70%, #8a7a58);
  box-shadow: inset -6px 0 10px -6px rgba(120, 90, 40, 0.35);
  opacity: 0.92;
}
.holo-pho span::after {
  content: "";
  position: absolute;
  inset: 12px 8px 8px;
  background: repeating-linear-gradient(0deg, rgba(95, 128, 158, 0.34) 0 8px, transparent 8px 20px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 21px);
  mask-image: repeating-linear-gradient(90deg, #000 0 9px, transparent 9px 21px);
}
.holo-pho .n1 { --l: 0; --w: 110px; --h: 160px; --nm: #ecdcbc; }
.holo-pho .n2 { --l: 116px; --w: 88px; --h: 112px; --nm: #dfe5e6; }
.holo-pho .n3 { --l: 210px; --w: 118px; --h: 188px; --nm: #f1e4c8; }
.holo-pho .n4 { --l: calc(100% - 112px); --w: 126px; --h: 168px; --nm: #e6d6b6; }
.holo-pho .n5 { --l: calc(100% - 204px); --w: 96px; --h: 122px; --nm: #dfe5e6; }
.holo-pho .n6 { --l: calc(100% - 300px); --w: 100px; --h: 178px; --nm: #f0e2c4; }
/* Cây lớn: tán nhiều tầng xanh, viền sáng vàng phía có nắng, thân nâu */
.holo-cay {
  position: absolute;
  bottom: 27%;
  width: var(--cr);
  aspect-ratio: 1 / 1.25;
  filter: drop-shadow(-4px -4px 8px rgba(255, 232, 150, 0.75));
}
.holo-cay.phai { --cr: min(26vw, 380px); right: -3%; }
.holo-cay.trai { --cr: min(15vw, 220px); left: -2%; bottom: 25%; }
.holo-cay::before {
  content: "";
  position: absolute;
  inset: 0 0 18% 0;
  background:
    radial-gradient(circle at 34% 20%, rgba(255, 238, 160, 0.85) 0 4%, transparent 22%),
    radial-gradient(circle at 50% 30%, #6c9a58 0 30%, transparent 31%),
    radial-gradient(circle at 26% 46%, #7aa862 0 24%, transparent 25%),
    radial-gradient(circle at 74% 44%, #5a8a4c 0 25%, transparent 26%),
    radial-gradient(circle at 50% 58%, #628f52 0 26%, transparent 27%),
    radial-gradient(circle at 36% 70%, #82ae68 0 18%, transparent 19%),
    radial-gradient(circle at 66% 72%, #548446 0 19%, transparent 20%);
}
.holo-cay::after {
  content: "";
  position: absolute;
  left: 46%;
  width: 7%;
  bottom: 0;
  height: 30%;
  background: linear-gradient(90deg, #8a6a46, #6e5236);
  border-radius: 3px;
}
/* Hàng cây xa: các chấm tròn xanh dịu nhiều cỡ, mờ dần lên phía trên */
.holo-co::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 18%;
  height: 34%;
  opacity: 0.7;
  background:
    radial-gradient(circle at 50% 100%, #78a468 0 46%, transparent 48%) 0 0 / 74px 100% repeat-x,
    radial-gradient(circle at 50% 100%, #9ac17e 0 44%, transparent 46%) 37px 0 / 52px 70% repeat-x;
}
.holo-via-he {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 38%;
  height: 6%;
  min-height: 8px;
  background: linear-gradient(180deg, #cfd6da, #b6bfc5);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}
.holo-mat-duong {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, #8b8d8c 0%, #727577 100%);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.holo-mat-duong::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 47%;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(250, 236, 180, 0.8) 0 44px, transparent 44px 88px);
  animation: holoVach 7s linear infinite;
}
.holo-mat-duong::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9%;
  bottom: 9%;
  border-top: 2px solid rgba(255, 255, 255, 0.42);
  border-bottom: 2px solid rgba(255, 255, 255, 0.42);
}
@keyframes holoVach { from { background-position-x: 0; } to { background-position-x: -88px; } }

/* Xe: thân + mui + 2 bánh, chạy chậm theo từng làn */
.holo-xe {
  position: absolute;
  left: 0;
  width: 64px;
  height: 18px;
  border-radius: 8px 10px 4px 4px;
  background:
    radial-gradient(circle at 14px 100%, #1f2933 0 5px, transparent 6px),
    radial-gradient(circle at 50px 100%, #1f2933 0 5px, transparent 6px),
    linear-gradient(var(--xe, #c85a54), var(--xe, #c85a54));
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.3));
}
.holo-xe::before {
  content: "";
  position: absolute;
  left: 15px;
  top: -10px;
  width: 32px;
  height: 12px;
  border-radius: 8px 10px 0 0;
  background: linear-gradient(180deg, rgba(220, 238, 250, 0.9) 0 62%, var(--xe, #c85a54) 62%);
}
.holo-xe.x1 { bottom: 14%; --xe: #c85a54; animation: holoXe 30s linear infinite; animation-delay: -9s; }
.holo-xe.x2 { bottom: 56%; --xe: #3f7cb5; animation: holoXe 38s linear infinite reverse; animation-delay: -21s; transform: scale(0.82); }
.holo-xe.x3 { bottom: 14%; --xe: #e4c25a; animation: holoXe 46s linear infinite; animation-delay: -30s; transform: scale(0.9); }
@keyframes holoXe {
  from { translate: -140px 0; }
  to { translate: calc(100vw + 140px) 0; }
}
@media (max-width: 1023px) {
  .holo-duong { height: 22%; min-height: 150px; }
  .holo-pho .n3, .holo-pho .n6 { display: none; }
  .holo-cay.phai { --cr: 46vw; right: -10%; }
  .holo-cay.trai { display: none; }
  /* chữ chân trang nằm giữa mặt đường -> bỏ vạch kẻ giữa cho khỏi đè */
  .holo-mat-duong::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .holo .cyber-feature-card,
  .holo-tn-xoay,
  .holo-tn-xoay-nguoc,
  .holo-tn-tam,
  .holo-khien .vien,
  .holo-khien .khoa,
  .holo-mat-troi,
  .holo-mat-troi::before,
  .holo-may,
  .holo-xe,
  .holo-mat-duong::before { animation: none; }
  .holo-xe { translate: 18vw 0; }
}
