/* ==========================================================================
   BKAV E-HOADON OFFICIAL LOGIN PAGE STYLESHEET (https://van.ehoadon.vn)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Roboto', 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0054a6 0%, #003d7a 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

/* Background Wave Vector Effects */
body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(0, 136, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* Top Navbar Header */
.top-header {
  height: 64px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-logo .logo-bkav {
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.brand-logo .logo-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.4);
}

.brand-logo .logo-ehoadon {
  font-size: 22px;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-nav a {
  color: #e0f2fe;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 14px;
}

/* Main Content Center Area */
.main-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10;
}

/* Split Login Card Window */
.login-window {
  width: 1060px;
  max-width: 95vw;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  overflow: hidden;
  min-height: 540px;
}

/* Left Half Banner: Ecosystem */
.banner-section {
  flex: 1.1;
  background: linear-gradient(145deg, #1d73c9 0%, #0054a6 100%);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.banner-header {
  text-align: center;
}

.banner-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.banner-subtitle {
  font-size: 11px;
  color: #b0d8ff;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Central Ecosystem Radial Wheel Graphic */
.ecosystem-wheel {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outer-orbit-ring {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  border-radius: 50%;
}

.center-hub {
  width: 110px;
  height: 110px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.center-hub .bkav-text {
  font-size: 24px;
  font-weight: 900;
  color: #0054a6;
  font-style: italic;
  line-height: 1;
}

.center-hub .reg-mark {
  font-size: 9px;
  vertical-align: super;
  font-weight: normal;
}

/* Ecosystem Orbiting Node Cards */
.node {
  position: absolute;
  background: #ffffff;
  border-radius: 20px;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #333;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease;
}

.node:hover {
  transform: scale(1.08);
}

.node-title-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.node-sub {
  font-size: 9px;
  color: #0054a6;
  font-weight: 500;
}

/* Positioning Orbiting Nodes */
.node-top       { top: 10px; left: 50%; transform: translateX(-50%); }
.node-top-right { top: 40px; right: 10px; }
.node-right     { top: 50%; right: -15px; transform: translateY(-50%); }
.node-bot-right { bottom: 40px; right: 10px; }
.node-bottom    { bottom: 10px; left: 50%; transform: translateX(-50%); }
.node-bot-left  { bottom: 40px; left: 10px; }
.node-left      { top: 50%; left: -15px; transform: translateY(-50%); }
.node-top-left  { top: 40px; left: 10px; }

/* Icon Pills Inside Nodes */
.pill-red    { background: #e11d48; color: #fff; padding: 3px 8px; border-radius: 12px; font-weight: 700; font-size: 11px; }
.pill-blue   { background: #0284c7; color: #fff; padding: 3px 8px; border-radius: 12px; font-weight: 700; font-size: 11px; }
.pill-teal   { background: #0d9488; color: #fff; padding: 3px 8px; border-radius: 12px; font-weight: 700; font-size: 11px; }
.pill-orange { background: #ea580c; color: #fff; padding: 3px 8px; border-radius: 12px; font-weight: 700; font-size: 11px; }

/* Right Half: Login Form */
.login-section {
  flex: 1;
  background: #ffffff;
  padding: 50px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #1e293b;
}

.login-title {
  font-size: 26px;
  font-weight: 400;
  text-align: center;
  color: #1e293b;
  margin-bottom: 36px;
  letter-spacing: 0.3px;
}

.login-form-group {
  margin-bottom: 24px;
  position: relative;
}

.bkav-input {
  width: 100%;
  padding: 10px 36px 10px 0;
  border: none;
  border-bottom: 1px solid #cbd5e1;
  font-size: 14px;
  color: #1e293b;
  outline: none;
  background: transparent;
  transition: border-color 0.2s ease;
}

.bkav-input:focus {
  border-bottom-color: #0054a6;
}

.input-icon {
  position: absolute;
  right: 0;
  top: 10px;
  color: #0054a6;
  font-size: 16px;
  cursor: pointer;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: #475569;
}

.remember-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #0054a6;
  cursor: pointer;
}

/* Action Buttons */
.btn-submit-login {
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  border: none;
  background: #739fcf;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 14px;
  transition: all 0.2s ease;
}

.btn-submit-login:hover {
  background: #0054a6;
  box-shadow: 0 4px 12px rgba(0, 84, 166, 0.3);
}

.btn-usb-token {
  width: 100%;
  padding: 12px;
  border-radius: 24px;
  border: none;
  background: #0054a6;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 32px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 84, 166, 0.25);
}

.btn-usb-token:hover {
  background: #003d7a;
  transform: translateY(-1px);
}

.login-footer-links {
  text-align: center;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-footer-links a {
  color: #0054a6;
  text-decoration: none;
  transition: underline 0.2s ease;
}

.login-footer-links a:hover {
  text-decoration: underline;
}

/* Floating Chat Support Widget */
.floating-chat-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0084ff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(0, 132, 255, 0.4);
  cursor: pointer;
  z-index: 100;
  transition: transform 0.2s ease;
}

.floating-chat-btn:hover {
  transform: scale(1.1);
}
