/* Student, staff and Super Admin pages: dashboard, cards, tables and forms */

.app {
  background: var(--bg);
  flex: 1;
}
.h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.h2 svg {
  color: #2e7d32;
}
.sub {
  color: #64748b;
  font-size: 0.82rem;
  margin: 0 0 0.9rem;
}
.bc {
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 99px;
}
.hr {
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  color: #fff;
  margin-bottom: 1.4rem;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 220px at -10% -30%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(700px 220px at 110% 130%, rgba(255, 255, 255, 0.1), transparent 60%),
    linear-gradient(135deg, #0f3d17 0%, #1b5e20 45%, #2e7d32 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 12px 32px -10px rgba(15, 61, 23, 0.55);
}
.hr .in {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hr h3 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  gap: 8px;
  align-items: center;
}
.av {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.chip {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0.22rem 0.7rem;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 600;
  margin: 0 4px 4px 0;
}
.cta {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.96);
  color: #1b5e20;
  border: 0;
  border-radius: 99px;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.3);
  min-height: 46px;
}
@media (max-width: 600px) {
  .cta {
    width: 100%;
    justify-content: center;
    margin: 6px 0 0;
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 1000px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
}
.sk {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: var(--bd);
  box-shadow: var(--sh);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  min-height: 112px;
  justify-content: space-between;
  transition: 0.22s;
}
.sk:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}
.sk:after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
}
.sk .tp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.sk .l {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 6px 12px -4px color-mix(in srgb, var(--c1) 60%, transparent);
}
.sk .v {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}
.sk .sb {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
}
.t-all {
  --c1: #475569;
  --c2: #94a3b8;
}
.t-Pending {
  --c1: #f59e0b;
  --c2: #fbbf24;
}
.t-Under_Review {
  --c1: #3b82f6;
  --c2: #60a5fa;
}
.t-Completed {
  --c1: #16a34a;
  --c2: #4ade80;
}
.t-Rejected {
  --c1: #dc2626;
  --c2: #f87171;
}
.t-Returned {
  --c1: #d97706;
  --c2: #f59e0b;
}
.chs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.15rem 0.15rem 0.4rem;
  margin-bottom: 0.6rem;
  scrollbar-width: none;
}
.cb {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.48rem 0.85rem;
  border-radius: 99px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.cb i {
  font-style: normal;
  background: #f1f5f9;
  color: #64748b;
  padding: 0.05rem 0.45rem;
  border-radius: 99px;
  font-size: 0.7rem;
}
.cb.on {
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: #fff;
  border-color: #1b5e20;
  box-shadow: 0 10px 28px -8px rgba(27, 94, 32, 0.45);
}
.cb.on i {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1rem;
}
.cd {
  position: relative;
  background: #fff;
  border-radius: 18px;
  border: var(--bd);
  box-shadow: var(--sh);
  padding: 1.05rem 1.05rem 0.95rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
  transition: 0.22s;
}
.cd:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}
.cd:before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--ac2, #94a3b8);
}
.cd[data-s='Pending'] {
  --ac2: #f59e0b;
}
.cd[data-s='Under_Review'] {
  --ac2: #3b82f6;
}
.cd[data-s='Completed'] {
  --ac2: #16a34a;
}
.cd[data-s='Rejected'] {
  --ac2: #dc2626;
}
.cd[data-s='Returned'] {
  --ac2: #d97706;
}
.tp2 {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  align-items: flex-start;
}
.tp2 h4 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
}
.pl {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}
.pl:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}
.p-Pending {
  background: #fff7ed;
  color: #b45309;
}
.p-Under_Review {
  background: #eff6ff;
  color: #1d4ed8;
}
.p-Completed {
  background: #ecfdf5;
  color: #047857;
}
.p-Rejected {
  background: #fef2f2;
  color: #b91c1c;
}
.p-Returned {
  background: #fffbeb;
  color: #a16207;
}
.mt {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #64748b;
}
.tk {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #0f172a;
  color: #fff;
  padding: 0.26rem 0.55rem;
  border-radius: 8px;
  font:
    700 0.72rem ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.02em;
}
.rail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.rail i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e8f0;
  flex: none;
}
.rail u {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: #e2e8f0;
}
.rail .on {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.rail .bad {
  background: #dc2626;
}
.rl {
  display: flex;
  justify-content: space-between;
  font-size: 0.66rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: -0.3rem;
}
.vb {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.86rem;
  color: #1b5e20;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  cursor: pointer;
  transition: 0.18s;
}
.vb:hover {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fff;
}
.uc {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 20px;
  margin-bottom: 18px;
}
.btn {
  min-height: 48px;
  border-radius: 10px;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid #2e7d32;
  background: #2e7d32;
  color: #fff;
  cursor: pointer;
  width: 100%;
}
.btn:hover {
  background: #1b5e20;
}
.btn.o {
  background: transparent;
  color: #2e7d32;
}
.btn.o:hover {
  background: #2e7d32;
  color: #fff;
}
.btn.r {
  background: #b71c1c;
  border-color: #b71c1c;
}
.btn.w {
  width: auto;
}
.btn.sm {
  min-height: 36px;
  padding: 3px 14px;
  font-size: 0.82rem;
  border-radius: 99px;
}
.fc {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.fc:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
  outline: 0;
}
.fl3 {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin: 12px 0 4px;
}
.note {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.ff {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 560px) {
  .ff {
    grid-template-columns: 1fr;
  }
}
.fk {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 8px 12px;
  background: #f8f9fa;
}
.fk s {
  display: block;
  text-decoration: none;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
  font-weight: 700;
}
.fk span {
  font-size: 14px;
  font-weight: 600;
}
.sc {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1b5e20;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 6px;
  margin: 18px 0 10px;
}
.att {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #2e7d32;
  color: #1b5e20;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 13px;
  background: #f1f8f2;
  margin: 0 6px 6px 0;
  cursor: pointer;
}
.tl {
  list-style: none;
  margin: 6px 0 0 7px;
  padding: 0;
  border-left: 2px solid #dde3de;
}
.tl li {
  position: relative;
  padding: 0 0 14px 18px;
  font-size: 0.9rem;
}
.tl li:before {
  content: '';
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
}
.tl .w:before {
  background: #d97706;
}
.tl small {
  display: block;
  color: #6c757d;
}
.lc {
  background: #fff;
  border-radius: 18px;
  border: var(--bd);
  box-shadow: var(--sh);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.lh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  background: linear-gradient(180deg, #f8fafc, #fff);
  flex-wrap: wrap;
}
.lh h5 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}
.va {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1b5e20;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  cursor: pointer;
}
.va:hover {
  background: #1b5e20;
  color: #fff;
}
.tw {
  overflow-x: auto;
}
.dt {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.dt th {
  text-align: left;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #64748b;
  font-weight: 800;
  padding: 0.85rem 1.1rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  white-space: nowrap;
}
.dt td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  vertical-align: middle;
  font-size: 0.88rem;
  color: #1e293b;
}
.dt tr:last-child td {
  border-bottom: 0;
}
.dt tbody tr:hover {
  background: #f8fafc;
}
.dt .nm {
  font-weight: 700;
  color: #0f172a;
}
.dt .rg {
  color: #94a3b8;
  font:
    0.74rem ui-monospace,
    monospace;
}
.br {
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1b5e20;
  background: linear-gradient(135deg, #e8f5e9, #d3ecd6);
  border: 1px solid #b8ddbd;
  cursor: pointer;
}
.br:hover {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: #fff;
}
@media (max-width: 700px) {
  .dt thead {
    display: none;
  }
  .dt,
  .dt tbody,
  .dt tr,
  .dt td {
    display: block;
    width: 100%;
  }
  .dt tr {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  }
  .dt td {
    padding: 0.2rem 0;
    border: 0;
  }
  .dt td[data-l]:before {
    content: attr(data-l);
    display: block;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    font-weight: 800;
  }
}
.row3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .row3 {
    grid-template-columns: 1fr;
  }
}
.cc {
  background: #fff;
  border-radius: 18px;
  border: var(--bd);
  box-shadow: var(--sh);
  padding: 1.15rem;
}
.ch {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 0.85rem;
}
.ci {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  color: #1b5e20;
}
.ch h6 {
  margin: 0;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0f172a;
}
.ch p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.72rem;
}
.cv {
  position: relative;
  height: 230px;
}
.tg {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
}
.tg input {
  width: auto;
}
.dr {
  background: #f8f9fa;
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
}
.dr span {
  margin-left: auto;
  color: #6c757d;
  font-size: 0.78rem;
}
.dr button {
  border: 0;
  background: none;
  color: #b71c1c;
  font-size: 18px;
  cursor: pointer;
}
.lnk {
  color: #2e7d32;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}
