/* ===== css/base.css ===== */
/* =====================================================
   TAW HRMS — DigiSME-style Theme
   Navy top navbar · gold accents · lavender body ·
   white widget cards · dropdown menus
   ===================================================== */

:root {
  /* premium deep-indigo & violet palette */
  --navy: #171d3a;
  --navy-dark: #10142b;
  --navy-menu: #1f2749;
  --gold: #a5b4fc;         /* indigo-glow accent on dark surfaces */
  --gold-soft: #c7d2fe;
  --accent: #7c6cf0;       /* violet primary accent */
  --blue: #5b5bd6;         /* primary action */
  --blue-dark: #4844b8;
  --bg: #f2f3fb;
  --card: #ffffff;
  --text: #363b46;
  --text-dark: #1e2230;
  --text-muted: #7d8494;
  --border: #e5e7f2;
  --ok: #17976b;   --ok-soft: #e2f6ee;
  --warn: #d98a06; --warn-soft: #fcf3dd;
  --bad: #d64560;  --bad-soft: #fdeaef;
  --info: #5b5bd6; --info-soft: #ecebfc;
  --radius: 12px;
  --shadow: 0 1px 4px rgba(23,29,58,.08), 0 1px 2px rgba(23,29,58,.05);
  --shadow-menu: 0 10px 30px rgba(23,29,58,.22);
}

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.5;
}

h1,h2,h3,h4 { line-height: 1.3; color: var(--text-dark); }
a { color: var(--blue); text-decoration: none; }
.muted { color: var(--text-muted); }
.small { font-size: 12.5px; }
.mt { margin-top: 16px; }
.mb { margin-bottom: 16px; }
.right { text-align: right; }
.center { text-align: center; }
.flex { display: flex; gap: 10px; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.grow { flex: 1; }


/* buttons & interactive chrome never show a text caret / selection */
button, .btn {
  -webkit-user-select: none; user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* ===== css/login.css ===== */
/* =====================================================
   TAW HRMS — Sign-in page (premium auth screen)
   ===================================================== */
.icn { vertical-align: -3px; flex: 0 0 auto; }

/* ============ premium auth screen (web + mobile app) ============ */
.auth-body {
  min-height: 100vh; min-height: 100dvh; margin: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  background:
    radial-gradient(900px 500px at 15% 0%, rgba(124,108,240,.16), transparent 60%),
    radial-gradient(900px 500px at 90% 100%, rgba(91,91,214,.18), transparent 60%),
    #0e1129;
}
.auth-shell {
  display: flex; width: 100%; max-width: 1120px; min-height: 620px;
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 0 1px rgba(165,180,252,.12);
}
.auth-left {
  flex: 1.2; position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 600px at -10% -20%, rgba(124,108,240,.35), transparent 60%),
    radial-gradient(800px 500px at 110% 120%, rgba(91,91,214,.4), transparent 55%),
    linear-gradient(150deg, #10142b 0%, #171d3a 55%, #1f2749 100%);
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 60px; color: #dfe4f8;
}
.auth-left::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(165,180,252,.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
}
.auth-logo {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, #7c6cf0, #9f7aea);
  color: #fff; font-weight: 800; font-size: 17px; letter-spacing: 1px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(124,108,240,.4); margin-bottom: 26px;
}
.auth-left h1 { color: #fff; font-size: 38px; line-height: 1.15; margin: 0 0 10px; }
.auth-left h1 span { color: #a5b4fc; }
.auth-left .sub { font-size: 15.5px; color: #aab3d6; max-width: 460px; line-height: 1.6; }
.auth-points { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #c6cdea; }
.auth-points .pt-ico {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px;
  background: rgba(165,180,252,.12); color: #a5b4fc;
  display: flex; align-items: center; justify-content: center;
}
.auth-right {
  width: 440px; background: #fff; display: flex; align-items: center; justify-content: center;
  padding: 48px 44px; position: relative; z-index: 1;
}
.auth-card { width: 100%; max-width: 360px; }
.auth-card h2 { font-size: 26px; color: #1e2230; margin: 0 0 6px; }
.auth-card .lead { color: #7d8494; font-size: 14px; margin: 0 0 30px; }
.af {
  display: block; margin-bottom: 18px;
}
.af span { display: block; font-size: 12.5px; font-weight: 700; color: #363b46; margin-bottom: 7px; letter-spacing: .3px; }
.af-input {
  display: flex; align-items: center; gap: 10px;
  border: 1.5px solid #e5e7f2; border-radius: 12px; padding: 0 14px;
  transition: border-color .15s, box-shadow .15s; background: #fafbff;
}
.af-input:focus-within { border-color: #7c6cf0; box-shadow: 0 0 0 4px rgba(124,108,240,.12); background: #fff; }
.af-input .icn { color: #9aa2b8; }
.af-input input {
  flex: 1; border: none; outline: none; background: none;
  padding: 13px 0; font-size: 14.5px; font-family: inherit; color: #1e2230; min-width: 0;
}
.af-eye { background: none; border: none; cursor: pointer; color: #9aa2b8; padding: 4px; display: flex; }
.af-eye:hover { color: #5b5bd6; }
.auth-btn {
  width: 100%; border: none; cursor: pointer; font-family: inherit;
  background: linear-gradient(135deg, #5b5bd6, #7c6cf0);
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .4px;
  padding: 14px; border-radius: 12px; margin-top: 6px;
  box-shadow: 0 10px 24px rgba(91,91,214,.35);
  transition: transform .12s, box-shadow .12s;
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(91,91,214,.45); }
.auth-btn:active { transform: none; }
.auth-err[hidden] { display: none; }
.auth-err {
  display: flex; gap: 9px; align-items: center;
  background: #fdeaef; color: #d64560; border: 1px solid #f6c6d2;
  padding: 11px 13px; border-radius: 10px; margin-bottom: 16px; font-size: 13px;
}
.auth-foot { margin-top: 26px; text-align: center; font-size: 12px; color: #9aa2b8; }
@media (max-width: 880px) {
  .auth-body { padding: 0; align-items: stretch; }
  .auth-shell {
    flex-direction: column; max-width: none; min-height: 100dvh;
    border-radius: 0; box-shadow: none;
  }
  .auth-left { flex: none; padding: 42px 28px 34px; }
  .auth-left h1 { font-size: 28px; }
  .auth-points { display: none; }
  .auth-right { width: auto; flex: 1; border-radius: 26px 26px 0 0; padding: 36px 26px; }
}

