:root {
  color-scheme: light;
  --bg: #f8f9fa;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-strong: #f1f3f4;
  --surface-soft: rgba(0, 0, 0, 0.04);
  --border: #e0e0e0;
  --border-strong: #bdbdbd;
  --text: #202124;
  --muted: #5f6368;
  --muted-2: #3c4043;
  --primary: #0099cc;
  --primary-strong: #1558d6;
  --accent: #fbbc04;
  --success: #1e8e3e;
  --warning: #f29900;
  --danger: #d93025;
  --shadow-1: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow-2: 0 1px 2px 0 rgba(60,64,67,0.3), 0 2px 6px 2px rgba(60,64,67,0.15);
  --shadow-3: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
  --shadow: var(--shadow-2);
  --radius-xl: 16px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --font-body: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-display: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before { display: none; }

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

p {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.92rem 1rem;
  outline: none;
  transition: all 160ms ease;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 14px;
  padding: 0.92rem 1rem;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(201, 214, 233, 0.55);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--primary);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
  background: var(--surface);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1480px, calc(100vw - 1.5rem));
  margin: 0 auto;
  padding: 1.15rem 0 3rem;
}

.bg-orb {
  display: none !important;
}





.site-nav {
  position: sticky;
  top: 0.85rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  margin-bottom: 1.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  backdrop-filter: blur(8px);
  letter-spacing: 0.02em;
}

.site-nav .logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.site-nav .logo strong {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0099cc;
}

.site-nav .logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--surface-strong);
  box-shadow: var(--shadow-1);
}


.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.site-nav .nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.68rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 160ms ease;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a:focus-visible {
  color: var(--primary);
  background: var(--surface);
}

.site-nav .nav-links a.active {
  color: var(--primary);
  background: var(--surface);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 211, 211, 0.16);
  background: var(--surface);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill--admin {
  border-color: rgba(255, 127, 111, 0.18);
  background: var(--surface);
}

.status-pill--employee {
  border-color: rgba(76, 207, 152, 0.18);
  background: var(--surface);
}

.card,
.stat-card,
.smart-card,
.workflow-card,
.request-card,
.panel-card {
  animation: floatIn 520ms ease both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  padding: 2.15rem;
  overflow: hidden;
  align-items: center;
}

.hero--centered {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1rem;
  text-align: center;
  min-height: 16rem;
  height: auto;
  padding: 1.5rem 2rem;
  background: var(--surface);
  border-top: 4px solid var(--success);
  overflow: hidden;
}

.hero-title {
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.15;
  font-size: 1.7rem;
  color: var(--text);
}

.hero-actions-row {
  display: grid;
  justify-items: center;
  gap: 0.9rem;
  margin-top: 0.8rem;
  width: 100%;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.btn--rounded {
  border-radius: 99px;
}

.workflow-preview--inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  opacity: 0.9;
  width: auto;
  max-width: 100%;
}

.workflow-preview .arrow {
  color: var(--border-strong);
}

.field--offset-top {
  margin-top: 1rem;
}

.hero .pill {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}







.hero__copy,
.hero__panel {
  position: relative;
  z-index: 1;
}

.hero__copy {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.hero__text {
  max-width: 64ch;
  margin: 1rem 0 0;
  color: var(--muted-2);
  font-size: 1.03rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--text);
  max-width: 15ch;
}

.hero__panel {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__panel p {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.65;
}

.hero__panel strong {
  font-size: 1.45rem;
  line-height: 1.25;
}

.hero__panel-label,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.eyebrow,
.hero__panel-label {
  color: var(--primary);
}

.workflow-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.1rem 0 1.3rem;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 122px;
  padding: 1.2rem 1.3rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  align-content: space-between;
}

.stats[data-clickable] .stat-card {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.stats[data-clickable] .stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--primary);
}



.stat-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.stat-card__value {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  color: var(--primary);
  font-weight: 700;
}

.stat-card__hint {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 1.3rem;
  align-items: start;
}

.content-grid--employee {
  gap: 2rem;
}

.content-grid--single {
  grid-template-columns: 1fr;
}

