/* assets/css/home.css — public ICT team directory (polished) */
:root {
  --navy-900: #0c1f3f;
  --navy-800: #102a52;
  --navy-700: #163a6e;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --ink:      #1f2937;
  --muted:    #64748b;
  --line:     #e6ebf3;
  --bg:       #f5f7fb;
  --card:     #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 42, 82, .06), 0 4px 12px rgba(15, 42, 82, .06);
  --shadow-md: 0 10px 30px rgba(15, 42, 82, .10);
  --shadow-lg: 0 24px 60px rgba(15, 42, 82, .18);
}

* { box-sizing: border-box; }

body.home-page {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.container { max-width: 1080px; margin-inline: auto; padding-inline: 20px; }

/* ---------- Top nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-800); }
.brand-logo { height: 38px; width: 38px; object-fit: contain; border-radius: 9px; }
.brand-text { font-size: 18px; font-weight: 600; letter-spacing: .2px; }
.brand-text b { color: var(--blue-600); font-weight: 800; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-link-sm { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 14px; }
.nav-link-sm:hover { color: var(--navy-800); }
.btn-nav {
  display: inline-flex; align-items: center;
  background: var(--navy-800); color: #fff;
  font-weight: 600; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.btn-nav:hover { background: var(--blue-600); color: #fff; transform: translateY(-1px); }

/* ---------- Hero ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--blue-600) 100%);
  color: #fff;
  padding: 84px 0 96px;
  min-height: 500px;
}

/* Video Hero */
.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.10), transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(59,130,246,.35), transparent 45%);
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg, 
    rgba(12, 31, 63, 0.80) 0%, 
    rgba(16, 58, 110, 0.70) 50%, 
    rgba(37, 99, 235, 0.60) 100%
  );
  z-index: 2;
}

.hero-video-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(59,130,246,.25), transparent 40%);
  z-index: 3;
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 10; text-align: center; }
.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px; font-weight: 600;
  color: #cfe0ff;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}
.hero-title { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin: 0 0 14px; letter-spacing: -.02em; }
.hero-sub { font-size: clamp(15px, 2vw, 18px); color: #dbe7ff; max-width: 620px; margin: 0 auto; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-actions .btn-support {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: all .2s ease;
}

.hero-actions .btn-support.primary {
  background: #fff;
  color: var(--navy-800);
  box-shadow: 0 12px 28px rgba(8,20,40,.28);
}

.hero-actions .btn-support.primary:hover {
  transform: translateY(-2px);
  background: #eef4ff;
  box-shadow: 0 16px 32px rgba(8,20,40,.32);
}

.hero-actions .btn-support.ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
}

.hero-actions .btn-support.ghost:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
}

/* ---------- Body offset ---------- */
.home-body { padding-bottom: 56px; }

