/* Axi People — shared styles */

:root {
  --axi-red: #E30613;
  --axi-red-dark: #B8050F;
  --axi-red-soft: #FEE5E7;
  --axi-navy: #0F1A2E;
  --axi-charcoal: #1A1A1A;
  --axi-gray-50: #F8F9FA;
  --axi-gray-100: #F1F3F5;
  --axi-gray-200: #E9ECEF;
  --axi-gray-300: #DEE2E6;
  --axi-gray-500: #868E96;
  --axi-gray-700: #495057;
  --axi-success: #2F9E44;
  --axi-success-soft: #E6F4EA;
  --axi-warning: #F08C00;
  --axi-warning-soft: #FFF4E0;
  --axi-info: #1971C2;
  --axi-info-soft: #E7F0F9;
}

html { scroll-behavior: smooth; }

body {
  font-feature-settings: "cv02","cv03","cv04","cv11";
  -webkit-font-smoothing: antialiased;
}

/* Sidebar nav active link */
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  color: #CBD5E1;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}
.nav-link:hover { background: rgba(255,255,255,0.06); color: white; }
.nav-link.active {
  background: rgba(227, 6, 19, 0.12);
  color: white;
  box-shadow: inset 2px 0 0 var(--axi-red);
}
.nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Section / card */
.card {
  background: white;
  border: 1px solid var(--axi-gray-200);
  border-radius: 0.75rem;
}
.card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--axi-gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-body { padding: 1.25rem; }

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25rem;
}
.badge-success { background: var(--axi-success-soft); color: var(--axi-success); }
.badge-warning { background: var(--axi-warning-soft); color: var(--axi-warning); }
.badge-info    { background: var(--axi-info-soft);    color: var(--axi-info); }
.badge-red     { background: var(--axi-red-soft);     color: var(--axi-red); }
.badge-gray    { background: var(--axi-gray-100);     color: var(--axi-gray-700); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--axi-red); color: white; }
.btn-primary:hover { background: var(--axi-red-dark); }
.btn-secondary {
  background: white;
  color: var(--axi-charcoal);
  border-color: var(--axi-gray-300);
}
.btn-secondary:hover { background: var(--axi-gray-50); }
.btn-ghost { background: transparent; color: var(--axi-gray-700); }
.btn-ghost:hover { background: var(--axi-gray-100); color: var(--axi-charcoal); }

/* Avatar */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1A2332, #2C3E50);
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}
.avatar-xs { width: 1.5rem; height: 1.5rem; font-size: 0.625rem; }
.avatar-sm { width: 2rem;   height: 2rem;   font-size: 0.75rem; }
.avatar-md { width: 2.5rem; height: 2.5rem; font-size: 0.875rem; }
.avatar-lg { width: 4rem;   height: 4rem;   font-size: 1.25rem; }
.avatar-xl { width: 6rem;   height: 6rem;   font-size: 1.875rem; }

/* Subtle scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--axi-gray-300); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--axi-gray-500); }

/* Form inputs */
.input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--axi-gray-300);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  background: white;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.input:focus {
  outline: none;
  border-color: var(--axi-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}
.label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--axi-gray-700); margin-bottom: 0.375rem; }

/* Tabs */
.tab {
  padding: 0.75rem 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--axi-gray-500);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.12s, border-color 0.12s;
}
.tab:hover { color: var(--axi-charcoal); }
.tab.active { color: var(--axi-red); border-bottom-color: var(--axi-red); }

/* Timeline */
.timeline-item { position: relative; padding-left: 2rem; padding-bottom: 1.5rem; }
.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 0.6875rem;
  top: 1.5rem;
  bottom: 0;
  width: 2px;
  background: var(--axi-gray-200);
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 999px;
  background: white;
  border: 2px solid var(--axi-red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-dot::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--axi-red);
}

/* Table */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--axi-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.625rem 1rem;
  background: var(--axi-gray-50);
  border-bottom: 1px solid var(--axi-gray-200);
}
.tbl td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--axi-gray-100);
  font-size: 0.875rem;
  color: var(--axi-charcoal);
}
.tbl tr:hover td { background: var(--axi-gray-50); }
.tbl tr:last-child td { border-bottom: none; }

/* Wireframe banner — reminds viewer this is mock */
.wf-banner {
  background: var(--axi-warning-soft);
  color: var(--axi-warning);
  font-size: 0.75rem;
  text-align: center;
  padding: 0.375rem;
  border-bottom: 1px solid #F5D199;
  font-weight: 500;
}