.form-card,
.side-card,
.register-card,
.panel-card {
  padding: 1.45rem;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.section-heading > * {
  min-width: 0;
}

.section-heading--stack {
  align-items: flex-end;
  flex-wrap: wrap;
}

.section-note {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 700;
}

.field--full {
  grid-column: 1 / -1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.employee-form {
  display: grid;
  gap: 1rem;
}

.employee-form .field {
  min-width: 0;
}

.form-grid--wide {
  margin-top: 0.95rem;
}

.employee-form .form-grid--wide {
  margin-top: 0;
}

.employee-form__actions {
  margin-top: 0.1rem;
}

.workflow-block {
  margin-top: 1.05rem;
  padding: 1rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(103, 211, 211, 0.16);
}

.workflow-block__heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.workflow-block__heading h3 {
  font-size: 1.15rem;
}

.workflow-block__note {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.6rem 1.2rem;
  border: 0;
  border-radius: 999px; /* Material styled rounded pills */
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.52;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: var(--shadow-1);
}

.btn--secondary {
  color: var(--primary);
  background: #f1f3f4;
  border: 1px solid var(--border);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--surface);
}

.btn--ghost {
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--surface);
  border-color: rgba(201, 214, 233, 0.24);
}

.btn--danger {
  color: #ffd9d4;
  background: var(--surface);
  border: 1px solid rgba(255, 127, 111, 0.18);
}

.btn--danger:hover,
.btn--danger:focus-visible {
  background: var(--surface);
}

.btn--mini {
  min-height: 40px;
  padding: 0.58rem 0.82rem;
  border-radius: 11px;
  font-size: 0.8rem;
}

.is-hidden {
  display: none !important;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(103, 211, 211, 0.16);
  background: var(--surface);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill--admin {
  border-color: rgba(255, 127, 111, 0.18);
  background: var(--surface);
}

.status-pill--employee {
  border-color: rgba(76, 207, 152, 0.18);
  background: var(--surface);
}

.auth-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-info small {
  display: inline-flex;
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.login-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-items: end;
}

.login-form input {
  min-height: 46px;
}

.smart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.smart-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.45rem;
  min-height: 130px;
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--tone-border, var(--border));
}



.smart-card__label,
.workflow-card__label,
.request-card__eyebrow {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
}

.smart-card__value,
.workflow-card__value {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.smart-card__hint,
.workflow-card__hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.workflow-rail {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.workflow-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--tone-border, var(--border));
}

.workflow-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.workflow-card__percent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-2);
  font-size: 0.78rem;
  font-weight: 800;
}

.workflow-card__track {
  overflow: hidden;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--surface);
}

.workflow-card__bar {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
}

.action-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.action-band {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.action-band h3 {
  font-size: 1.15rem;
}

.action-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.smart-actions {
  display: grid;
  gap: 0.7rem;
}

.smart-action {
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--tone-border, var(--border));
}

.smart-action__label {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 800;
}

.smart-action__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.smart-action__hint {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.5;
  font-size: 0.9rem;
}

.request-feed {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.request-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--tone-border, var(--border));
}

.request-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.request-card__title {
  margin: 0.1rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.request-card__route {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.55;
}

.request-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.request-card__reason {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.65;
}

.request-card__journey {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.5rem;
}

.request-step {
  display: grid;
  gap: 0.22rem;
  min-height: 74px;
  padding: 0.72rem 0.75rem;
  border-radius: 16px;
  background: var(--surface);
  border-top: 2px solid var(--border);
}

.request-step strong {
  font-size: 0.8rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.request-step small {
  color: var(--muted);
  line-height: 1.45;
}

.request-step.is-done {
  border-top-color: rgba(76, 207, 152, 0.78);
}

.request-step.is-current {
  background: var(--surface);
  border-top-color: rgba(103, 211, 211, 0.82);
}

.request-step.is-blocked {
  border-top-color: rgba(255, 127, 111, 0.82);
}

.request-step.is-locked {
  opacity: 0.52;
}

.request-card--empty {
  min-height: 180px;
  text-align: center;
  align-content: center;
}

.request-card--empty h3 {
  margin: 0;
  font-size: 1.35rem;
}

.request-card--empty p {
  margin: 0;
  color: var(--muted);
}

.pill,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--tone-border, var(--border));
  background: var(--tone-bg, rgba(255, 255, 255, 0.06));
  color: var(--tone-color, var(--muted-2));
  padding: 0.42rem 0.72rem;
}

