/* ===== AEI Login Page (isolated) ===== */
/* LAST UPDATED: 2026-02-23 - BABY BLUE VERSION */
:root{
  --aei-blue:#1f4ed8;
  --aei-blueH:#1e40af;
  --aei-orange:#7cc9ff;
  --aei-orangeH:#63b8f3;
  --aei-dark:#0f172a;
  --aei-slate:#334155;
  --aei-muted:#64748b;
  --aei-card:#ffffff;
  --aei-shadow: 0 22px 60px rgba(2,6,23,.12);
}

*{ box-sizing:border-box; }
html,body{ height:100%; margin:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--aei-dark);
}

.aeiL-root{
  min-height:100vh;
  background: radial-gradient(900px 500px at 20% 20%, rgba(31,78,216,.18), transparent 60%),
              radial-gradient(900px 500px at 80% 70%, rgba(124,201,255,.16), transparent 60%),
              linear-gradient(180deg,#e6e9ee 0%, #d4dae2 100%);
  display:flex;
  flex-direction:column;
}

.aeiL-top{
  position:fixed;
  top:18px;
  left:22px;
  z-index:10;
  padding:0;
}

.aeiL-logoLink{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
}

.aeiL-logo{
  height:58px;
  width:auto;
  display:block;
  filter: drop-shadow(0 8px 18px rgba(2,6,23,.10));
}

.aeiL-main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:92px 18px 28px 18px;
}

.aeiL-card{
  width:min(860px, 92vw);
  background:var(--aei-card);
  border-radius:22px;
  padding:44px 40px;
  box-shadow:var(--aei-shadow);
  border:1px solid rgba(148,163,184,.35);
  text-align:center;
}

.aeiL-hero{ margin-bottom:28px; }

.aeiL-brand{
  margin:0 0 14px 0;
  font-size:46px;
  font-weight:900;
  letter-spacing:-0.02em;
  line-height:1.05;
  color:var(--aei-dark);
}

.aeiL-subtitle{
  margin:0;
  font-size:17px;
  line-height:1.4;
  color:var(--aei-slate);
}

.aeiL-actions{
  display:flex;
  flex-direction:column;
  gap:16px;
  align-items:center;
}

.aeiL-btn{
  width:min(560px, 100%);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  text-decoration:none;
  padding:18px 20px;
  border-radius:16px;
  color:#fff;
  box-shadow:0 14px 28px rgba(2,6,23,.12);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
  min-height:52px;
  touch-action:manipulation;
}

.aeiL-btnTitle{
  font-size:20px;
  font-weight:800;
  line-height:1.15;
  margin:0 0 6px 0;
}

.aeiL-btnSub{
  font-size:15px;
  line-height:1.25;
  opacity:.92;
}

.aeiL-btnTitle, .aeiL-btnSub{ display:block; white-space:normal; }

.aeiL-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 40px rgba(2,6,23,.16);
  filter:brightness(.98);
}

.aeiL-btn--student{ 
  background: linear-gradient(135deg, #1f4ed8, #2b64ff) !important;
}
.aeiL-btn--student:hover{ 
  background: linear-gradient(135deg, #1e40af, #2451ff) !important;
}

.aeiL-btn--employer{ 
  background: linear-gradient(135deg, #7cc9ff, #8fd4ff) !important;
}
.aeiL-btn--employer:hover{ 
  background: linear-gradient(135deg, #63b8f3, #72c4f5) !important;
}

.aeiL-btn--login{ 
  background: linear-gradient(135deg, #1e293b, #0f172a) !important;
}
.aeiL-btn--login:hover{ 
  background: linear-gradient(135deg, #0f172a, #020617) !important;
}

.aeiL-footnote{
  margin-top:22px;
  font-size:13px;
  color:var(--aei-muted);
}

@media (max-width:640px){
  .aeiL-top{ top:14px; left:16px; }
  .aeiL-logo{ height:48px; }
  .aeiL-main{ padding:82px 14px 22px 14px; }
  .aeiL-brand{ font-size:34px; }
  .aeiL-card{ padding:34px 18px; border-radius:18px; }
  .aeiL-btn{ padding:16px 16px; border-radius:14px; }
  .aeiL-btnTitle{ font-size:18px; }
  .aeiL-btnSub{ font-size:14px; }
  .aeiL-card{
    width:100%;
  }
  .aeiL-btn{
    width:100%;
  }
}

/* ===== FORCE LOGO TOP LEFT ===== */

.aeiL-header{
  position:fixed;
  top:20px;
  left:24px;
  z-index:50;
}

.aeiL-logo{
  height:60px;       /* medium-small */
  width:auto;
  display:block;
}

.aeiL-main{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:110px;   /* prevent overlap with fixed logo */
}

.aeiL-content{
  text-align:center;
  max-width:860px;
  width:100%;
}

/* ===== Dynamic Logo Box ===== */
.aeiL-header{
  position:fixed;
  top:20px;
  left:24px;
  z-index:60;
}

.aeiL-logoLink{
  display:inline-flex;
  text-decoration:none;
}

.aeiL-logoBox{
  width:120px;
  height:60px;
  border-radius:12px;
  background:#fff;
  border:1px solid rgba(148,163,184,.45);
  box-shadow:0 10px 24px rgba(2,6,23,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding:6px;
}

.aeiL-logo{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:none;
}

.aeiL-logoBox--image .aeiL-logoFallback{
  display:none;
}

.aeiL-logoBox--fallback .aeiL-logoFallback{
  display:flex;
}

.aeiL-logoFallback{
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  font-size:18px;
  font-weight:900;
  letter-spacing:.06em;
  color:#1f2937;
}

@media (max-width:640px){
  .aeiL-header{
    top:14px;
    left:16px;
  }

  .aeiL-logoBox{
    width:104px;
    height:52px;
  }
}

/* ===== FINAL OVERRIDE - Baby Blue Buttons ===== */
.aeiL-btn--employer,
a.aeiL-btn--employer {
  background: #3e6480 !important;
  background-image: linear-gradient(135deg, #3e6480 0%, #486a80 100%) !important;
}

.aeiL-btn--employer:hover,
a.aeiL-btn--employer:hover {
  background: #325c7a !important;
  background-image: linear-gradient(135deg, #325c7a 0%, #39627b 100%) !important;
}
