/* ============================================================
   ROOT VARIABLES
============================================================ */
:root {
  --brand: #092B4D;
  --accent: #FFC000;
  --muted: #a8b7c5;
  --card-radius: 20px;
}

/* ============================================================
   BASIC RESET
============================================================ */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background: var(--brand);
  color: #fff;
  overflow-x: hidden;
}

/* ============================================================
   TOPBAR (unchanged)
============================================================ */
.topbar {
  height: 64px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border-bottom: 1px solid rgba(255,255,255,0.03);
  position: fixed;
  left: 0; right: 0; top: 0;
  z-index: 60;
  padding: 0 20px;
  display: flex; align-items: center;
}

.brand-left { display: flex; align-items: center; }
.brand-logo { height: 38px; }
.brand-text { font-weight: 700; margin-left: 10px; color: #fff; }
.accent { color: var(--accent); font-weight: 800; }

.right-links { margin-left: auto; display:flex; align-items:center; gap:14px; }
.nav-link { color: #fff; text-decoration: none; }
.bell-btn { background:none; border:none; color:#fff; cursor:pointer; }

/* ============================================================
   MAIN VIEW (unchanged layout)
============================================================ */
.main-view {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 64px - 48px);
  padding: 100px 40px 40px 40px;
}

/* ============================================================
   LEFT PANEL — AI BACKGROUND + SVG HOLDER
============================================================ */
.left-art {
  position: relative;
  flex: 1 1 60%;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;

  background: transparent !important;
  display: flex; align-items: center; justify-content: center;

  z-index: 1;
}

/* SVG Holder — scaled larger */
.svg-holder {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: flex;
  align-items: flex-end; /* You requested bottom alignment */
  justify-content: center;

  transform: scale(1.6);
  transform-origin: bottom center;

  opacity: 1;
  z-index: 2;
}

/* Inline SVG */
/*.svg-holder svg {
  width: 85%;
  height: auto;
  opacity: 0.9;
}*/

.svg-holder{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  transform-origin:center center;
  overflow:hidden;
  opacity: 1;
  z-index: 2;

}
.svg-holder svg {
  width: 92%;
  height: auto;
  transform-origin: center center;
  transform: scale(1.6);
/*  transform: none; /* or scale(1.15) if you want larger */
  opacity: 0.9;

}












/* Remove old shapes */
.left-art .layer-1,
.left-art .layer-2,
.left-art .layer-3 { display: none !important; }

/* AI Background Layers */
#leftArt::before,
#leftArt::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#leftArt::before {
  background: radial-gradient(circle at 50% 50%, #0F3A63 0%, rgba(0,0,0,0) 70%);
  opacity: 0.45;
}

#leftArt::after {
  background: radial-gradient(circle at 50% 50%, #4AC6FF 0%, rgba(0,0,0,0) 85%);
  opacity: 0.25;
}

/* AI Grid Pattern */
#leftArt .ai-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

/* Scan Beam */
#leftArt .scan-beam {
  position: absolute;
  inset: 0;
  height: 120px;
  pointer-events:none;
  opacity:0;
  transform: translateY(-160px);
  background: linear-gradient(
    to bottom,
    rgba(74,198,255,0) 0%,
    rgba(74,198,255,0.4) 35%,
    rgba(74,198,255,0.7) 50%,
    rgba(74,198,255,0.4) 65%,
    rgba(74,198,255,0) 100%
  );
  filter: blur(4px);
  z-index:3;
}

/* Hologram Shimmer */
#leftArt .hologram-shimmer {
  position: absolute;
  top:0; left:-150%;
  width:150%; height:100%;
  opacity:0;
  background:linear-gradient(
      120deg,
      rgba(255,255,255,0) 0%,
      rgba(74,198,255,0.25) 50%,
      rgba(255,255,255,0) 100%
  );
  filter: blur(12px);
  transform: skewX(-25deg);
  pointer-events:none;
  z-index:4;
}

/* ============================================================
   RIGHT PANEL — LOGIN CARD (UPDATED TO MATCH SIGNUP)
============================================================ */
.login-side {
  flex: 0 0 420px;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

/* GLASS LOGIN CARD — identical to signup */
.login-card {
  width: 100%;
  max-width: 420px;

  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);

  border-radius: 20px;
  padding: 32px;

  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
  color: #fff;
}

.login-card h2 {
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.muted { color: rgba(255,255,255,0.6); }

/* ============================================================
   INPUT FIELDS (MATCH SIGNUP)
============================================================ */
.form-control {
  padding: 8px 12px;
  height: 38px;
  border-radius: 8px;
  font-size: 0.92rem;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;

  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.55);
}

/* GOLD FOCUS EFFECT — identical to signup */
.form-control.input-focus {
  background: rgba(255,192,0,0.15) !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 10px rgba(255,192,0,0.45);
}

/* Password visibility icon */

.btn-password-toggle {
    position: absolute;
    right: 10px;
    bottom: 0;
    margin: 0 0;
    padding: 8px 12px;
    height: 38px;
    width: 38px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: transparent;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    color: var(--brand); /* transparent var(--accent);*/

    z-index: 10;
}

.btn-password-toggle i {
    font-size: 18px;
    display: block;
    line-height: 1 !important;
    padding-top: 1px; /* tiny adjustment for FA baseline */
}

.btn-password-toggle i,
.btn-password-toggle .fa,
.btn-password-toggle .fa-solid {
    line-height: 1 !important;     
    display: block;                
}

.btn-password-toggle:hover {
  color: var(--accent); /*var(--accent);*/
  font-weight: bolder;
  background: var(--brand) !important;
}

.btn-password-toggle > i.fa-regular.fa-eye,
.btn-password-toggle > i.fa-solid.fa-eye,
.btn-password-toggle > i.fa-eye {
    display: block !important;
    line-height: 1 !important;

    font-size: 18px !important;
    height: 18px !important;
    width: 18px !important;

    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   BUTTON (IDENTICAL TO SIGNUP)
============================================================ */
.btn-primary {
  height: 38px;
  min-height: 38px;
  line-height: 38px;
  width: 100%;
  padding: 0 14px;

  border-radius: 8px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, #FFC000, #e8ad00);
  color: #092B4D;

  box-shadow: 0 0 12px rgba(255,192,0,0.45);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 18px rgba(255,192,0,0.6);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

/* Shimmer */
.btn-primary::before {
  content: "";
  position: absolute;
  left: -120%;
  top: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(
      120deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.4) 50%,
      rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  transition: 0.45s;
}

.btn-primary:hover::before {
  left: 130%;
}

/* ============================================================
   FOOTER (unchanged)
============================================================ */
.site-footer {
  height: 48px;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;

  border-top: 1px solid rgba(255,255,255,0.08);
  color: #e6eef4;
  font-size: 13px;
  z-index: 60;
}

/* ============================================================
   MOBILE MODE
============================================================ */
@media(max-width: 900px) {
  .main-view { display: block; padding: 90px 20px 80px; }
  .left-art { display:none; }
  .login-side { margin:0 auto; }
}

@media(max-width: 575px) {
  .login-card { padding: 20px; }
  .brand-text { font-size: 14px; }
  .site-footer { font-size: 12px; }
}


.help-text a,
.login-card a,
.reset-card a,
.signup-card a,
a.white-link {
    color: rgba(255,255,255,0.90) !important;
    text-decoration: none !important;
    font-weight: 600;
}

.help-text a:hover,
.login-card a:hover,
.reset-card a:hover,
.signup-card a:hover,
a.white-link:hover {
    color: var(--accent) !important; /* gold hover */
    text-decoration: underline !important;
}