.chip--pending {
  --tone-bg: rgba(160, 176, 202, 0.14);
  --tone-border: rgba(160, 176, 202, 0.24);
  --tone-color: #d7e0ec;
}

.chip--approved,
.chip--booked {
  --tone-bg: rgba(76, 207, 152, 0.14);
  --tone-border: rgba(76, 207, 152, 0.24);
  --tone-color: #86e7b4;
}

.chip--received {
  --tone-bg: rgba(243, 191, 85, 0.14);
  --tone-border: rgba(243, 191, 85, 0.24);
  --tone-color: #f9d57a;
}

.chip--rejected {
  --tone-bg: rgba(255, 127, 111, 0.14);
  --tone-border: rgba(255, 127, 111, 0.24);
  --tone-color: #ffaeaa;
}

.tone--warning {
  --tone-bg: rgba(243, 191, 85, 0.12);
  --tone-border: rgba(243, 191, 85, 0.28);
  --tone-color: #f5cf78;
}

.tone--success {
  --tone-bg: rgba(76, 207, 152, 0.12);
  --tone-border: rgba(76, 207, 152, 0.28);
  --tone-color: #8deab7;
}

.tone--info {
  --tone-bg: rgba(103, 211, 211, 0.12);
  --tone-border: rgba(103, 211, 211, 0.28);
  --tone-color: #90ecea;
}

.tone--danger {
  --tone-bg: rgba(255, 127, 111, 0.12);
  --tone-border: rgba(255, 127, 111, 0.28);
  --tone-color: #ffb1ad;
}

.tone--neutral {
  --tone-bg: rgba(255, 255, 255, 0.06);
  --tone-border: rgba(255, 255, 255, 0.12);
  --tone-color: var(--muted-2);
}

.side-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

#trackerSection {
  display: none;
}

#trackerSection.is-visible {
  display: grid;
}

.panel-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 0.9rem;
}

.mini-form {
  display: grid;
  gap: 1rem;
}

.tracker-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.tracker-controls .form-actions {
  margin-top: 0;
}

.toolbar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
  width: 100%;
  padding: 1rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.toolbar__field input,
.toolbar__field select {
  min-height: 52px;
}

.table-wrap {
  margin-top: 0.85rem;
  overflow: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.register-table {
  width: 100%;
  min-width: 1320px;
  border-collapse: collapse;
}

.register-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--surface-strong);
  color: var(--muted);
  text-align: left;
  padding: 1rem 0.95rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--border);
}

.register-table tbody tr {
  background: var(--surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.register-table tbody tr:nth-child(even) {
  background: var(--surface);
}

.register-table td {
  padding: 0.95rem;
  vertical-align: top;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.register-table tbody tr:hover td {
  background: var(--surface);
}

.register-table td strong {
  display: block;
  margin-bottom: 0.2rem;
}

.register-table td small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.cell-stack {
  display: grid;
  gap: 0.2rem;
}

.cell-muted {
  color: var(--muted);
}

.route-line {
  display: block;
  font-weight: 700;
}

.route-sub {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.empty-state {
  padding: 3rem 1.25rem;
  text-align: center;
  color: var(--muted);
}

.empty-state h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.empty-state p {
  margin: 0;
  line-height: 1.7;
}

.guide-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted-2);
  line-height: 1.7;
  display: grid;
  gap: 0.5rem;
}

.legend {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.legend__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-2);
}

.side-note {
  padding: 1rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(103, 211, 211, 0.14);
}

.side-note p {
  margin: 0;
  color: var(--muted-2);
  line-height: 1.7;
}

.workflow-preview .pill {
  font-size: 0.7rem;
  padding: 0.38rem 0.65rem;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(440px, calc(100vw - 2rem));
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-2);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 30;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast.is-error {
  background: var(--surface);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.register-card,
.panel-card,
.side-card,
.form-card {
  position: relative;
}

/* iOS-inspired theme override layer */
:root {
  --bg: #f2f4f8;
  --bg-2: #fbfcff;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(118, 118, 128, 0.08);
  --border: rgba(60, 60, 67, 0.1);
  --border-strong: rgba(60, 60, 67, 0.16);
  --text: #111318;
  --muted: #6e6e73;
  --muted-2: #3c3c43;
  --primary: #0099cc;
  --primary-strong: #0062cc;
  --accent: #5ac8fa;
  --success: #34c759;
  --warning: #ff9500;
  --danger: #ff3b30;
  --shadow-1: 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-2: 0 12px 30px rgba(15, 23, 42, 0.09);
  --shadow-3: 0 28px 60px rgba(15, 23, 42, 0.12);
  --shadow: var(--shadow-2);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-body:
    -apple-system,
    BlinkMacSystemFont,
    'SF Pro Text',
    'Segoe UI',
    sans-serif;
  --font-display:
    -apple-system,
    BlinkMacSystemFont,
    'SF Pro Display',
    'Segoe UI',
    sans-serif;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 122, 255, 0.11), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(52, 199, 89, 0.08), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(90, 200, 250, 0.06), transparent 30%),
    linear-gradient(180deg, #f9fbff 0%, #eef2f8 100%);
  font-family: var(--font-body);
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  display: block;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 122, 255, 0.06), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(52, 199, 89, 0.05), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
}

