:root{
  --bg-1: #0f172a;   /* deep navy */
  --bg-2: #0ea5e9;   /* bright cyan */
  --card: #ffffff;   /* card background */
  --card-2: rgba(255,255,255,0.06); /* subtle translucent card (for side panels if desired) */
  --muted:#c7d2e9;
  --accent:#0369a1;  /* darker blue button */
  --accent-2:#0ea5a4;
  --danger:#ef4444;
  --radius:12px;
  --shadow: 0 10px 30px rgba(2,6,23,0.45);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Header logo: use the circular icon (keeps header compact) */

/* header brand container: allow image breathing room */
.header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: visible; /* prevents parent from chopping edges */
}

.header img {
  height: 64px;
  width: 64px;
  object-fit: contain;
  border-radius: 12px;     /* Same rounded-corner style as EMS */
  padding: 6px;            /* Adds breathing room, prevents cutoff */
  background: white;       /* Same tile effect as EMS logo */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* subtle EMS-like shadow */
}



/* show full logo on larger screens */
@media (min-width: 1100px) {
  .logo-full { display:block; }
  .logo-icon { height:56px; } /* slightly smaller when full logo visible */
}



/* fill page with blue gradient */
html,body{height:100%}
body{
  margin:0;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  color: #e6f0ff;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
  line-height:1.45;
}

/* container */
.container{max-width:1100px;margin:32px auto;padding:24px}

/* header */
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}
.brand img{
  height:44px;width:44px;border-radius:8px;object-fit:cover;
  box-shadow: 0 6px 18px rgba(2,6,23,0.25);
  border: 1px solid rgba(255,255,255,0.08);
}
.brand h1{font-size:20px;margin:0;color:#ffffff}
.nav{
  display:flex;
  gap:12px;
  align-items:center;
}

/* Buttons */
.btn{
  display:inline-block;
  padding:10px 14px;
  background:var(--accent);
  color:white;
  border-radius:10px;
  text-decoration:none;
  font-weight:600;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  border: none;
}
.btn.ghost{
  background:transparent;color:white;
  box-shadow:none;border:1px solid rgba(255,255,255,0.12)
}
.small{font-size:0.92rem;color:var(--muted)}

/* counts */
.counts{
  display:flex;
  gap:12px;
  margin-top:14px;
  flex-wrap:wrap;
}
.count{
  background:rgba(255,255,255,0.08);
  padding:14px 18px;
  border-radius:12px;
  min-width:140px;
  color:white;
  box-shadow: none;
}
.count .num{font-size:20px;font-weight:700}
.count .label{font-size:0.9rem;color:var(--muted)}

/* cards */
.card{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border-radius:var(--radius);
  padding:18px;
  margin-bottom:14px;
  box-shadow: var(--shadow);
  color: #f8fbff;
}

/* ticket list */
.ticket{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.04);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
}
.ticket h4{margin:0;font-size:1rem;color:#fff}
.ticket .meta{color:var(--muted);font-size:0.9rem}

/* forms */
.form-row{margin-bottom:12px;display:flex;flex-direction:column;gap:8px}
label{font-size:0.95rem;color:#e6f0ff}
input[type=text], input[type=password], textarea, select{
  padding:10px 12px;border-radius:8px;border:1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-size:1rem;color:#ffffff;
}
textarea{min-height:110px;resize:vertical}
input[type=file]{padding:6px;color:#fff}

/* small footer */
.footer-small{font-size:0.9rem;color:var(--muted);margin-top:8px}

/* responsive */
@media (max-width:720px){
  .header{flex-direction:column;align-items:flex-start}
  .nav{width:100%;justify-content:space-between}
  .counts{flex-direction:column}
}
.footer-small a {
  color: #ffe98a;      /* soft yellow */
  font-weight: 600;
  text-decoration: none;
}

.footer-small a:hover {
  color: #fff3c4;      /* brighter yellow on hover */
  text-decoration: underline;
}
.badge-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: #ff4747;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-weight: 700;
}