/* ---------- Head feature ---------- */
.head-feature { margin-top: -56px; margin-bottom: 44px; position: relative; z-index: 2; }
.head-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  display: flex; gap: 30px; align-items: center;
  box-shadow: var(--shadow-lg);
}
.head-photo { flex: 0 0 auto; }
.head-photo img, .avatar-xl {
  width: 148px; height: 148px; border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 0 0 4px var(--blue-600), var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
}
.avatar-xl { background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: #fff; font-weight: 800; font-size: 46px; }
.head-info { min-width: 0; }
.head-badge {
  display: inline-flex; align-items: center;
  background: #fef3c7; color: #92400e;
  font-weight: 700; font-size: 12px;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.head-name { font-size: 30px; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.head-role { color: var(--blue-600); font-weight: 700; font-size: 16px; margin-top: 4px; }
.head-unit { color: var(--muted); font-size: 14px; margin-top: 2px; }
.head-bio { margin: 14px 0 0; color: #374151; line-height: 1.65; max-width: 640px; }

/* ---------- Team ---------- */
.section-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 20px; }
.section-head h3 { font-weight: 800; margin: 0; font-size: 22px; color: var(--navy-800); }
.section-count { color: var(--muted); font-size: 14px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.member-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  content-visibility: auto;
  contain-intrinsic-size: 260px;
}
.member-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cfe0ff;
}
.member-link { color: inherit; display: block; }
.member-link:hover .member-name { color: var(--blue-600); }
.member-link .member-photo::after {
  content: "\F4DE"; /* bi-person-vcard */
  font-family: "bootstrap-icons";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px;
  background: rgba(15,42,82,.45);
  border-radius: 50%;
  opacity: 0; transition: opacity .15s ease;
}
.member-photo { position: relative; }
.member-link:hover .member-photo::after { opacity: 1; }

/* ---------- Public staff CV profile ---------- */
.back-link { display: inline-block; color: var(--blue-600); text-decoration: none; font-weight: 600; font-size: 14px; margin: 18px 0 6px; }
.back-link:hover { text-decoration: underline; }

.cv-cover {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--blue-600) 100%);
  border-radius: 22px; color: #fff;
  padding: 56px 0 78px; margin-top: 4px;
}
.cv-cover-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.10), transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(59,130,246,.35), transparent 45%);
  pointer-events: none;
}
.cv-cover-inner { position: relative; display: flex; gap: 28px; align-items: flex-end; flex-wrap: wrap; }
.cv-avatar {
  flex: 0 0 auto;
  width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover; border: 5px solid #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,.6), var(--shadow-md);
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cv-avatar img, .cv-avatar .avatar-xl {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 46px; font-weight: 800;
}
.cv-head { min-width: 0; flex: 1 1 320px; }
.cv-name { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 0; letter-spacing: -.02em; }
.cv-role { color: #cfe0ff; font-weight: 700; font-size: 18px; margin-top: 4px; }
.cv-org { color: #dbe7ff; font-size: 14px; margin-top: 2px; }
.cv-bio { margin: 14px 0 12px; color: #eaf1ff; line-height: 1.6; max-width: 680px; }
.cv-verified {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  color: #eaf6ff; font-weight: 600; font-size: 13px;
  padding: 6px 14px; border-radius: 999px;
}

.cv-body {
  display: grid; grid-template-columns: 320px 1fr; gap: 22px;
  margin-top: -42px; position: relative; z-index: 2;
}
.cv-aside { display: flex; flex-direction: column; gap: 18px; }
.cv-main { display: flex; flex-direction: column; gap: 18px; }
.cv-panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm);
}
.cv-panel-title {
  font-weight: 800; color: var(--navy-800); margin-bottom: 14px;
  padding-left: 12px; border-left: 4px solid var(--blue-600);
}
.cv-fact { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.cv-fact:last-child { border-bottom: 0; }
.cv-fact span { color: var(--muted); }
.cv-email { font-weight: 600; color: var(--blue-600); word-break: break-all; }
.cv-text { color: #374151; line-height: 1.7; font-size: 14px; }
.cv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cv-chip {
  background: #eef4ff; color: var(--navy-800);
  border: 1px solid #dbe7ff; border-radius: 999px;
  padding: 6px 13px; font-size: 13px; font-weight: 600;
}
@media (max-width: 760px) {
  .cv-body { grid-template-columns: 1fr; }
  .cv-cover { padding: 40px 0 70px; }
  .cv-cover-inner { flex-direction: column; align-items: center; text-align: center; }
  .cv-bio { margin-left: auto; margin-right: auto; }
}
.member-photo { margin-bottom: 14px; }
.member-photo img, .avatar-lg {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover;
  border: 4px solid #eef4ff;
  display: inline-flex; align-items: center; justify-content: center;
}
.head-photo img, .member-photo img, .brand-logo, .footer-logo { image-rendering: auto; }
.avatar-lg { background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); color: #fff; font-weight: 700; font-size: 32px; }
.member-name { font-weight: 700; font-size: 16px; color: var(--navy-800); }
.member-role { color: var(--blue-600); font-weight: 600; font-size: 14px; margin-top: 3px; }
.member-unit { color: var(--muted); font-size: 13px; margin-top: 2px; }
.member-bio { color: #4b5563; font-size: 13px; margin: 12px 0 0; line-height: 1.55; }

/* ---------- States ---------- */
.empty-state {
  background: var(--card);
  border: 1px dashed #cdd7e6;
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  color: var(--muted);
}

/* ---------- Support band ---------- */
.home-support {
  margin-top: 56px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--blue-600) 100%);
  color: #fff;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.home-support::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 8% 15%, rgba(255,255,255,.10), transparent 38%),
    radial-gradient(circle at 92% 85%, rgba(59,130,246,.32), transparent 42%);
  pointer-events: none;
}
.support-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.support-eyebrow {
  display: inline-flex; align-items: center;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: 12px; font-weight: 700; color: #cfe0ff;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.support-title { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin: 0 0 12px; letter-spacing: -.01em; }
.support-sub { color: #dbe7ff; max-width: 520px; line-height: 1.6; margin: 0 0 24px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-support {
  display: inline-flex; align-items: center;
  font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn-support.primary { background: #fff; color: var(--navy-800); box-shadow: 0 12px 28px rgba(8,20,40,.28); }
.btn-support.primary:hover { transform: translateY(-2px); background: #eef4ff; color: var(--navy-800); }
.btn-support.ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-support.ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,.2); color: #fff; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px; padding: 18px 18px;
  backdrop-filter: blur(4px);
}
.sc-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(255,255,255,.16); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.sc-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #bcd2ff; font-weight: 600; }
.sc-value { font-size: 15px; font-weight: 600; color: #fff; margin-top: 2px; word-break: break-word; }

/* ---------- Footer ---------- */
.home-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.78);
  padding: 34px 0 28px;
  border-top: 4px solid var(--blue-600);
}
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { height: 40px; width: 40px; object-fit: contain; border-radius: 9px; background: #fff; padding: 3px; }
.footer-org { font-weight: 700; color: #fff; font-size: 15px; }
.footer-sub { font-size: 12px; color: rgba(255,255,255,.6); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; font-weight: 500; }
.footer-links a:hover { color: #fff; }
.footer-copy { width: 100%; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); margin-top: 6px; }

@media (max-width: 860px) {
  .support-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .support-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .head-card { flex-direction: column; text-align: center; padding: 24px; }
  .nav-link-sm { display: none; }
  .home-hero { padding: 64px 0 80px; }
}

/* ================= LOGIN PAGE ================= */
.home-hero.min-vh-100 {
  padding: 0;
  background:
    linear-gradient(135deg, rgba(12, 31, 63, .82), rgba(22, 58, 110, .72)),
    url('../../SENATE.jpeg') center / cover no-repeat fixed;
  color: #fff;
}
.home-topbar { flex: 0 0 auto; }
.home-logo { height: 40px; width: auto; object-fit: contain; border-radius: 8px; }
.home-org { font-weight: 700; font-size: 15px; line-height: 1.2; }
.home-sys { color: rgba(255,255,255,.82); font-size: 12px; }
.home-senate {
  height: 42px; width: auto; max-width: 120px; object-fit: contain;
  border-radius: 8px; opacity: .95;
}
.home-card {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 34px 30px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 24px 60px rgba(8, 20, 40, .35);
}
.home-badge {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff; font-size: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.home-bottombar {
  flex: 0 0 auto;
  background: rgba(8, 20, 40, .35);
  border-top: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 18px 0;
}
.hb-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: rgba(255,255,255,.16);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; color: #fff;
}
/* keep secondary text legible on the dark login footer */
.home-bottombar .text-muted { color: rgba(255,255,255,.72) !important; }
@media (max-width: 640px) {
  .home-senate { display: none; }
  .home-card { padding: 26px 20px; }
  .home-hero.min-vh-100 { background-attachment: scroll; }
}

/* ================= SUPPORT PAGE STYLES ================= */
.support-page {
  min-height: calc(100vh - 64px);
  background: var(--bg);
}

.support-page .card {
  border: none;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.support-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.3);
}

.support-form {
  background: rgba(255,255,255,.95) !important;
  backdrop-filter: blur(10px);
}

.support-form .input-group-text {
  background: var(--navy-800);
  color: #fff;
  border: none;
  border-radius: 12px 0 0 12px;
}

.support-form .form-control,
.support-form .form-select {
  border-radius: 0 12px 12px 0;
  border: 2px solid var(--line);
  padding: 12px 16px;
  font-size: 15px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.support-form .form-control:focus,
.support-form .form-select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.support-form .btn-app {
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 600;
}

/* Support success page */
.support-success {
  border-radius: 22px;
  overflow: hidden;
}

.success-check {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.35);
  animation: pulse-success 2s ease-in-out infinite;
}

@keyframes pulse-success {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.card-footer-soft {
  background: #f0f9ff !important;
  border-top: 2px solid #e0f2fe;
}

/* ================= TICKET STATUS PAGE STYLES ================= */
.ticket-detail-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.ticket-header-gradient {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--blue-600) 100%);
  color: #fff;
  padding: 24px 28px;
}

.ticket-header-gradient .role-pill {
  background: rgba(255,255,255,.2);
  color: #fff;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
}

.ticket-detail-card .card-header-soft {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 15px;
  border: none;
}

.ticket-detail-card .card-header-soft a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
}

.ticket-detail-card .card-header-soft a:hover {
  color: #fff;
}

.ticket-conversation {
  padding: 24px;
}

.ticket-message {
  padding: 18px 20px;
  background: #f8fafc;
  border-radius: 16px;
  border-left: 4px solid var(--blue-600);
  margin-bottom: 16px;
}

.ticket-message.own-message {
  background: #eff6ff;
  border-left-color: var(--blue-600);
}

.ticket-message.staff-message {
  background: #f0fdf4;
  border-left-color: #10b981;
}

.ticket-reply-form {
  background: #f8fafc;
  padding: 20px;
  border-radius: 16px;
  margin-top: 20px;
}

.ticket-reply-form textarea {
  border-radius: 12px;
  border: 2px solid var(--line);
  padding: 14px 16px;
  font-size: 15px;
  resize: none;
  transition: border-color .2s ease;
}

.ticket-reply-form textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.ticket-sidebar {
  background: #f8fafc;
  padding: 20px;
  border-left: 1px solid var(--line);
  min-height: 100%;
}

.ticket-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.ticket-status-badge.new { background: #dbeafe; color: #1e40af; }
.ticket-status-badge.acknowledged { background: #fef3c7; color: #92400e; }
.ticket-status-badge.assigned { background: #e0e7ff; color: #3730a3; }
.ticket-status-badge.in_progress { background: #d1fae5; color: #065f46; }
.ticket-status-badge.awaiting_user { background: #fef9c3; color: #854d0e; }
.ticket-status-badge.resolved { background: #dcfce7; color: #166534; }
.ticket-status-badge.closed { background: #f1f5f9; color: #475569; }
.ticket-status-badge.cancelled { background: #fee2e2; color: #991b1b; }

.ticket-assigned-card {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 14px 16px;
}

.ticket-assigned-card.not-assigned {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  border-color: #fcd34d;
}

.ticket-progress-timeline {
  position: relative;
  padding-left: 24px;
}

.ticket-progress-timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-600), var(--line));
}

.ticket-progress-item {
  position: relative;
  padding: 10px 0;
  font-size: 13px;
}

.ticket-progress-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-600);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue-600);
}

.ticket-progress-item.completed::before {
  background: #10b981;
  box-shadow: 0 0 0 2px #10b981;
}

.ticket-progress-item.pending::before {
  background: var(--line);
  box-shadow: 0 0 0 2px var(--line);
}

/* Alert styles for support pages */
.alert-soft {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* Role pill style */
.role-pill {
  display: inline-block;
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .5px;
}

/* Badge status variations */
.badge-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
}

.badge-status.b-info { background: #dbeafe; color: #1e40af; }
.badge-status.b-low { background: #f1f5f9; color: #475569; }
.badge-status.b-normal { background: #dbeafe; color: #1e40af; }
.badge-status.b-high { background: #fef3c7; color: #92400e; }
.badge-status.b-critical { background: #fee2e2; color: #991b1b; }

/* Quick status check card */
.quick-status-card {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ticket-sidebar {
    border-left: none;
    border-top: 2px solid var(--line);
    padding: 20px;
  }
  
  .ticket-detail-card .card-header-soft {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start !important;
  }
}