.bg-orb {
  display: block !important;
  position: fixed;
  width: clamp(18rem, 28vw, 34rem);
  aspect-ratio: 1;
  border-radius: 999px;
  filter: blur(44px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.bg-orb--one {
  top: -7rem;
  left: -6rem;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.28), rgba(0, 122, 255, 0) 68%);
}

.bg-orb--two {
  right: -8rem;
  bottom: 6rem;
  background: radial-gradient(circle, rgba(52, 199, 89, 0.2), rgba(52, 199, 89, 0) 68%);
}

.page-shell {
  width: min(1420px, calc(100vw - 1.2rem));
  padding: 1rem 0 3.5rem;
}

.site-nav {
  padding: 0.95rem 1.1rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.site-nav .logo strong {
  font-size: 1.1rem;
  color: #0099cc;
  font-weight: 700;
}

.site-nav .logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.12), rgba(255, 255, 255, 0.86));
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.site-nav .nav-links a {
  color: var(--muted-2);
  background: rgba(118, 118, 128, 0.08);
  border: 1px solid transparent;
}

.site-nav .nav-links a:hover,
.site-nav .nav-links a:focus-visible {
  color: var(--primary);
  background: rgba(0, 122, 255, 0.1);
}

.site-nav .nav-links a.active {
  color: var(--primary);
  background: rgba(0, 122, 255, 0.14);
}

.status-pill {
  border: 1px solid rgba(60, 60, 67, 0.1);
  background: rgba(118, 118, 128, 0.1);
  color: var(--muted-2);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.status-pill--admin {
  background: rgba(255, 59, 48, 0.1);
  border-color: rgba(255, 59, 48, 0.16);
  color: #b42318;
}

.status-pill--employee {
  background: rgba(0, 122, 255, 0.1);
  border-color: rgba(0, 122, 255, 0.16);
  color: var(--primary);
}

.card,
.stat-card,
.smart-card,
.workflow-card,
.request-card,
.panel-card,
.auth-panel,
.action-band,
.smart-action,
.workflow-block,
.toolbar,
.table-wrap,
.legend,
.side-note,
.hero__panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
}

.card {
  border-radius: 30px;
}

.hero {
  gap: 1.35rem;
  padding: 2.25rem;
}

.hero--centered {
  gap: 1.05rem;
  min-height: 18rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.72));
  border-top: 1px solid rgba(0, 122, 255, 0.12);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.hero-title {
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.04;
  color: var(--text);
  letter-spacing: -0.04em;
}

.hero-actions-row {
  gap: 1rem;
}

.hero-actions {
  gap: 0.8rem;
}

.workflow-preview--inline {
  gap: 0.45rem;
  opacity: 1;
}

.hero .pill {
  font-size: 0.75rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  text-transform: none;
}

.content-grid {
  gap: 1.65rem;
}

.form-card,
.side-card,
.register-card,
.panel-card {
  padding: 1.6rem;
}

.section-heading {
  margin-bottom: 1rem;
}

.field span {
  color: var(--muted-2);
  font-size: 0.92rem;
  font-weight: 600;
}

input,
select,
textarea {
  border: 1px solid rgba(60, 60, 67, 0.1);
  background: rgba(118, 118, 128, 0.1);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

input::placeholder,
textarea::placeholder {
  color: rgba(60, 60, 67, 0.4);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(0, 122, 255, 0.28);
  background: rgba(118, 118, 128, 0.12);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 122, 255, 0.35);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

button {
  font: inherit;
}

.btn {
  width: auto;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
}

.btn--primary {
  color: #ffffff;
  background: linear-gradient(180deg, #0a84ff, #007aff);
  border: 1px solid rgba(0, 122, 255, 0.2);
  box-shadow: 0 14px 28px rgba(0, 122, 255, 0.2);
}

.btn--secondary {
  color: var(--text);
  background: rgba(118, 118, 128, 0.14);
  border: 1px solid rgba(60, 60, 67, 0.1);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: rgba(118, 118, 128, 0.18);
}

.btn--ghost {
  color: var(--text);
  background: rgba(118, 118, 128, 0.1);
  border: 1px solid rgba(60, 60, 67, 0.08);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(118, 118, 128, 0.16);
  border-color: rgba(60, 60, 67, 0.12);
}

.btn--danger {
  color: #b42318;
  background: rgba(255, 59, 48, 0.1);
  border: 1px solid rgba(255, 59, 48, 0.16);
}

.btn--danger:hover,
.btn--danger:focus-visible {
  background: rgba(255, 59, 48, 0.14);
}

.btn--mini {
  min-height: 38px;
  padding: 0.56rem 0.88rem;
  border-radius: 14px;
  font-size: 0.84rem;
}

.form-actions {
  gap: 0.7rem;
  margin-top: 1rem;
}

.employee-form {
  gap: 1.1rem;
}

.employee-form .form-grid--wide {
  margin-top: 0;
}

.tracker-controls {
  gap: 1rem;
}

.smart-grid,
.workflow-rail,
.request-feed {
  gap: 1rem;
}

.stat-card,
.smart-card,
.workflow-card,
.request-card,
.panel-card {
  border-radius: 26px;
}

.stat-card {
  min-height: 128px;
  padding: 1.25rem 1.35rem;
}

.smart-card {
  min-height: 136px;
  padding: 1.05rem;
}

.workflow-card {
  padding: 1.05rem;
}

.action-band {
  padding: 1.05rem;
  border-radius: 26px;
}

.smart-action {
  padding: 0.95rem;
  border-radius: 22px;
}

.auth-panel {
  padding: 1rem;
  border-radius: 24px;
}

.workflow-block {
  border-radius: 26px;
  padding: 1.05rem;
}

.request-card {
  padding: 1.05rem;
}

.request-card__title {
  font-size: 1.2rem;
}

.request-card__journey {
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 0.6rem;
}

.request-step {
  min-height: 78px;
  padding: 0.78rem 0.8rem;
  border-radius: 18px;
  background: rgba(118, 118, 128, 0.08);
  border: 1px solid rgba(60, 60, 67, 0.08);
  border-top: 2px solid rgba(60, 60, 67, 0.14);
}

.request-step.is-done {
  border-top-color: rgba(52, 199, 89, 0.75);
}

.request-step.is-current {
  border-top-color: rgba(0, 122, 255, 0.8);
}

.request-step.is-blocked {
  border-top-color: rgba(255, 59, 48, 0.75);
}

.request-step.is-locked {
  opacity: 0.58;
}

.pill,
.chip {
  text-transform: none;
  letter-spacing: 0.02em;
  border-radius: 999px;
  background: rgba(118, 118, 128, 0.1);
  color: var(--muted-2);
}

.pill {
  padding: 0.42rem 0.75rem;
}

.chip {
  padding: 0.42rem 0.72rem;
}

.tone--info {
  --tone-bg: rgba(0, 122, 255, 0.1);
  --tone-border: rgba(0, 122, 255, 0.16);
  --tone-color: var(--primary);
}

.tone--success {
  --tone-bg: rgba(52, 199, 89, 0.12);
  --tone-border: rgba(52, 199, 89, 0.18);
  --tone-color: #1e7d38;
}

.tone--warning {
  --tone-bg: rgba(255, 149, 0, 0.12);
  --tone-border: rgba(255, 149, 0, 0.18);
  --tone-color: #b45f00;
}

.tone--danger {
  --tone-bg: rgba(255, 59, 48, 0.12);
  --tone-border: rgba(255, 59, 48, 0.18);
  --tone-color: #b42318;
}

.register-table thead th {
  background: rgba(245, 247, 250, 0.88);
  color: var(--muted-2);
  border-bottom: 1px solid rgba(60, 60, 67, 0.08);
  text-transform: none;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.register-table tbody tr {
  background: transparent;
}

.register-table tbody tr:hover td {
  background: rgba(0, 122, 255, 0.04);
}

.register-table td {
  border-bottom: 1px solid rgba(60, 60, 67, 0.06);
}

.toolbar {
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 26px;
}

.toolbar__field input,
.toolbar__field select {
  min-height: 48px;
}

.table-wrap {
  border-radius: 28px;
  overflow: auto;
}

.side-note {
  padding: 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0, 122, 255, 0.08), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(0, 122, 255, 0.12);
}

.guide-list {
  color: var(--muted-2);
}

.toast {
  border-radius: 20px;
  background: rgba(28, 28, 30, 0.92);
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.toast.is-error {
  background: rgba(255, 59, 48, 0.92);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-actions .btn {
  white-space: nowrap;
}

.hod-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hod-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 18px;
  background: rgba(118, 118, 128, 0.08);
  border: 1px solid rgba(60, 60, 67, 0.08);
}

.hod-list-item__label {
  min-width: 0;
  color: var(--text);
  font-size: 0.92rem;
  word-break: break-word;
}

.hod-list-controls {
  display: flex;
  gap: 0.5rem;
}

.hod-list-input {
  min-height: 44px;
  padding: 0.72rem 0.95rem;
  flex: 1;
}

.hod-list-item__remove {
  min-height: 32px;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
}

@media (max-width: 1280px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .page-shell {
    width: min(100vw - 1rem, 1480px);
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid,
  .workflow-grid,
  .smart-grid {
    grid-template-columns: 1fr;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: static;
    flex-wrap: wrap;
    border-radius: 28px;
  }

  .login-form {
    grid-template-columns: 1fr;
  }

  .hero,
  .form-card,
  .side-card,
  .register-card,
  .panel-card {
    padding: 1.1rem;
  }

  .hero--centered {
    min-height: 0;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions,
  .hero__actions,
  .action-band__buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .request-card__header,
  .workflow-card__header {
    flex-direction: column;
  }

  .request-card__journey {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .site-nav .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .toolbar__field,
  .toolbar .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.admin-dashboard {
  padding: 1rem 0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.dashboard-quick-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dashboard-quick-actions .btn--mini {
  padding: 0.4rem 0.6rem;
  font-size: 0.75rem;
}

.btn--warning {
  background-color: #ffc107;
  color: #000;
}

.btn--info {
  background-color: #17a2b8;
  color: #fff;
}

@media (max-width: 900px) {
  .dashboard-quick-actions {
    gap: 0.35rem;
  }
  .dashboard-quick-actions .btn--mini {
    padding: 0.35rem 0.5rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 640px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .dashboard-quick-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .dashboard-quick-actions .btn--mini {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 60px;
    text-align: center;
  }
}

.modal__content {
  max-height: 85vh;
  overflow-y: auto;
  overflow-x: auto;
}

.modal__content .table-wrap {
  min-width: 100%;
  overflow-x: auto;
}

.modal__content .register-table {
  min-width: 800px;
  width: 100%;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 640px) {
  .table-scroll {
    margin: -0.5rem;
    padding: 0 0.5rem;
  }
  .table-scroll .table-wrap {
    margin-bottom: 0;
  }
}

/* Employee Portal Premium Styles */
.employee-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.employee-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.employee-form .form-grid--wide {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.employee-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.employee-form .field span {
  font-size: 0.8rem;
  font-weight: 500;
  color: #374151;
}

.employee-form input,
.employee-form textarea,
.employee-form select {
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  background: #fff;
}

.employee-form input:focus,
.employee-form textarea:focus,
.employee-form select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.employee-form__actions {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.75rem;
}

.employee-form__actions .btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .employee-form .form-grid {
    grid-template-columns: 1fr;
  }
  
  .content-grid--employee {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero--centered {
    padding: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .hero-actions-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .workflow-preview--inline {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.content-grid--employee {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .content-grid--employee {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .content-grid--employee {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
}

.side-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 1.5rem;
}

.tracker-controls {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tracker-controls .field {
  margin-bottom: 0;
}

.tracker-controls input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.9rem;
}

.tracker-controls input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.request-feed {
  margin-top: 1rem;
}

.request-card {
  padding: 1rem;
  background: #f9fafb;
  border-radius: 10px;
  margin-bottom: 0.75rem;
  border-left: 4px solid #e5e7eb;
}

.request-card--pending {
  border-left-color: #fbbf24;
}

.request-card--approved {
  border-left-color: #10b981;
}

.request-card--rejected {
  border-left-color: #ef4444;
}

.request-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.request-card__serial {
  font-weight: 600;
  color: #1f2937;
}

.request-card__status {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.request-card__route {
  color: #4b5563;
  font-size: 0.9rem;
  margin: 0.35rem 0;
}

.request-card__meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
}

@media (max-width: 640px) {
  .form-card,
  .side-card {
    padding: 1rem;
    border-radius: 12px;
  }
  
  .employee-form input,
  .employee-form textarea {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .employee-form__actions {
    flex-direction: column;
  }
  
  .employee-form__actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* Hero improvements for employee */
.hero--centered {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border-radius: 16px;
}

.hero-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 1rem;
  line-height: 1.3;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
}

.workflow-preview--inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.workflow-preview--inline .pill {
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
}

.workflow-preview--inline .arrow {
  color: #9ca3af;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .hero--centered {
    padding: 1.25rem;
  }
  
  .hero-title {
    font-size: 1.25rem;
  }
  
  .hero-actions-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .modal__content {
    width: 98%;
    max-width: 98%;
    margin: 0.5rem;
    max-height: 90vh;
  }
  .modal__header {
    padding: 0.75rem;
  }
  .modal__body {
    padding: 0.5rem;
  }
}

.modal__content--wide {
  max-width: 900px;
}

.quick-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.quick-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #f8f9fa;
}

.quick-alert--urgent {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
}

.quick-alert--info {
  background: #d1ecf1;
  border-left: 4px solid #17a2b8;
}

.quick-alert__icon {
  font-size: 1.25rem;
}

.quick-alert__text {
  flex: 1;
  font-size: 0.875rem;
}

.today-overview {
  padding: 0.5rem 0;
}

.overview-stats {
  display: flex;
  gap: 1.5rem;
}

.overview-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview-stat__value {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--color-primary, #007bff);
}

.overview-stat__label {
  font-size: 0.75rem;
  color: #666;
  text-transform: uppercase;
}

#dashboardSummary .stat-card {
  padding: 0.75rem;
  text-align: center;
  min-height: auto;
}

#dashboardSummary .stat-card strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.2;
}

#dashboardSummary .stat-card small {
  display: block;
  font-size: 0.65rem;
  color: #666;
  text-transform: uppercase;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.is-hidden {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal__content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: 95%;
  max-width: 1200px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
}

.modal__header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.modal__body {
  padding: 1rem;
  overflow: auto;
}

.modal__body .table-wrap {
  max-height: 60vh;
  overflow: auto;
}

@media (max-width: 640px) {
  .modal__body .table-wrap {
    max-height: 50vh;
  }
  .register-table th,
  .register-table td {
    padding: 0.5rem 0.35rem;
    font-size: 0.8rem;
  }
  .register-table th {
    font-size: 0.7rem;
  }
}
