* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  color: #1e2430;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 0.779rem;
  font-weight: 400;
  line-height: 1.45;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  color: #1e2430;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.18;
}

h1 {
  font-size: clamp(1.5rem, 1.8vw, 1.875rem);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.125rem, 1.35vw, 1.375rem);
  letter-spacing: -0.015em;
}

h3 {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
}

h4 {
  font-size: 0.9375rem;
}

h5 {
  font-size: 0.875rem;
}

h6 {
  font-size: 0.8125rem;
}

p {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

a {
  color: #d9531a;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.muted {
  color: #5f6b7a;
}

.eyebrow {
  color: #d9531a;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.uj-stack > * + * {
  margin-top: 1rem;
}

.uj-surface {
  background-color: rgba(255, 255, 255, 0.94);
  border-radius: 0.75rem;
}

.uj-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.uj-btn,
.uj-link-btn,
.btn {
  border: 1px solid transparent;
  border-radius: 0.5rem;
  font-weight: 500;
  padding: 0.55rem 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}
.uj-btn:focus-visible,
.uj-link-btn:focus-visible,
.btn:focus-visible {
  outline: 2px solid #f26522;
  outline-offset: 2px;
}

.uj-btn {
  background: #f26522;
  color: #fff;
}
.uj-btn:hover {
  background: #d9531a;
}

.uj-btn-ghost {
  background: #fff;
  color: #0f1e3a;
  border-color: #dee3ea;
}

.uj-btn-danger {
  background: #b72b2b;
  color: #fff;
}

.uj-btn-go {
  background: #218838;
  color: #fff;
}

.uj-link-btn {
  background: none;
  color: #d9531a;
  padding: 0;
}

.uj-card {
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid #dee3ea;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(15, 30, 58, 0.08);
  padding: 1.5rem;
}

.uj-body-admin .uj-card {
  background-color: #ffffff;
  border: 1px solid #dee3ea;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(15, 30, 58, 0.08);
}

.uj-card + .uj-card {
  margin-top: 1rem;
}

.uj-card-narrow {
  max-width: 42rem;
  margin-inline: auto;
}

.uj-card-notice {
  text-align: center;
}

.uj-grid-2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 992px) {
  .uj-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* Form layout */
.form,
.uj-form,
.form-toolbar,
.uj-toolbar {
  display: grid;
  gap: 1rem;
}

.form-row,
.uj-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .form-row,
  .uj-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* A label and its associated control */
.form-field {
  display: grid;
  min-width: 0;
  gap: 0.5rem;
}

.form-field > label,
.form-label {
  margin: 0;
  color: #1e2430;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
}

.form-hint {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.6875rem;
  line-height: 1.45;
}

/* Validation messages */
.validation-summary {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  color: #b72b2b;
  background: #fbeaea;
  border: 1px solid rgba(183, 43, 43, 0.22);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
}

.validation-summary:empty,
.validation-summary-valid {
  display: none;
}

.validation-summary ul {
  margin: 0;
  padding-left: 1.5rem;
}

.field-validation-error,
.uj-validation {
  display: block;
  margin-top: 0.25rem;
  color: #b72b2b;
  font-size: 0.6875rem;
  line-height: 1.4;
}

.uj-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.uj-table th,
.uj-table td {
  border-bottom: 1px solid #dee3ea;
  padding: 0.7rem;
  text-align: left;
  vertical-align: top;
}

.uj-table thead th {
  background: #fff;
  color: #0f1e3a;
  font-weight: 700;
}

.uj-table-tight th,
.uj-table-tight td {
  padding: 0.5rem;
}

.uj-status-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.uj-status-available {
  color: #fff;
  background: #218838;
}

.uj-status-disabled {
  color: #fff;
  background: #b72b2b;
}

.uj-status-scheduled {
  color: #000;
  background: #ffe8bf;
}

.uj-ok {
  color: #218838;
}

.uj-warn {
  color: #b72b2b;
}

/* ==================================================
   Sidebar surface
================================================== */
.admin-sidebar {
  position: relative;
  z-index: 5;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(125, 53, 31, 0.94), rgba(84, 39, 31, 0.9));
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  box-shadow: 8px 0 30px rgba(35, 31, 32, 0.14), inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

/* ==================================================
   Sidebar identity
================================================== */
.admin-sidebar-brand {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  align-items: center;
  min-height: 4rem;
  padding: 1rem;
  color: #ffffff;
  text-decoration: none;
  background: rgba(242, 101, 34, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 24px rgba(35, 31, 32, 0.08);
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.admin-sidebar-brand:hover {
  color: #ffffff;
  background: rgba(242, 101, 34, 0.42);
}

.admin-sidebar-brand:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.78);
  outline-offset: -4px;
}

.admin-sidebar-logo {
  display: block;
  width: 4rem;
  height: 4rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.admin-sidebar-wordmark {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.2;
}

.admin-sidebar-university {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.admin-sidebar-system {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ==================================================
   Sidebar body
================================================== */
.admin-sidebar-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem 0.75rem 1rem;
  overflow-y: auto;
}

/* ==================================================
   Navigation
================================================== */
.admin-navigation {
  display: grid;
  gap: 0.5rem;
}

.admin-navigation-heading {
  display: block;
  margin-bottom: 0.5rem;
  padding-inline: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-nav-link {
  position: relative;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  align-items: center;
  gap: 0.25rem;
  min-height: 3.75rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.admin-nav-link > i {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: rgba(255, 255, 255, 0.68);
  border-radius: 0.5rem;
  transition: color 150ms ease, background-color 150ms ease;
}

.admin-nav-link > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.admin-nav-link strong {
  color: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
}

.admin-nav-link small {
  margin-top: 0.12rem;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.admin-nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(0.15rem);
}

.admin-nav-link:hover > i {
  color: #ffffff;
  background: rgba(242, 101, 34, 0.34);
}

/* ==================================================
   Active navigation item
================================================== */
.admin-nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(110deg, rgba(242, 101, 34, 0.5), rgba(255, 255, 255, 0.1));
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 24px rgba(35, 31, 32, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.admin-nav-link.is-active::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  bottom: 0.65rem;
  left: -0.2rem;
  width: 0.22rem;
  background: #f26522;
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(242, 101, 34, 0.55);
}

.admin-nav-link.is-active > i {
  color: #ffffff;
  background: rgba(242, 101, 34, 0.62);
}

.admin-nav-link.is-active small {
  color: rgba(255, 255, 255, 0.72);
}

/* ==================================================
   Signed-in user
================================================== */
.admin-sidebar-account {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.admin-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
}

.admin-sidebar-user-details {
  display: grid;
  min-width: 0;
  gap: 0.15rem;
}
.admin-sidebar-user-details strong {
  overflow: hidden;
  color: #ffffff;
  font-size: 0.8125rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-sidebar-user-details span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.6875rem;
}

.admin-sidebar-logout-form {
  margin-top: 0.5rem;
}

.admin-sidebar-logout {
  width: 100%;
  min-height: 3rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.admin-sidebar-logout:hover {
  color: #ffffff;
  background: rgba(242, 101, 34, 0.22);
  border-color: rgba(242, 101, 34, 0.5);
}

.admin-sidebar-logout-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

/* ==================================================
   Sign-out button
================================================== */
.admin-sidebar-user form {
  margin: 0;
}

.admin-signout-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 400;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.admin-signout-button:hover {
  color: #ffffff;
  background: rgba(242, 101, 34, 0.34);
  border-color: rgba(255, 255, 255, 0.24);
}

.admin-signout-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.72);
  outline-offset: 2px;
}

/* ==================================================
   Sidebar toggle
================================================== */
.admin-sidebar-toggle {
  position: fixed;
  z-index: 30;
  top: 1.5rem;
  left: 16.85rem;
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  padding: 0;
  color: #ffffff;
  background: linear-gradient(145deg, #f26522, #d9531a);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(35, 31, 32, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: left 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.admin-sidebar-toggle i {
  font-size: 0.75rem;
  transition: transform 150ms ease;
}

.admin-sidebar-toggle:hover {
  color: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 10px 25px rgba(35, 31, 32, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.admin-sidebar-toggle:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.admin-sidebar-backdrop {
  display: none;
}

/* ==================================================
   Collapsed desktop icon rail
================================================== */
@media (min-width: 992px) {
  .uj-body-admin.sidebar-is-collapsed .uj-admin-shell {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .uj-body-admin.sidebar-is-collapsed {
    /* Branding */
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    min-height: 5rem;
    padding: 0.5rem;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-logo {
    width: 3.25rem;
    height: 3.25rem;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-wordmark {
    display: none;
  }
  .uj-body-admin.sidebar-is-collapsed {
    /* Sidebar content */
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-body {
    padding: 1rem 0.5rem;
    overflow-x: hidden;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-navigation {
    gap: 0.5rem;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-navigation-heading {
    display: none;
  }
  .uj-body-admin.sidebar-is-collapsed {
    /* Navigation icons */
  }
  .uj-body-admin.sidebar-is-collapsed .admin-nav-link {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    width: 3.5rem;
    min-height: 3.5rem;
    margin-inline: auto;
    padding: 0;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-nav-link > i {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.95rem;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-nav-link > span {
    display: none;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-nav-link:hover {
    transform: none;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-nav-link.is-active::before {
    top: 0.55rem;
    bottom: 0.55rem;
    left: -0.3rem;
  }
  .uj-body-admin.sidebar-is-collapsed {
    /* Account */
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-account {
    display: grid;
    justify-items: center;
    padding-top: 0.75rem;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-user {
    justify-content: center;
    width: 100%;
    padding: 0.5rem 0;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-user .icon-badge {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 2.5rem;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-user-details {
    display: none;
  }
  .uj-body-admin.sidebar-is-collapsed {
    /* Keep sign out visible */
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-logout-form {
    width: 100%;
    margin-top: 0.5rem;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-logout {
    justify-content: center;
    width: 3.25rem;
    min-height: 3.25rem;
    margin-inline: auto;
    padding: 0;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-logout > span:first-child {
    display: none;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-logout-icon {
    width: 2.25rem;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.12);
  }
  .uj-body-admin.sidebar-is-collapsed {
    /* Toggle follows the icon rail */
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-toggle {
    left: 3.85rem;
  }
  .uj-body-admin.sidebar-is-collapsed .admin-sidebar-toggle i {
    transform: rotate(180deg);
  }
}
/* ==================================================
   Tablet
================================================== */
@media (max-width: 991px) {
  .uj-admin-shell {
    display: block;
  }
  .admin-sidebar {
    position: fixed;
    z-index: 40;
    inset: 0 auto 0 0;
    width: min(22rem, 86vw);
    min-height: 100dvh;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
  }
  .admin-sidebar-toggle {
    top: 0.75rem;
    left: 0.75rem;
    border-radius: 0.5rem;
  }
  .admin-sidebar-toggle i {
    transform: rotate(180deg);
  }
  .admin-sidebar-backdrop {
    position: fixed;
    z-index: 35;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(35, 31, 32, 0.48);
    border: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease, visibility 150ms ease;
  }
  .uj-body-admin.sidebar-is-open {
    overflow: hidden;
  }
  .uj-body-admin.sidebar-is-open .admin-sidebar {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
  }
  .uj-body-admin.sidebar-is-open .admin-sidebar-toggle {
    z-index: 45;
    left: calc(min(22rem, 86vw) - 1.15rem);
    border-radius: 50%;
  }
  .uj-body-admin.sidebar-is-open .admin-sidebar-toggle i {
    transform: none;
  }
  .uj-body-admin.sidebar-is-open .admin-sidebar-backdrop {
    display: block;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  .admin-sidebar-body {
    padding: 1rem 0.75rem;
  }
  .admin-navigation {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-navigation-heading {
    display: block;
  }
  .admin-nav-link {
    grid-template-columns: 2rem minmax(0, 1fr);
  }
  .admin-nav-link small {
    display: block;
  }
  .admin-sidebar-user {
    margin-top: auto;
    padding-top: 0.75rem;
  }
}
/* ==================================================
   Mobile
================================================== */
@media (max-width: 575px) {
  .admin-sidebar-brand {
    min-height: 3.75rem;
    padding: 0.5rem 0.75rem;
  }
  .admin-sidebar-logo {
    width: 3rem;
    height: 2.4rem;
  }
  .admin-navigation {
    gap: 0.25rem;
  }
  .admin-nav-link {
    display: flex;
    min-height: 3rem;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    text-align: center;
  }
  .admin-nav-link > i {
    width: auto;
    height: auto;
  }
  .admin-nav-link strong {
    font-size: 0.68rem;
  }
  .admin-sidebar-user {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }
  .admin-sidebar-user form {
    width: auto;
  }
  .admin-signout-button {
    width: 2.75rem;
    padding: 0;
    justify-content: center;
  }
  .admin-signout-button span {
    display: none;
  }
  .inactive-notice-actions {
    justify-content: stretch;
  }
  .inactive-notice-actions .service-action-button {
    width: 100%;
  }
}
/* ==================================================
   Shared enclosed controls
================================================== */
.form-control-box,
.form-field > input:not([type=checkbox]):not([type=radio]),
.form-field > select,
.form-field > textarea {
  width: 100%;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  appearance: none;
  color: #1e2430;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(30, 36, 48, 0.2);
  border-radius: 0.5rem;
  outline: 0;
  font: inherit;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.form-field > textarea {
  min-height: 6rem;
  resize: vertical;
}

.form-control-box::placeholder,
.form-field > input::placeholder,
.form-field > textarea::placeholder {
  color: rgba(95, 107, 122, 0.7);
}

.form-control-box:hover,
.form-field > input:hover,
.form-field > select:hover,
.form-field > textarea:hover {
  border-color: rgba(242, 101, 34, 0.55);
}

.form-control-box:focus,
.form-field > input:focus,
.form-field > select:focus,
.form-field > textarea:focus {
  background: #ffffff;
  border-color: #f26522;
  box-shadow: 0 0 0 0.2rem rgba(242, 101, 34, 0.14);
}

/* ==================================================
   Underlined text input
   Used by the login form
================================================== */
.form-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  border-bottom: 1px solid rgba(30, 36, 48, 0.3);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-input > i {
  flex: 0 0 auto;
  color: #5f6b7a;
  font-size: 0.8125rem;
  transition: color 150ms ease, transform 150ms ease;
}

.form-input > input {
  width: 100%;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.75rem 0;
  appearance: none;
  color: #1e2430;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  font: inherit;
}

.form-input > input::placeholder {
  color: rgba(95, 107, 122, 0.68);
}

.form-input:hover {
  border-bottom-color: rgba(242, 101, 34, 0.68);
}

.form-input:focus-within {
  border-bottom-color: #f26522;
  box-shadow: 0 2px 0 rgba(242, 101, 34, 0.18);
}

.form-input:focus-within > i {
  color: #f26522;
  transform: translateY(-1px);
}

.form-input > input:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
}

/* ==================================================
   Validation states
================================================== */
.form-control-box.input-validation-error,
.form-field > .input-validation-error {
  border-color: #b72b2b;
  box-shadow: 0 0 0 0.2rem rgba(183, 43, 43, 0.12);
}

.form-input:has(.input-validation-error),
.form-input.has-error {
  border-bottom-color: #b72b2b;
  box-shadow: 0 2px 0 rgba(183, 43, 43, 0.16);
}

.form-input:has(.input-validation-error) > i,
.form-input.has-error > i {
  color: #b72b2b;
}

/* ==================================================
   Disabled and read-only controls
================================================== */
.form-control-box:disabled,
.form-field > input:disabled,
.form-field > select:disabled,
.form-field > textarea:disabled,
.form-field > input[readonly],
.form-field > textarea[readonly] {
  cursor: not-allowed;
  color: #5f6b7a;
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(30, 36, 48, 0.14);
  opacity: 1;
}

.tabs {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(30, 36, 48, 0.16);
}

.tab-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  min-width: 8.5rem;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.75rem 1.5rem;
  color: #5f6b7a;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 0.779rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.tab-button::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
  border-radius: 999px 999px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: background-color 150ms ease, transform 150ms ease;
}

.tab-button:hover {
  color: #d9531a;
}

.tab-button.active {
  color: #d9531a;
  background: transparent;
  box-shadow: none;
}

.tab-button.active::after {
  background: #f26522;
  transform: scaleX(1);
}

.tab-button:focus-visible {
  outline: 2px solid rgba(242, 101, 34, 0.48);
  outline-offset: 0.2rem;
}

.tab-button i {
  color: currentColor;
}

/* Bootstrap controls visibility; this styles the panels only. */
.tab-content {
  min-width: 0;
}

.tab-panel {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 0.75rem;
}

.tab-panel .form-field {
  display: grid;
  gap: 0.5rem;
}

.tab-panel .form-field label {
  margin: 0;
  color: #1e2430;
  font-size: 0.8125rem;
  font-weight: 600;
}

.tab-panel textarea,
.tab-panel select,
.tab-panel input[type=datetime-local] {
  width: 100%;
  min-height: 3.15rem;
  padding: 0.8rem 1rem;
  color: #1e2430;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(30, 36, 48, 0.2);
  border-radius: 0.5rem;
  outline: 0;
  font: inherit;
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.tab-panel textarea {
  min-height: 6rem;
  resize: vertical;
}

.tab-panel textarea:hover,
.tab-panel select:hover,
.tab-panel input[type=datetime-local]:hover {
  border-color: rgba(242, 101, 34, 0.48);
}

.tab-panel textarea:focus,
.tab-panel select:focus,
.tab-panel input[type=datetime-local]:focus {
  background: #ffffff;
  border-color: #f26522;
  box-shadow: 0 0 0 0.2rem rgba(242, 101, 34, 0.14);
}

@media (max-width: 575px) {
  .tabs {
    gap: 1.5rem;
  }
  .tab-panel {
    padding: 0.75rem;
  }
}
/* components/_icon-badge.scss */
.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  color: #d9531a;
  background: rgba(242, 101, 34, 0.12);
  border: 1px solid rgba(242, 101, 34, 0.14);
  border-radius: 50%;
  transition: color 150ms ease, background-color 150ms ease, transform 150ms ease;
}

.icon-badge.is-light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.icon-badge.is-success {
  color: #218838;
  background: #e8f5ec;
  border-color: rgba(33, 136, 56, 0.14);
}

.icon-badge.is-warning {
  color: #d98600;
  background: #fff3d6;
  border-color: rgba(217, 134, 0, 0.14);
}

.icon-badge.is-danger {
  color: #b72b2b;
  background: #fbeaea;
  border-color: rgba(183, 43, 43, 0.14);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  background-image: url("/images/branding/uj-pattern-original.svg");
  background-repeat: repeat;
  background-position: center top;
  background-size: 580px auto;
}

.uj-body-public {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: #1e2430;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at 8% 12%, rgba(242, 101, 34, 0.13), transparent 24rem), radial-gradient(circle at 92% 88%, rgba(242, 101, 34, 0.08), transparent 30rem), linear-gradient(145deg, #ffffff 0%, #fff3ed 55%, rgba(242, 101, 34, 0.12) 100%);
}

.uj-body-public .uj-main {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: 1rem;
  padding-bottom: 2rem;
}

.uj-topbar {
  background: #ffffff;
  border-bottom: 1px solid #dee3ea;
}

.uj-topbar-inner {
  width: min(1120px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
}

.uj-logo {
  height: 42px;
  width: auto;
}

.uj-topbar-wordmark {
  color: #0f1e3a;
  font-weight: 700;
  font-size: 0.92rem;
}

.uj-subbar {
  background: #fff3ed;
  border-bottom: 1px solid rgba(242, 101, 34, 0.25);
  color: #1e2430;
  font-size: 0.88rem;
  padding: 0.5rem 1rem;
  text-align: center;
}

.uj-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 58, 0.45);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.uj-overlay-card {
  background-color: #ffffff;
  border: 1px solid #dee3ea;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(15, 30, 58, 0.08);
  max-width: 42rem;
  padding: 1.5rem;
}

/* ==================================================
   Guest page frame
   Header + content + footer
================================================== */
.uj-body-admin.is-guest {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #b96345;
  background-image: radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0.09) 18%, transparent 38%), radial-gradient(circle at 76% 30%, rgba(247, 216, 200, 0.22) 0, transparent 36%), radial-gradient(circle at 88% 88%, rgba(217, 83, 26, 0.3) 0, transparent 42%), linear-gradient(135deg, #d47755 0%, #bd684a 48%, #99513f 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* ==================================================
   Guest header
================================================== */
.admin-login-header {
  position: relative;
  z-index: 10;
  min-height: 62px;
  background: #f26522;
  border-bottom: 1px solid #d9531a;
  box-shadow: 0 4px 14px rgba(35, 31, 32, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.admin-login-header-inner {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding-inline: 1.5rem;
}

.admin-login-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  color: #ffffff;
  text-decoration: none;
}

.admin-login-header-brand:hover {
  color: #ffffff;
}

.admin-login-header-logo {
  display: block;
  width: 4.5rem;
  height: 3.5rem;
  flex: 0 0 auto;
  object-fit: contain;
}

.admin-login-wordmark {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
}

.admin-login-university {
  color: #ffffff;
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.admin-login-system-name {
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ==================================================
   Guest content shell
================================================== */
.admin-login-shell {
  display: grid;
  align-items: center;
  width: min(1600px, 100%);
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin-inline: auto;
  padding: clamp(0.5rem, 2vh, 1.5rem) clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  gap: 0;
}
@media (min-width: 992px) {
  .admin-login-shell {
    grid-template-columns: minmax(18rem, 1fr) minmax(15rem, 19rem) minmax(25rem, 29rem);
  }
}

/* ==================================================
   Guest footer
================================================== */
.uj-body-admin.is-guest .uj-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3rem;
  margin: 0;
  padding: 0.5rem 1.5rem;
  color: #ffffff;
  background: rgba(125, 53, 31, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.6875rem;
  font-weight: 400;
  box-shadow: 0 -4px 14px rgba(35, 31, 32, 0.2);
}

/* ==================================================
   Decorative glass bubbles
================================================== */
.login-bubbles {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  pointer-events: none;
  grid-column: 1;
  grid-row: 1;
}

.login-bubbles span {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.055) 48%, rgba(255, 255, 255, 0.02) 72%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -12px 30px rgba(217, 83, 26, 0.05), 0 14px 34px rgba(35, 31, 32, 0.07);
  animation: login-bubble-float 15s ease-in-out infinite;
}

.login-bubbles span:nth-child(1) {
  top: 8%;
  left: 7%;
  width: clamp(7rem, 10vw, 10rem);
  animation-duration: 18s;
}

.login-bubbles span:nth-child(2) {
  top: 17%;
  right: 14%;
  width: clamp(3rem, 4vw, 4rem);
  animation-delay: -5s;
  animation-duration: 14s;
}

.login-bubbles span:nth-child(3) {
  top: 43%;
  left: 19%;
  width: clamp(4.5rem, 6vw, 6rem);
  animation-delay: -9s;
  animation-duration: 17s;
}

.login-bubbles span:nth-child(4) {
  right: 20%;
  bottom: 5%;
  width: clamp(8rem, 11vw, 11rem);
  animation-delay: -3s;
  animation-duration: 20s;
}

.login-bubbles span:nth-child(5) {
  right: 5%;
  bottom: 29%;
  width: clamp(3rem, 4.5vw, 4.5rem);
  animation-delay: -7s;
  animation-duration: 16s;
}

@keyframes login-bubble-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0.4rem, -0.65rem, 0) scale(1.025);
  }
}
@media (prefers-reduced-motion: reduce) {
  .login-bubbles span {
    animation: none;
  }
}
@media (max-width: 991px) {
  .login-bubbles,
  .admin-login-brand {
    display: none;
  }
}
/* ==================================================
   Authenticated admin layout
================================================== */
.uj-body-admin.is-authenticated {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100vh;
  height: 100svh;
  background-color: #b96345;
  background-image: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 34%), radial-gradient(circle at 88% 82%, rgba(217, 83, 26, 0.24), transparent 42%), linear-gradient(135deg, #d47755 0%, #bd684a 48%, #99513f 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.uj-admin-shell {
  display: grid;
  grid-template-columns: 18rem minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
}

/* ==================================================
   Authenticated content background
================================================== */
/* ==================================================
   Authenticated content background
================================================== */
.uj-admin-content {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(1rem, 2.2vw, 2rem) clamp(1rem, 2.5vw, 2rem);
  background-color: #b96345;
  background-image: radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.2) 0, rgba(255, 255, 255, 0.08) 18%, transparent 38%), radial-gradient(circle at 76% 28%, rgba(247, 216, 200, 0.18) 0, transparent 36%), radial-gradient(circle at 88% 88%, rgba(217, 83, 26, 0.26) 0, transparent 42%), linear-gradient(135deg, #d47755 0%, #bd684a 48%, #99513f 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.admin-page-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ==================================================
   Dashboard background bubbles
================================================== */
.admin-background-bubbles {
  position: absolute;
  z-index: 1;
  inset: 0;
  min-width: 0;
  overflow: hidden;
  pointer-events: none;
}

.admin-background-bubbles span {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05) 48%, rgba(255, 255, 255, 0.015) 72%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), inset 0 -12px 30px rgba(217, 83, 26, 0.05), 0 14px 34px rgba(35, 31, 32, 0.07);
  animation: admin-bubble-float 16s ease-in-out infinite;
}

/* Keep most bubbles near the top of the dashboard */
.admin-background-bubbles span:nth-child(1) {
  top: 3rem;
  left: 4%;
  width: clamp(6rem, 9vw, 10rem);
  animation-duration: 18s;
}

.admin-background-bubbles span:nth-child(2) {
  top: 2rem;
  left: 28%;
  width: clamp(3rem, 5vw, 5rem);
  animation-delay: -5s;
  animation-duration: 14s;
}

.admin-background-bubbles span:nth-child(3) {
  top: 8rem;
  right: 30%;
  width: clamp(5rem, 7vw, 8rem);
  animation-delay: -8s;
  animation-duration: 17s;
}

.admin-background-bubbles span:nth-child(4) {
  top: 3rem;
  right: 8%;
  width: clamp(7rem, 11vw, 12rem);
  animation-delay: -3s;
  animation-duration: 20s;
}

.admin-background-bubbles span:nth-child(5) {
  top: 18rem;
  right: 3%;
  width: clamp(3rem, 5vw, 5.5rem);
  animation-delay: -7s;
  animation-duration: 15s;
}

@keyframes admin-bubble-float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0.4rem, -0.65rem, 0) scale(1.025);
  }
}
@media (prefers-reduced-motion: reduce) {
  .admin-background-bubbles span {
    animation: none;
  }
}
/* ==================================================
   Small header and footer
================================================== */
@media (max-width: 575px) {
  .admin-login-header,
  .admin-login-header-inner {
    min-height: 3.75rem;
  }
  .admin-login-header-inner {
    padding-inline: 0.75rem;
  }
  .admin-login-header-brand {
    gap: 0.5rem;
  }
  .admin-login-header-logo {
    width: 3rem;
    height: 2.4rem;
  }
  .admin-login-university {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }
  .admin-login-system-name {
    margin-top: 0.1rem;
    font-size: 0.5rem;
    letter-spacing: 0.07em;
  }
  .admin-login-shell {
    padding: 0.5rem 0.75rem;
  }
  .uj-body-admin.is-guest .uj-footer {
    min-height: 2.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.6rem;
  }
  .uj-body-admin.is-guest .uj-footer span:last-child {
    display: none;
  }
}
@media (max-width: 991px) {
  .admin-background-bubbles span:nth-child(1),
  .admin-background-bubbles span:nth-child(4) {
    display: none;
  }
  .admin-background-bubbles {
    opacity: 0.65;
  }
}
@media (max-width: 575px) {
  .uj-admin-content {
    padding: 0.75rem;
  }
  .admin-background-bubbles {
    opacity: 0.4;
  }
}
.uj-tabnav {
  display: grid;
  gap: 0.5rem;
}

.uj-tabnav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-left: 3px solid transparent;
  padding: 0.5rem 0.75rem;
  border-radius: 0.35rem;
}

.uj-tabnav a:hover,
.uj-tabnav .uj-tab-active {
  color: #fff;
  border-left-color: #f26522;
  background: rgba(255, 255, 255, 0.08);
}

.uj-service-grid {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 680px) {
  .uj-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.uj-footer {
  margin-top: auto;
  border-top: 1px solid #dee3ea;
  background: rgba(255, 255, 255, 0.96);
  color: #5f6b7a;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  text-align: center;
}

.uj-footer a {
  color: #5f6b7a;
}

.uj-landing-head {
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid #dee3ea;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(15, 30, 58, 0.08);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.uj-service-card {
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid #dee3ea;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(15, 30, 58, 0.08);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.uj-service-card h2 {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.uj-service-card p {
  margin: 0;
}

.uj-service-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.uj-ribbon-accent {
  width: 160px;
  height: auto;
  margin-top: 0.75rem;
}

.uj-security-note {
  background-color: rgba(255, 255, 255, 0.94);
  border: 1px solid #dee3ea;
  border-radius: 0.75rem;
  box-shadow: 0 2px 10px rgba(15, 30, 58, 0.08);
  margin-top: 1rem;
  padding: 1rem;
  font-size: 0.92rem;
}

.uj-card-narrow {
  backdrop-filter: blur(2px);
}

.uj-or {
  text-align: center;
  font-weight: 700;
  color: #5f6b7a;
}

.uj-captcha {
  display: grid;
  gap: 0.5rem;
}

.uj-captcha-img {
  border: 1px solid #dee3ea;
  border-radius: 0.5rem;
  background: #fff;
  max-width: 220px;
}

.uj-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.uj-alert {
  border-radius: 0.5rem;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.75rem;
  border: 1px solid transparent;
}

.uj-alert-ok {
  background: #e9f7ef;
  color: #1d6b33;
  border-color: #c6ebd3;
}

.uj-alert-err {
  background: #faecec;
  color: #882020;
  border-color: #f2caca;
}

.uj-notice-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: #b72b2b;
  padding: 0.25rem 0.65rem;
  margin-bottom: 0.5rem;
}

.uj-banner-text {
  font-size: 1rem;
  font-weight: 600;
}

/* ==================================================
   Dashboard frame
================================================== */
.admin-dashboard {
  width: 100%;
  min-width: 0;
}

.dashboard-surface {
  display: grid;
  gap: 1rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1rem;
  -webkit-backdrop-filter: blur(22px) saturate(1.05);
  backdrop-filter: blur(22px) saturate(1.05);
  box-shadow: 0 22px 55px rgba(35, 31, 32, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.admin-main {
  padding-inline: clamp(0.75rem, 1.5vw, 1.5rem);
}

/* ==================================================
   Page header
================================================== */
.admin-page-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1rem;
}

.admin-page-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, #f26522 0, rgba(242, 101, 34, 0.35) 18%, transparent 72%);
  pointer-events: none;
}

.admin-page-header-copy {
  min-width: 0;
}

.admin-page-header .eyebrow {
  display: block;
  margin-bottom: 0.5rem;
}

.admin-page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  letter-spacing: -0.035em;
}

.admin-page-header p {
  max-width: 48rem;
  margin: 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* ==================================================
   Page header status
================================================== */
.admin-page-header-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: #5f6b7a;
  font-size: 0.6875rem;
  line-height: 1.4;
}

.admin-page-header-detail i {
  flex: 0 0 auto;
  color: #f26522;
  font-size: 0.75rem;
}

/* ==================================================
   Service state badge
================================================== */
.service-state-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.service-state-badge.is-offline {
  color: #b72b2b;
  background: #fbeaea;
  border-color: rgba(183, 43, 43, 0.24);
}

.service-state-badge.is-live {
  color: #218838;
  background: #e8f5ec;
  border-color: rgba(33, 136, 56, 0.24);
}

.service-state-dot {
  width: 0.6rem;
  height: 0.6rem;
  flex: 0 0 0.6rem;
  border-radius: 50%;
}

.service-state-badge.is-offline .service-state-dot {
  background: #b72b2b;
  box-shadow: 0 0 0 0.25rem rgba(183, 43, 43, 0.12);
}

.service-state-badge.is-live .service-state-dot {
  background: #218838;
  box-shadow: 0 0 0 0.25rem rgba(33, 136, 56, 0.12);
}

/* ==================================================
   Feedback messages
================================================== */
.alert-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  box-shadow: 0 2px 10px rgba(15, 30, 58, 0.08);
}

.alert-message i {
  margin-top: 0.15rem;
  flex: 0 0 auto;
}

.alert-message.is-success {
  color: #218838;
  background: rgba(232, 245, 236, 0.96);
  border-color: rgba(33, 136, 56, 0.22);
}

.alert-message.is-error {
  color: #b72b2b;
  background: rgba(251, 234, 234, 0.96);
  border-color: rgba(183, 43, 43, 0.22);
}

/* ==================================================
   Service control surface
================================================== */
.service-control-section {
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.service-control-section::before {
  display: none;
}

.dashboard-activity,
.service-control-section .dashboard-activity {
  position: relative;
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  margin-top: 0.5rem;
  padding: 1rem 0 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.dashboard-activity::before,
.service-control-section .dashboard-activity::before {
  display: none;
}

.service-change-control {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.service-action-card,
.inactive-notice-section,
.metric-card,
.recent-action {
  border-style: solid;
}

/* ==================================================
   Service heading
================================================== */
.service-change-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  padding-bottom: 0.75rem;
}

.service-change-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 107, 122, 0.3) 0, rgba(95, 107, 122, 0.14) 52%, transparent 92%);
  pointer-events: none;
}

.service-change-heading h2 {
  grid-column: 1;
  grid-row: 1;
}

.service-change-heading p {
  grid-column: 1;
  grid-row: 2;
}

.service-change-heading > .service-upcoming-badge,
.service-change-heading > .service-upcoming-details {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  margin-left: 0;
}

.service-change-heading > .service-upcoming-details {
  position: relative;
}

/* ==================================================
   Current state and scheduled-operation badge
================================================== */
.service-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.service-availability-state {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.3rem 0.7rem 0.3rem 0.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.6875rem;
}

.service-availability-state strong {
  font-weight: 600;
}

.service-availability-state-icon {
  display: grid;
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 1.65rem;
  place-items: center;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.65rem;
}

.service-availability-state.is-active {
  color: #218838;
  background: rgba(232, 245, 236, 0.82);
  border-color: rgba(33, 136, 56, 0.2);
}

.service-availability-state.is-active .service-availability-state-icon {
  background: #218838;
}

.service-availability-state.is-paused {
  color: #b72b2b;
  background: rgba(251, 234, 234, 0.84);
  border-color: rgba(183, 43, 43, 0.2);
}

.service-availability-state.is-paused .service-availability-state-icon {
  background: #b72b2b;
}

/* Upcoming operation */
.service-upcoming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.7rem;
  color: #d9531a;
  background: #fff3ed;
  border: 1px solid rgba(242, 101, 34, 0.28);
  margin-left: auto;
  border-radius: 999px;
  font-size: 0.6875rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.service-upcoming-badge i {
  color: #f26522;
}

.service-upcoming-badge strong {
  color: #1e2430;
  font-weight: 600;
}

.service-upcoming-badge:hover {
  color: #d9531a;
  background: rgba(242, 101, 34, 0.13);
  border-color: rgba(242, 101, 34, 0.46);
  transform: translateY(-1px);
}

.service-upcoming-badge.is-empty {
  color: #5f6b7a;
  background: rgba(95, 107, 122, 0.05);
  border-color: rgba(95, 107, 122, 0.18);
}

.service-upcoming-badge.is-empty i {
  color: #5f6b7a;
}

.service-upcoming-count {
  display: inline-grid;
  min-width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  padding-inline: 0.25rem;
  color: #ffffff;
  background: #f26522;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
}

/* ==================================================
   Immediate and scheduled actions
================================================== */
.service-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 0.75rem;
  min-width: 0;
}

.service-action-card {
  position: relative;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(95, 107, 122, 0.15);
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(35, 31, 32, 0.05);
  transition: background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

/* Pointer is over the card */
.service-action-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(242, 101, 34, 0.3);
  box-shadow: 0 5px 14px rgba(35, 31, 32, 0.06);
  transform: translateY(-1px);
}

.service-action-card:focus-within {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(242, 101, 34, 0.46);
  box-shadow: 0 8px 20px rgba(217, 83, 26, 0.08), inset 0.18rem 0 #f26522;
}

.service-action-card:focus-within .icon-badge {
  color: #d9531a;
  background: #fff3ed;
  border-color: rgba(242, 101, 34, 0.32);
}

.service-action-card .service-action-form {
  flex: 1;
}

.service-action-card.is-immediate {
  border-top: 0.18rem solid rgba(242, 101, 34, 0.76);
}

.service-action-card.is-scheduled {
  border-top: 0.18rem solid rgba(242, 101, 34, 0.4);
}

.service-action-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  margin-bottom: 0.75rem;
}

.service-action-card-header .icon-badge {
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  flex-basis: 2.15rem;
  place-items: center;
  color: #d9531a;
  background: #fff3ed;
  border: 1px solid rgba(242, 101, 34, 0.18);
  border-radius: 50%;
}

.service-action-type {
  display: block;
  margin-bottom: 0.1rem;
  color: #5f6b7a;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-action-card-header h3 {
  margin: 0;
  color: #1e2430;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
}

/* ==================================================
   Action forms
================================================== */
.service-action-form {
  display: grid;
  gap: 0.5rem;
  min-width: 0;
  height: 100%;
}

.schedule-action-fields {
  display: grid;
  grid-template-columns: minmax(12rem, 0.9fr) minmax(13rem, 1.1fr);
  gap: 0.5rem;
}

.service-action-card.is-immediate .service-action-form {
  align-self: stretch;
  align-content: stretch;
  grid-template-rows: auto auto;
  align-content: start;
  height: 100%;
}

.service-action-card.is-immediate .form-field {
  align-self: start;
}

.service-action-card.is-immediate .service-action-button {
  align-self: end;
  margin-top: auto;
}

.field-label-detail {
  color: #5f6b7a;
  font-size: 0.625rem;
  font-weight: 400;
}

.service-action-form .form-field {
  min-width: 0;
}

.service-action-form .form-field label {
  display: block;
  margin-bottom: 0.25rem;
  color: #1e2430;
  font-size: 0.6875rem;
  font-weight: 600;
}

.service-action-form .form-field input {
  width: 100%;
  min-width: 0;
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
  color: #1e2430;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(95, 107, 122, 0.24);
  border-radius: 0.5rem;
  outline: 0;
  font-size: 0.6875rem;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.service-action-form .form-field input::placeholder {
  color: rgba(95, 107, 122, 0.68);
}

.service-action-form .form-field input:focus {
  border-color: #f26522;
  box-shadow: 0 0 0 0.2rem rgba(242, 101, 34, 0.12);
}

/* ==================================================
   Workflow buttons
================================================== */
.service-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.3rem 0.85rem 0.3rem 0.3rem;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.service-action-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border-radius: 50%;
}

.service-action-button.is-primary {
  color: #ffffff;
  background: #f26522;
  border-color: #f26522;
  box-shadow: 0 7px 16px rgba(217, 83, 26, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.service-action-button.is-primary .service-action-icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.service-action-button.is-primary:hover {
  color: #ffffff;
  background: #d9531a;
  border-color: #d9531a;
  transform: translateY(-1px);
}

.service-action-button.is-secondary {
  color: #d9531a;
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(242, 101, 34, 0.28);
  box-shadow: 0 3px 10px rgba(35, 31, 32, 0.06);
}

.service-action-button.is-secondary .service-action-icon {
  color: #d9531a;
  background: #fff3ed;
}

.service-action-button.is-secondary:hover {
  color: #d9531a;
  background: #fff3ed;
  border-color: rgba(242, 101, 34, 0.48);
}

.service-action-button:focus-visible {
  outline: 3px solid rgba(242, 101, 34, 0.22);
  outline-offset: 2px;
}

/* ==================================================
   View-only message
================================================== */
.view-only-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: #5f6b7a;
  background: rgba(248, 247, 244, 0.72);
  border: 1px solid rgba(95, 107, 122, 0.16);
  border-radius: 0.5rem;
  font-size: 0.6875rem;
}

.view-only-notice i {
  color: #f26522;
}

/* ==================================================
   Inactive notice
================================================== */
.inactive-notice-section {
  min-width: 0;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(35, 31, 32, 0.04);
}

.inactive-notice-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.inactive-notice-title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.75rem;
}

.inactive-notice-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
  place-items: center;
  color: #d9531a;
  background: #fff3ed;
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-radius: 50%;
}

.inactive-notice-icon i {
  line-height: 1;
}

.inactive-notice-heading-row h3 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  color: #1e2430;
  font-size: 1rem;
  font-weight: 600;
}

.inactive-notice-heading-row h3 span {
  color: #5f6b7a;
  font-size: 0.6875rem;
  font-weight: 400;
}

.inactive-notice-message {
  margin: 0.75rem 0 0 3rem;
  padding-left: 0.75rem;
  color: #5f6b7a;
  border-left: 0.15rem solid rgba(242, 101, 34, 0.44);
  font-size: 0.779rem;
  line-height: 1.55;
}

.inactive-notice-edit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.55rem;
  flex: 0 0 auto;
  color: #d9531a;
  background: transparent;
  border: 0;
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
}

.inactive-notice-edit:hover {
  background: rgba(242, 101, 34, 0.09);
}

.inactive-notice-edit:focus-visible {
  outline: 3px solid rgba(242, 101, 34, 0.2);
  outline-offset: 2px;
}

/* Inactive notice editor */
.inactive-notice-editor {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
}

.inactive-notice-editor[hidden] {
  display: none;
}

.inactive-notice-editor textarea {
  width: 100%;
  min-height: 7rem;
  padding: 0.75rem;
  color: #1e2430;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(95, 107, 122, 0.24);
  border-radius: 0.5rem;
  outline: 0;
  font-size: 0.779rem;
  resize: vertical;
}

.inactive-notice-editor textarea:focus {
  border-color: #f26522;
  box-shadow: 0 0 0 0.2rem rgba(242, 101, 34, 0.12);
}

.inactive-notice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.service-action-form input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.service-action-form input[type=datetime-local] {
  min-inline-size: 0;
}

/* ==================================================
   Dashboard activity surface
================================================== */
.dashboard-activity {
  position: relative;
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 2rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
  backdrop-filter: blur(18px) saturate(1.08);
  box-shadow: 0 18px 44px rgba(35, 31, 32, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.dashboard-activity::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.25rem;
  background: linear-gradient(180deg, #f26522, #d9531a);
}

/* ==================================================
   Activity heading
================================================== */
.dashboard-activity-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.dashboard-activity-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 107, 122, 0.3) 0, rgba(95, 107, 122, 0.14) 52%, transparent 92%);
  pointer-events: none;
}

.dashboard-activity-header h2 {
  margin: 0 0 0.25rem;
  color: #1e2430;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 600;
}

.dashboard-activity-header p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.dashboard-activity-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  color: #d9531a;
  font-size: 0.6875rem;
  font-weight: 600;
  text-decoration: none;
}

.dashboard-activity-link i {
  font-size: 0.75rem;
  transition: transform 150ms ease;
}

.dashboard-activity-link:hover {
  color: #d9531a;
  text-decoration: underline;
}

.dashboard-activity-link:hover i {
  transform: translateX(0.2rem);
}

/* ==================================================
   Metric cards
================================================== */
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  min-height: 5rem;
  padding: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.14) 0%, rgba(255, 243, 237, 0.96) 48%, rgba(255, 255, 255, 0.76) 100%);
  border: 1px solid rgba(242, 101, 34, 0.26);
  border-radius: 0.75rem;
  -webkit-backdrop-filter: blur(14px) saturate(1.12);
  backdrop-filter: blur(14px) saturate(1.12);
  box-shadow: 0 8px 22px rgba(217, 83, 26, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.metric-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 52%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent);
  pointer-events: none;
}

.metric-card:hover {
  border-color: rgba(242, 101, 34, 0.38);
  box-shadow: 0 12px 28px rgba(217, 83, 26, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  transform: translateY(-2px);
}

/* ==================================================
   Metric icons
================================================== */
.metric-card-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  place-items: center;
  color: #d9531a;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(242, 101, 34, 0.28);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(217, 83, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

/* ==================================================
   Metric values
================================================== */
.metric-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1rem;
  min-width: 0;
  width: 100%;
}

.metric-card-value {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  color: #d9531a;
  font-size: clamp(2rem, 2.4vw, 2.65rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric-card-label {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  color: #1e2430;
  font-size: 0.8125rem;
  font-weight: 600;
}

.metric-card-detail {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0.12rem;
  color: #5f6b7a;
  font-size: 0.6875rem;
}

/* ==================================================
   Warning metric
================================================== */
.metric-card.is-warning {
  background: radial-gradient(circle at 5% 5%, rgba(255, 255, 255, 0.7), transparent 38%), linear-gradient(145deg, rgba(251, 234, 234, 0.84), rgba(255, 255, 255, 0.72));
  border-color: rgba(183, 43, 43, 0.26);
}

.metric-card.is-warning .metric-card-icon {
  color: #b72b2b;
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(183, 43, 43, 0.2);
}

.metric-card.is-warning .metric-card-value {
  color: #b72b2b;
}

/* ==================================================
   Recent administrative action
================================================== */
.recent-action {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  padding: 1rem;
  overflow: hidden;
  color: #1e2430;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(255, 243, 237, 0.82), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(242, 101, 34, 0.2);
  border-radius: 0.75rem;
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 8px 22px rgba(217, 83, 26, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.recent-action:hover {
  color: #1e2430;
  border-color: rgba(242, 101, 34, 0.38);
  box-shadow: 0 12px 28px rgba(217, 83, 26, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.recent-action-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  place-items: center;
  color: #d9531a;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(242, 101, 34, 0.2);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(217, 83, 26, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.recent-action-content {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.recent-action-label {
  color: #5f6b7a;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.recent-action-content strong {
  overflow: hidden;
  color: #d9531a;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-action-content > span:last-child {
  color: #5f6b7a;
  font-size: 0.6875rem;
}

.recent-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d9531a;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ==================================================
   Scheduled changes surface
================================================== */
.scheduled-changes {
  position: relative;
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 2rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  backdrop-filter: blur(18px) saturate(1.05);
  box-shadow: 0 18px 44px rgba(35, 31, 32, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.scheduled-changes::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.25rem;
  background: linear-gradient(180deg, #f26522, #d9531a);
}

/* ==================================================
   Scheduled changes heading
================================================== */
.scheduled-changes-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.scheduled-changes-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 107, 122, 0.3) 0, rgba(95, 107, 122, 0.14) 52%, transparent 92%);
  pointer-events: none;
}

.scheduled-changes-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scheduled-changes-title-row h2 {
  margin: 0;
  color: #1e2430;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  font-weight: 600;
}

.scheduled-changes-header p {
  margin: 0.25rem 0 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.scheduled-changes-count {
  display: inline-grid;
  min-width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  padding-inline: 0.4rem;
  color: #ffffff;
  background: #f26522;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(217, 83, 26, 0.18);
}

.service-upcoming-details {
  position: relative;
  margin-left: auto;
}

.service-upcoming-details summary {
  list-style: none;
  cursor: pointer;
}

.service-upcoming-details summary::-webkit-details-marker {
  display: none;
}

.service-upcoming-chevron {
  font-size: 0.65rem;
  transition: transform 150ms ease;
}

.service-upcoming-details[open] .service-upcoming-chevron {
  transform: rotate(180deg);
}

.service-upcoming-details[open] .service-upcoming-badge {
  color: #d9531a;
  background: rgba(242, 101, 34, 0.14);
  border-color: rgba(242, 101, 34, 0.48);
  box-shadow: 0 0 0 0.18rem rgba(242, 101, 34, 0.08);
}

.service-upcoming-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.3rem);
  right: 0;
  display: grid;
  gap: 0.5rem;
  width: min(38rem, 100vw - 2rem);
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(242, 101, 34, 0.3);
  border-top: 0.18rem solid #f26522;
  border-radius: 0.75rem;
  box-shadow: 0 14px 32px rgba(35, 31, 32, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-upcoming-panel::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  right: 2rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #ffffff;
  border-top: 1px solid rgba(242, 101, 34, 0.3);
  border-left: 1px solid rgba(242, 101, 34, 0.3);
  transform: rotate(45deg);
}

.service-upcoming-item {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto minmax(7rem, auto) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border-bottom: 1px solid #dee3ea;
  font-size: 0.6875rem;
}

.service-upcoming-item:last-child {
  border-bottom: 0;
}

.service-upcoming-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #d9531a;
}

.service-schedule-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.7rem;
  color: #b72b2b;
  background: #fbeaea;
  border: 1px solid rgba(183, 43, 43, 0.22);
  border-radius: 999px;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.service-schedule-cancel:hover {
  color: #ffffff;
  background: #b72b2b;
  border-color: #b72b2b;
}

.service-schedule-cancel:focus-visible {
  outline: 3px solid rgba(183, 43, 43, 0.18);
  outline-offset: 2px;
}

.service-upcoming-manage {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.25rem;
  padding-left: 0.5rem;
  color: #d9531a;
  border-left: 1px solid rgba(242, 101, 34, 0.24);
  font-weight: 600;
}

/* ==================================================
   Current SA time
================================================== */
.scheduled-current-time {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  color: #5f6b7a;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(30, 36, 48, 0.08);
  border-radius: 999px;
  font-size: 0.6875rem;
  white-space: nowrap;
}

.scheduled-current-time i {
  color: #f26522;
}

/* ==================================================
   Scheduled change list
================================================== */
.scheduled-change-list {
  display: grid;
  gap: 0.75rem;
}

.scheduled-change-item {
  display: grid;
  grid-template-columns: auto minmax(13rem, 1.4fr) auto minmax(9rem, 0.7fr) auto;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(248, 247, 244, 0.58));
  border: 1px solid rgba(30, 36, 48, 0.09);
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(35, 31, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.scheduled-change-item:hover {
  border-color: rgba(242, 101, 34, 0.22);
  box-shadow: 0 9px 23px rgba(35, 31, 32, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

/* ==================================================
   Scheduled action icon
================================================== */
.scheduled-change-icon {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  flex: 0 0 2.6rem;
  place-items: center;
  border-radius: 50%;
}

.scheduled-change-icon.is-enable {
  color: #218838;
  background: #e8f5ec;
  border: 1px solid rgba(33, 136, 56, 0.18);
}

.scheduled-change-icon.is-pause {
  color: #d9531a;
  background: #fff3ed;
  border: 1px solid rgba(242, 101, 34, 0.18);
}

/* ==================================================
   Scheduled date
================================================== */
.scheduled-change-details {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.scheduled-change-label {
  color: #5f6b7a;
  font-size: 0.6875rem;
}

.scheduled-change-details strong {
  color: #1e2430;
  font-size: 0.8125rem;
  font-weight: 600;
}

.scheduled-change-details time {
  white-space: nowrap;
}

/* ==================================================
   Scheduled state
================================================== */
.scheduled-change-state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}

.scheduled-change-state.is-enable {
  color: #218838;
  background: #e8f5ec;
  border-color: rgba(33, 136, 56, 0.18);
}

.scheduled-change-state.is-pause {
  color: #d9531a;
  background: #fff3ed;
  border-color: rgba(242, 101, 34, 0.2);
}

/* ==================================================
   Scheduled by
================================================== */
.scheduled-change-user {
  display: grid;
  min-width: 0;
  gap: 0.12rem;
}

.scheduled-change-user span {
  color: #5f6b7a;
  font-size: 0.6875rem;
}

.scheduled-change-user strong {
  overflow: hidden;
  color: #1e2430;
  font-size: 0.8125rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==================================================
   Cancel scheduled change
================================================== */
.scheduled-change-cancel-form {
  margin: 0;
}

.scheduled-change-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.7rem;
  color: #b72b2b;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(183, 43, 43, 0.2);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.scheduled-change-cancel:hover {
  color: #ffffff;
  background: #b72b2b;
  border-color: #b72b2b;
}

.scheduled-change-cancel:focus-visible {
  outline: 3px solid rgba(183, 43, 43, 0.2);
  outline-offset: 2px;
}

/* ==================================================
   Empty scheduled state
================================================== */
.scheduled-changes-empty {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 6.5rem;
  padding: 1rem;
  background: linear-gradient(145deg, rgba(248, 247, 244, 0.68), rgba(255, 255, 255, 0.62));
  border: 1px dashed rgba(95, 107, 122, 0.24);
  border-radius: 0.75rem;
}

.scheduled-changes-empty-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  color: #d9531a;
  background: #fff3ed;
  border-radius: 50%;
}

.scheduled-changes-empty h3 {
  margin: 0 0 0.25rem;
  color: #1e2430;
  font-size: 1rem;
  font-weight: 600;
}

.scheduled-changes-empty p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* ==================================================
   Final dashboard card surfaces
================================================== */
.service-action-card,
.inactive-notice-section {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), transparent 52%), linear-gradient(135deg, rgba(242, 101, 34, 0.14) 0%, rgba(255, 243, 237, 0.96) 48%, rgba(255, 255, 255, 0.76) 100%);
  border: 1px solid rgba(242, 101, 34, 0.26);
  box-shadow: 0 8px 22px rgba(217, 83, 26, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-action-card.is-immediate {
  border-top: 0.18rem solid rgba(242, 101, 34, 0.76);
}

.service-action-card.is-scheduled {
  border-top: 0.18rem solid rgba(242, 101, 34, 0.4);
}

.service-action-card:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 52%), linear-gradient(135deg, rgba(242, 101, 34, 0.17) 0%, rgba(255, 243, 237, 0.98) 48%, rgba(255, 255, 255, 0.82) 100%);
  border-color: rgba(242, 101, 34, 0.38);
  box-shadow: 0 10px 25px rgba(217, 83, 26, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.service-action-card:focus-within {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), transparent 52%), linear-gradient(135deg, rgba(242, 101, 34, 0.17) 0%, rgba(255, 243, 237, 0.98) 48%, rgba(255, 255, 255, 0.82) 100%);
  border-color: rgba(242, 101, 34, 0.48);
  box-shadow: 0 8px 20px rgba(217, 83, 26, 0.1), inset 0.18rem 0 #f26522;
}

/* ==================================================
   Responsive 
================================================== */
@media (max-width: 991px) {
  .service-action-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .scheduled-change-item {
    gap: 0.75rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
  }
  .schedule-action-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .scheduled-change-state {
    justify-self: end;
  }
  .scheduled-change-user {
    grid-column: 2;
  }
  .scheduled-change-cancel-form {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
  }
}
@media (max-width: 1500px) {
  .metric-card {
    min-height: 4rem;
  }
  .metric-card-value.is-text,
  .metric-card-detail {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 767px) {
  .dashboard-metrics {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .metric-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 6.5rem;
    padding: 1rem;
  }
  .metric-card-content {
    gap: 0.25rem;
  }
  .metric-card-label {
    font-size: 0.7rem;
  }
  .metric-card-value {
    font-size: 1.65rem;
  }
  .metric-card-value.is-text {
    font-size: 0.779rem;
    line-height: 1.3;
  }
  .metric-card-detail {
    font-size: 0.6875rem;
    line-height: 1.35;
  }
  .admin-page-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .admin-page-header-detail {
    align-items: flex-start;
  }
  .service-state-badge {
    align-self: flex-start;
  }
  .service-status-row {
    align-items: stretch;
    flex-direction: column;
  }
  .service-availability-state,
  .service-upcoming-badge {
    width: 100%;
  }
  .service-upcoming-badge {
    width: 100%;
    margin-left: 0;
  }
  .service-action-button {
    width: 100%;
    justify-self: stretch;
  }
  .inactive-notice-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-activity-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
  .recent-action {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .recent-action-link {
    display: none;
  }
  .scheduled-changes-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
  .scheduled-current-time {
    align-self: flex-start;
  }
  .scheduled-change-item {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }
  .scheduled-change-state {
    grid-column: 2;
    justify-self: start;
  }
  .scheduled-change-user {
    grid-column: 2;
  }
  .scheduled-change-cancel-form {
    grid-column: 1/-1;
    grid-row: auto;
    justify-self: stretch;
  }
  .scheduled-change-cancel {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .dashboard-surface {
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 0.75rem;
  }
  .service-control-section,
  .service-action-panel,
  .inactive-notice-panel,
  .dashboard-panel {
    padding: 1rem;
  }
  .admin-page-header h1 {
    font-size: 1.75rem;
  }
  .service-state-badge {
    padding: 0.4rem 0.7rem;
    font-size: 0.6875rem;
  }
  .service-control-summary {
    gap: 0.75rem;
  }
  .service-control-icon {
    width: 2.6rem;
    height: 2.6rem;
    flex-basis: 2.6rem;
  }
  .service-control-summary h2 {
    font-size: 1.25rem;
  }
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  .dashboard-metric {
    padding: 0.75rem;
  }
  .service-action-button {
    border-radius: 0.75rem;
  }
  .inactive-notice-section {
    padding: 0.75rem;
  }
  .inactive-notice-heading-row {
    align-items: flex-start;
  }
  .inactive-notice-message {
    margin-left: 0;
  }
  .scheduled-changes {
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
  }
  .scheduled-change-item {
    padding: 0.75rem;
  }
  .scheduled-changes-empty {
    align-items: flex-start;
    min-height: 0;
    padding: 0.75rem;
  }
  .service-upcoming-panel {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
  }
  .service-upcoming-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .service-upcoming-item form {
    grid-column: 1/-1;
  }
  .service-upcoming-panel::before {
    display: none;
  }
  .service-upcoming-details {
    width: 100%;
    margin-left: auto;
  }
  .service-upcoming-details .service-upcoming-badge {
    width: 100%;
  }
  .service-schedule-cancel {
    width: 100%;
  }
  .dashboard-activity {
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 0.75rem;
  }
  .metric-card-value {
    font-size: 1.75rem;
  }
  .service-action-card,
  .inactive-notice-section {
    padding: 0.75rem;
  }
  .schedule-action-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-action-card-header {
    align-items: flex-start;
  }
  .service-upcoming-badge-label {
    display: none;
  }
  .inactive-notice-title {
    align-items: flex-start;
  }
  .service-change-heading {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: 0.5rem;
  }
  .service-change-heading h2,
  .service-change-heading p,
  .service-change-heading > .service-upcoming-badge,
  .service-change-heading > .service-upcoming-details {
    grid-column: 1;
    grid-row: auto;
  }
  .admin-main {
    padding-inline: 0.75rem;
  }
}
@media (max-width: 1400px) {
  .schedule-action-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* ==================================================
   Attached branding ribbon and login card
================================================== */
.admin-login-brand {
  min-width: 0;
  min-height: 0;
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
}

.admin-login-branding {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 0;
  padding: clamp(1rem, 2vw, 2rem);
  overflow: hidden;
  background: rgba(242, 101, 34, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-right: 0;
  border-radius: 1rem 0 0 1rem;
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  backdrop-filter: blur(18px) saturate(1.12);
  box-shadow: 0 24px 60px rgba(15, 30, 58, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.admin-login-branding::before {
  content: "";
  position: absolute;
  inset: 0 0 52%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent);
}

.admin-login-tagline {
  position: relative;
  z-index: 1;
  display: block;
  width: min(14rem, 84%);
  max-height: 20rem;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(15, 30, 58, 0.16));
}

.admin-login-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  width: 100%;
  margin-left: -1px;
  padding: 0;
  grid-column: 3;
  grid-row: 1;
}

/* ==================================================
   Login card
================================================== */
.login-card {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 0 1rem 1rem 0;
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
  box-shadow: 0 24px 60px rgba(15, 30, 58, 0.18), 0 8px 22px rgba(217, 83, 26, 0.12);
}

.login-card-body {
  padding: clamp(1rem, 2.5vw, 2rem);
}

/* ==================================================
   Heading
================================================== */
.login-card-header {
  margin-bottom: 1rem;
}

.login-card-header .eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #d9531a;
  font-size: 0.6875rem;
}

.login-card-header h1 {
  margin-bottom: 0.5rem;
  color: #1e2430;
  font-size: clamp(1.8rem, 2.5vw, 2.35rem);
  letter-spacing: -0.035em;
}

.login-card-header .muted {
  max-width: 25rem;
  margin: 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* ==================================================
   Login validation
================================================== */
.field-validation-message {
  display: block;
  min-height: 1.15rem;
  color: #b72b2b;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.35;
}

.field-validation-valid {
  display: none;
}

.login-input:has(.input-validation-error) {
  border-bottom-color: #b72b2b;
  box-shadow: 0 2px 0 rgba(183, 43, 43, 0.16);
}

.login-input:has(.input-validation-error) i {
  color: #b72b2b;
}

.login-input .input-validation-error {
  color: #b72b2b;
}

.login-input .input-validation-error::placeholder {
  color: rgba(183, 43, 43, 0.58);
}

.validation-summary {
  display: none;
}

.validation-summary.validation-summary-errors {
  display: block;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  color: #b72b2b;
  background: rgba(251, 234, 234, 0.92);
  border: 1px solid rgba(183, 43, 43, 0.24);
  border-left: 0.25rem solid #b72b2b;
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  line-height: 1.45;
}

.validation-summary ul {
  margin: 0;
  padding-left: 1rem;
}

.validation-summary li + li {
  margin-top: 0.25rem;
}

/* ==================================================
   Form
================================================== */
.login-form {
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.25rem;
}

.form-field label {
  margin: 0;
  color: #1e2430;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==================================================
   Underlined inputs
================================================== */
.login-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(30, 36, 48, 0.3);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.login-input i {
  flex: 0 0 auto;
  color: #5f6b7a;
  font-size: 0.8125rem;
  transition: color 150ms ease, transform 150ms ease;
}

.login-input input {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  appearance: none;
  color: #1e2430;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
  font: inherit;
  font-size: 0.8125rem;
}

.login-input input::placeholder {
  color: rgba(95, 107, 122, 0.66);
}

.login-input:hover {
  border-bottom-color: rgba(242, 101, 34, 0.68);
}

.login-input:focus-within {
  border-bottom-color: #f26522;
  box-shadow: 0 2px 0 rgba(242, 101, 34, 0.2);
}

.login-input:focus-within i {
  color: #f26522;
  transform: translateY(-1px);
}

.login-input input:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
}

/* ==================================================
   Submit button
================================================== */
.login-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 3rem;
  margin-top: 0.25rem;
  padding-inline: 1.5rem;
  color: #ffffff;
  background: #f26522;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(217, 83, 26, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.login-submit:hover {
  color: #ffffff;
  background: #d9531a;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(217, 83, 26, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.login-submit:active {
  transform: translateY(0);
}

.login-submit:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

/* ==================================================
   Cookie footer
================================================== */
.login-card-footer {
  padding: 0.75rem clamp(1rem, 2.5vw, 2rem);
  background: rgba(255, 255, 255, 0.32);
  border-top: 1px solid rgba(242, 101, 34, 0.16);
}

.login-cookie-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #5f6b7a;
  font-size: 0.68rem;
  line-height: 1.45;
}

.login-cookie-notice i {
  margin-top: 0.15rem;
  flex: 0 0 auto;
  color: #f26522;
}

.login-cookie-notice p {
  margin: 0;
}

/* ==================================================
   Tablet
================================================== */
@media (max-width: 991px) {
  .admin-login-shell {
    grid-template-columns: minmax(0, 1fr);
  }
  .login-bubbles,
  .admin-login-brand {
    display: none;
  }
  .admin-login-content {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    margin-left: 0;
  }
  .login-card {
    width: min(28rem, 100%);
    margin-inline: auto;
    border-radius: 1rem;
  }
}
/* ==================================================
   Mobile
================================================== */
@media (max-width: 575px) {
  .login-card-body {
    padding: 1rem;
  }
  .login-card-header {
    margin-bottom: 0.75rem;
  }
  .login-card-header .eyebrow {
    margin-bottom: 0.25rem;
    font-size: 0.64rem;
  }
  .login-card-header h1 {
    margin-bottom: 0.25rem;
    font-size: 1.55rem;
  }
  .login-card-header .muted {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  .login-form {
    gap: 0.75rem;
  }
  .login-input input {
    min-height: 2.4rem;
    font-size: 0.6875rem;
  }
  .login-submit {
    min-height: 2.7rem;
    margin-top: 0;
  }
  .login-card-footer {
    padding: 0.5rem 1rem;
  }
  .login-cookie-notice {
    font-size: 0.62rem;
    line-height: 1.35;
  }
}
/* ==================================================
   Short laptop screens
================================================== */
@media (min-width: 992px) and (max-height: 760px) {
  .admin-login-tagline {
    width: min(12rem, 80%);
    max-height: 15rem;
  }
  .login-card-body {
    padding: 1rem 1.5rem;
  }
  .login-card-header {
    margin-bottom: 0.75rem;
  }
  .login-card-header h1 {
    font-size: 1.8rem;
  }
  .login-form {
    gap: 0.75rem;
  }
  .login-card-footer {
    padding-block: 0.75rem;
  }
}
/* ==================================================
   Report frame
================================================== */
.audit-report {
  width: 100%;
  min-width: 0;
}

.report-surface {
  display: grid;
  gap: 1rem;
  width: 100%;
  min-width: 0;
  padding: clamp(0.75rem, 1.5vw, 1.5rem);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 1rem;
  backdrop-filter: blur(22px) saturate(1.05);
  box-shadow: 0 22px 55px rgba(35, 31, 32, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.audit-report-section {
  position: relative;
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.audit-report-section::before {
  display: none;
}

/* ==================================================
   Section header
================================================== */
.report-section-header {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
}

.report-section-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 107, 122, 0.3), rgba(95, 107, 122, 0.14) 52%, transparent 92%);
}

.report-section-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.report-section-title-row h2 {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
}

.report-section-header p {
  margin: 0.25rem 0 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
}

.report-record-count {
  display: inline-grid;
  min-width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  padding-inline: 0.45rem;
  color: #ffffff;
  background: #f26522;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
}

/* ==================================================
   Export
================================================== */
.report-export-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.3rem 1rem 0.3rem 0.35rem;
  color: #ffffff;
  background: #f26522;
  border: 1px solid #f26522;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.report-export-button:hover {
  color: #ffffff;
  background: #d9531a;
}

.report-button-icon {
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

/* ==================================================
   Server filter
================================================== */
.report-filter {
  display: grid;
  grid-template-columns: repeat(2, minmax(10rem, 1fr)) auto;
  align-items: end;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 243, 237, 0.62), rgba(255, 255, 255, 0.66));
  border: 1px solid rgba(242, 101, 34, 0.14);
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(35, 31, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.report-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  color: #d9531a;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(242, 101, 34, 0.3);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

/* ==================================================
   DataTable
================================================== */
.audit-table-wrapper {
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-radius: 0.75rem;
  box-shadow: 0 7px 20px rgba(35, 31, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-overflow-scrolling: touch;
}

table.dataTable.audit-table {
  width: 100% !important;
  min-width: 72rem;
  max-width: none !important;
  margin: 0 !important;
}

.audit-table-wrapper .dt-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.audit-table-wrapper .dt-layout-row {
  margin: 0 !important;
}

.audit-table-wrapper .dt-layout-cell {
  padding: 0 !important;
}

.audit-table-wrapper .dt-layout-table {
  margin: 0 !important;
}

div.dt-container {
  width: 100%;
  min-width: 0;
}

table.dataTable.audit-table {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
}

table.dataTable.audit-table.table {
  margin-bottom: 0 !important;
}

table.dataTable.audit-table > thead > tr > th {
  padding: 0.75rem 1rem;
  color: #d9531a;
  background: linear-gradient(135deg, rgba(255, 243, 237, 0.96), rgba(242, 101, 34, 0.1));
  border-right: 1px solid rgba(242, 101, 34, 0.12);
  border-bottom: 1px solid rgba(242, 101, 34, 0.22);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

table.dataTable.audit-table > thead > tr > th:first-child {
  border-top-left-radius: calc(0.75rem - 1px);
}

table.dataTable.audit-table > thead > tr > th:last-child {
  border-top-right-radius: calc(0.75rem - 1px);
  border-right: 0;
}

table.dataTable.audit-table > tbody > tr > td {
  padding: 0.75rem 1rem;
  color: #1e2430;
  background: rgba(255, 255, 255, 0.52);
  border-bottom: 1px solid rgba(30, 36, 48, 0.08);
  font-size: 0.8125rem;
  vertical-align: middle;
}

table.dataTable.audit-table > tbody > tr:hover > td {
  background: rgba(255, 243, 237, 0.36);
}

table.dataTable.audit-table > thead > tr > th,
table.dataTable.audit-table > tbody > tr > td {
  border-right: 1px solid rgba(242, 101, 34, 0.08);
}

table.dataTable.audit-table > thead > tr > th:last-child,
table.dataTable.audit-table > tbody > tr > td:last-child {
  border-right: 0;
}

table.dataTable.audit-table > tbody > tr > td {
  border-bottom: 1px solid rgba(30, 36, 48, 0.07);
}

table.dataTable.audit-table > tbody > tr:last-child > td {
  border-bottom: 0 !important;
}

table.dataTable.audit-table > tbody > tr.child > td {
  border-right: 0;
}

.audit-table-wrapper .dt-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.audit-table-wrapper .dt-layout-row {
  --bs-gutter-x: 0;
  width: 100%;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

.audit-table-wrapper .dt-layout-cell {
  width: 100%;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.audit-table-wrapper .dt-layout-table {
  width: 100%;
  margin: 0 !important;
}

.audit-table time {
  display: grid;
}

.audit-time {
  color: #5f6b7a;
  font-size: 0.6875rem;
}

.audit-action,
.audit-result {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.audit-action {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.audit-action.is-enabled {
  color: #218838;
  background: #e8f5ec;
}

.audit-action.is-disabled {
  color: #d9531a;
  background: #fff3ed;
}

.audit-result {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  white-space: nowrap;
}

.audit-result > span {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 0.5rem;
  border-radius: 50%;
}

.audit-result.is-accessible {
  color: #218838;
  background: #e8f5ec;
  border-color: rgba(33, 136, 56, 0.18);
}

.audit-result.is-accessible > span {
  background: #218838;
}

.audit-result.is-inaccessible {
  color: #b72b2b;
  background: #fbeaea;
  border-color: rgba(183, 43, 43, 0.18);
}

.audit-result.is-inaccessible > span {
  background: #b72b2b;
}

.audit-administrator,
.audit-source {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.audit-administrator i,
.audit-source i {
  color: #f26522;
}

.audit-notes {
  color: #5f6b7a !important;
  overflow-wrap: anywhere;
}

/* Responsive child row generated by DataTables */
table.dataTable > tbody > tr.child ul.dtr-details {
  display: grid;
  width: 100%;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem;
}

table.dataTable > tbody > tr.child span.dtr-title {
  min-width: 8rem;
  color: #5f6b7a;
  font-size: 0.6875rem;
}

/* ==================================================
   Pagination
================================================== */
.report-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.report-pagination-summary {
  color: #5f6b7a;
  font-size: 0.6875rem;
}

.report-pagination-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.report-page-number,
.report-page-direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: 0.35rem 0.65rem;
  color: #5f6b7a;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(30, 36, 48, 0.1);
  border-radius: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-decoration: none;
}

.report-page-number.is-current {
  color: #ffffff;
  background: #f26522;
  border-color: #f26522;
}

/* ==================================================
   Empty state
================================================== */
.report-empty-state {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f8f7f4;
  border: 1px dashed rgba(95, 107, 122, 0.26);
  border-radius: 0.75rem;
}

.report-empty-icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  place-items: center;
  color: #d9531a;
  background: #fff3ed;
  border-radius: 50%;
}

.report-empty-state h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.report-empty-state p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
}

/* ==================================================
   Responsive
================================================== */
@media (max-width: 991px) {
  .report-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-filter-actions {
    grid-column: 1/-1;
  }
}
@media (max-width: 767px) {
  .report-section-header,
  .report-pagination {
    align-items: flex-start;
    flex-direction: column;
  }
  .report-filter {
    grid-template-columns: minmax(0, 1fr);
  }
  .report-filter-button {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .report-surface {
    padding: 0.75rem;
  }
  .audit-report-section {
    padding: 0;
  }
  .report-page-direction span {
    display: none;
  }
}
/* ==================================================
   Page-level chart colours
================================================== */
.hits-report {
  --hits-chart-before: rgba(242, 101, 34, 0.78);
  --hits-chart-before-hover: #d9531a;
  --hits-chart-behind: rgba(15, 30, 58, 0.76);
  --hits-chart-behind-hover: #0f1e3a;
  --hits-chart-paused: rgba(198, 55, 55, 0.7);
  --hits-chart-paused-hover: #b92f2f;
  --hits-chart-grid: rgba(30, 36, 48, 0.08);
  --hits-chart-text: #1e2430;
  --hits-chart-muted: #6b7585;
  width: 100%;
  min-width: 0;
}

/* ==================================================
   Report surface
================================================== */
.hits-report-section {
  position: relative;
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hits-report-section::before {
  display: none;
}

/* ==================================================
   Filters
================================================== */
.hits-report-filter {
  display: grid;
  grid-template-columns: repeat(3, minmax(10rem, 1fr)) auto;
  align-items: end;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 243, 237, 0.62), rgba(255, 255, 255, 0.66));
  border: 1px solid rgba(242, 101, 34, 0.14);
  border-radius: 0.75rem;
  box-shadow: 0 6px 18px rgba(35, 31, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

/* ==================================================
   Summary metrics
================================================== */
.hits-summary {
  min-width: 0;
}

/* ==================================================
   Chart and detail panels
================================================== */
.hits-chart-panel,
.hits-detail-section {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(30, 36, 48, 0.09);
  border-radius: 0.75rem;
  box-shadow: 0 7px 20px rgba(35, 31, 32, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.hits-detail-section .hits-table-wrapper {
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hits-subsection-header {
  position: relative;
  padding-bottom: 0.75rem;
}

.hits-subsection-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(95, 107, 122, 0.28), rgba(95, 107, 122, 0.12) 52%, transparent 92%);
}

.hits-subsection-header h3 {
  margin: 0 0 0.25rem;
  color: #1e2430;
  font-size: 1rem;
  font-weight: 600;
}

.hits-subsection-header p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
}

/* ==================================================
   Interactive chart
================================================== */
.hits-chart-container {
  position: relative;
  width: 100%;
  min-width: 0;
  height: clamp(18rem, 34vw, 26rem);
  padding: 0.5rem;
}

.hits-chart-container canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* ==================================================
   DataTables controls
================================================== */
.hits-table-wrapper {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-radius: 0.75rem;
}

.hits-table-wrapper .dt-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.hits-table-wrapper .dt-layout-row {
  --bs-gutter-x: 0;
  width: 100%;
  margin: 0 !important;
}

.hits-table-wrapper .dt-layout-row:not(.dt-layout-table) {
  padding: 0.75rem;
}

.hits-table-wrapper .dt-layout-cell {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.hits-table-wrapper .dt-layout-table {
  margin: 0 !important;
}

/* Search */
.hits-table-wrapper .dt-search {
  min-width: 0;
}

.hits-table-wrapper .dt-search label {
  display: none;
}

.hits-table-wrapper .dt-search input {
  width: min(20rem, 100%);
  min-width: 16rem;
  min-height: 2.6rem;
  margin: 0 !important;
  padding: 0.55rem 0.75rem 0.55rem 2.4rem;
  color: #1e2430;
  background: rgba(255, 255, 255, 0.84) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7585' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat 0.8rem center;
  border: 1px solid rgba(30, 36, 48, 0.14);
  border-radius: 0.5rem;
  font: inherit;
  box-sizing: border-box;
  font-size: 0.8125rem;
}

.hits-table-wrapper .dt-search input:focus {
  border-color: #f26522;
  outline: 3px solid rgba(242, 101, 34, 0.16);
}

/* Page length */
.hits-table-wrapper .dt-length {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #5f6b7a;
  font-size: 0.6875rem;
}

.hits-table-wrapper .dt-length select {
  min-height: 2.6rem;
  margin: 0 0.25rem;
  border: 1px solid rgba(30, 36, 48, 0.14);
  border-radius: 0.5rem;
}

/* ==================================================
   Hits table
================================================== */
table.dataTable.hits-table {
  width: 100% !important;
  margin: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0;
}

table.hits-table {
  width: 100% !important;
}

table.dataTable.hits-table > thead > tr > th {
  padding: 0.75rem 1rem;
  color: #d9531a;
  background: linear-gradient(135deg, rgba(255, 243, 237, 0.96), rgba(242, 101, 34, 0.1));
  border-right: 1px solid rgba(242, 101, 34, 0.12);
  border-bottom: 1px solid rgba(242, 101, 34, 0.22);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  white-space: nowrap;
}

table.dataTable.hits-table > tbody > tr > td {
  padding: 0.75rem 1rem;
  color: #1e2430;
  background: rgba(255, 255, 255, 0.52);
  border-right: 1px solid rgba(242, 101, 34, 0.07);
  border-bottom: 1px solid rgba(30, 36, 48, 0.07);
  font-size: 0.8125rem;
  vertical-align: middle;
}

table.dataTable.hits-table > thead > tr > th:last-child,
table.dataTable.hits-table > tbody > tr > td:last-child {
  border-right: 0;
}

table.dataTable.hits-table > tbody > tr:last-child > td {
  border-bottom: 0;
}

table.dataTable.hits-table > tbody > tr:hover > td {
  background: rgba(255, 243, 237, 0.34);
}

.hits-period {
  color: #1e2430;
  font-weight: 600;
}

.hits-value {
  color: #d9531a;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hits-paused-value {
  display: inline-flex;
  min-width: 2rem;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.6rem;
  color: #5f6b7a;
  background: rgba(248, 247, 244, 0.8);
  border-radius: 999px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.hits-paused-value.is-warning {
  color: #b72b2b;
  background: #fbeaea;
}

/* ==================================================
   DataTables information and pagination
================================================== */
.hits-table-wrapper .dt-info {
  color: #5f6b7a;
  font-size: 0.6875rem;
}

.hits-table-wrapper .dt-paging {
  display: flex;
  justify-content: flex-end;
}

.hits-table-wrapper .dt-paging .pagination {
  margin: 0;
}

.hits-table-wrapper .dt-paging .page-link {
  color: #5f6b7a;
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(30, 36, 48, 0.1);
}

.hits-table-wrapper .dt-paging .page-item.active .page-link {
  color: #ffffff;
  background: #f26522;
  border-color: #f26522;
}

.hits-table-wrapper .dt-paging .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(242, 101, 34, 0.16);
}

/* ==================================================
   Responsive child details
================================================== */
table.dataTable.hits-table > tbody > tr.child > td {
  border-right: 0;
}

table.dataTable.hits-table > tbody > tr.child ul.dtr-details {
  display: grid;
  width: 100%;
  gap: 0.5rem;
  margin: 0;
  padding: 0.75rem;
}

table.dataTable.hits-table > tbody > tr.child span.dtr-title {
  min-width: 8rem;
  color: #5f6b7a;
  font-size: 0.6875rem;
}

/* Activity table */
.hits-table-wrapper {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

/* DataTables toolbar */
.hits-table-wrapper .dt-layout-row:first-child {
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1rem;
  border-bottom: 1px solid rgba(15, 30, 58, 0.09);
  background: rgba(255, 249, 246, 0.76);
  margin-bottom: 1rem !important;
}

.hits-table-wrapper .dt-search {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.hits-table-wrapper .dt-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.hits-table-wrapper .dt-search input {
  width: min(17rem, 100%);
  min-height: 1.75rem;
  min-width: 16rem;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border: 1px solid rgba(15, 30, 58, 0.14);
  border-radius: 0.7rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23677489' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 0.9rem center/1rem, #fff;
  color: #0f1e3a;
  font: inherit;
  outline: none;
}

.hits-table-wrapper .dt-search input:focus {
  border-color: #f26522;
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.12);
}

.hits-table-wrapper .dt-length {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #667489;
  font-size: 0.82rem;
  font-weight: 500;
}

.hits-table-wrapper .dt-length select {
  min-height: 2.75rem;
  margin: 0 0.25rem !important;
  border: 1px solid rgba(15, 30, 58, 0.14);
  border-radius: 0.7rem;
  background-color: #fff;
  min-width: 4.5rem;
}

/* Table */
.hits-table-wrapper table.dataTable {
  width: 100% !important;
  margin: 0 !important;
  border-collapse: collapse !important;
}

.hits-table-wrapper table.dataTable thead th {
  position: relative;
  padding: 0.9rem 2.4rem 0.9rem 1rem !important;
  border-right: 1px solid rgba(217, 83, 26, 0.13);
  border-bottom: 1px solid rgba(242, 101, 34, 0.24) !important;
  background: linear-gradient(135deg, rgba(242, 101, 34, 0.12), rgba(242, 101, 34, 0.06));
  color: #b94313;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hits-table-wrapper table.dataTable thead th:last-child {
  border-right: 0;
}

/* Remove the always-visible paired DataTables arrows */
.hits-table-wrapper table.dataTable thead th span.dt-column-order::before,
.hits-table-wrapper table.dataTable thead th span.dt-column-order::after {
  display: none !important;
}

/* Use one restrained sorting indicator */
.hits-table-wrapper table.dataTable thead th.dt-orderable-asc::after,
.hits-table-wrapper table.dataTable thead th.dt-orderable-desc::after {
  content: "\f0dc";
  position: absolute;
  top: 50%;
  right: 0.9rem;
  translate: 0 -50%;
  color: rgba(185, 67, 19, 0.28);
  font-family: "Font Awesome 6 Free";
  font-size: 0.7rem;
  font-weight: 900;
}

.hits-table-wrapper table.dataTable thead th.dt-ordering-asc::after {
  content: "\f0de";
  color: #d9531a;
}

.hits-table-wrapper table.dataTable thead th.dt-ordering-desc::after {
  content: "\f0dd";
  color: #d9531a;
}

.hits-table-wrapper table.dataTable tbody td {
  padding: 0.95rem 1rem;
  border-right: 1px solid rgba(15, 30, 58, 0.07);
  border-bottom: 1px solid rgba(15, 30, 58, 0.07);
  background: rgba(255, 255, 255, 0.72);
  color: #536176;
  vertical-align: middle;
}

.hits-table-wrapper table.dataTable tbody td:last-child {
  border-right: 0;
}

.hits-table-wrapper table.dataTable tbody tr:last-child td {
  border-bottom: 0;
}

.hits-table-wrapper table.dataTable tbody tr:hover td {
  background: rgba(242, 101, 34, 0.035);
}

/* Bottom information and pagination */
.hits-table-wrapper .dt-layout-row:last-child {
  align-items: center;
  margin: 0;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(15, 30, 58, 0.08);
  background: rgba(255, 249, 246, 0.65);
}

.hits-table-wrapper .dt-paging:has(.dt-paging-button.current:first-child:nth-last-child(1)) {
  display: none;
}

@media (max-width: 700px) {
  .hits-table-wrapper .dt-layout-row:first-child {
    align-items: stretch;
    flex-direction: column;
  }
  .hits-table-wrapper .dt-search input {
    width: 100%;
  }
  .hits-table-wrapper .dt-length {
    justify-content: space-between;
  }
  .hits-table-wrapper table.dataTable thead th,
  .hits-table-wrapper table.dataTable tbody td {
    padding-left: 0.8rem !important;
    padding-right: 1.8rem !important;
  }
}
/* ==================================================
   Responsive
================================================== */
@media (max-width: 991px) {
  .hits-report-filter {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hits-report-filter .report-filter-button {
    grid-column: 1/-1;
    justify-self: start;
  }
}
@media (max-width: 767px) {
  .hits-report-filter {
    grid-template-columns: minmax(0, 1fr);
  }
  .hits-report-filter .report-filter-button {
    grid-column: auto;
    width: 100%;
  }
  .hits-chart-panel,
  .hits-detail-section {
    padding: 0.75rem;
  }
  .hits-chart-container {
    height: 20rem;
    padding: 0;
  }
  .hits-table-wrapper .dt-layout-row:not(.dt-layout-table) {
    align-items: stretch;
    flex-direction: column;
    gap: 0.75rem;
  }
  .hits-table-wrapper .dt-search input {
    width: 100%;
  }
}
@media (max-width: 575px) {
  .hits-report-section {
    gap: 0.75rem;
    padding: 0;
    border-radius: 0;
  }
  .hits-chart-container {
    height: 18rem;
  }
  .hits-table-wrapper .dt-search,
  .hits-table-wrapper .dt-search input {
    width: 100%;
    min-width: 0;
  }
}
.public-main {
  width: 100%;
  flex: 1 0 auto;
  padding: clamp(1rem, 3vw, 3rem);
  display: grid;
  place-items: center;
}

.status-check-card {
  position: relative;
  width: min(100%, 74rem);
  display: grid;
  grid-template-columns: minmax(21rem, 0.82fr) minmax(34rem, 1.18fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid rgba(242, 101, 34, 0.22);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 243, 237, 0.86));
  box-shadow: 0 24px 60px rgba(35, 31, 32, 0.13), 0 8px 24px rgba(217, 83, 26, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px) saturate(1.12);
}

.status-check-brand {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 32%), linear-gradient(145deg, #d9531a 0%, #d9531a 58%, #231f20 165%);
}

.status-brand-bubbles {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}
.status-brand-bubbles span {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 1rem 2rem rgba(217, 83, 26, 0.05);
  backdrop-filter: blur(0.45rem);
}
.status-brand-bubbles span:nth-child(1) {
  top: -5rem;
  left: -4rem;
  width: 15rem;
  height: 15rem;
}
.status-brand-bubbles span:nth-child(2) {
  top: 30%;
  right: -2rem;
  width: 6rem;
  height: 6rem;
}
.status-brand-bubbles span:nth-child(3) {
  bottom: 8%;
  left: -2rem;
  width: 10rem;
  height: 10rem;
}
.status-brand-bubbles span:nth-child(4) {
  right: 16%;
  bottom: 10%;
  width: 3.5rem;
  height: 3.5rem;
}

.status-brand-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  justify-items: center;
}

.status-brand-service {
  position: absolute;
  z-index: 4;
  top: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  text-align: right;
  text-transform: uppercase;
}

.status-brand-logo-link {
  position: relative;
  z-index: 2;
  display: block;
  width: min(14rem, 84%);
  margin: 0;
  text-decoration: none;
}

.status-check-logo {
  display: block;
  width: 100%;
  max-height: 15rem;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 1rem 2rem rgba(35, 31, 32, 0.18));
}

.status-brand-page {
  display: flex;
  flex-direction: column;
}
.status-brand-page span {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-brand-page strong {
  max-width: 9ch;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.status-brand-ribbon {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 0;
  width: calc(100% - 12rem);
  min-height: 24rem;
  padding: 2rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-right: 0;
  border-radius: 1rem 0 0 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 38%), rgba(242, 101, 34, 0.3);
  box-shadow: 0 1.5rem 3.5rem rgba(35, 31, 32, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(20px) saturate(1.16);
  transform: translateY(-50%);
}

.status-brand-ribbon::before {
  position: absolute;
  inset: 0 0 52%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), transparent);
}

.status-check-content {
  position: relative;
  z-index: 4;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0 1rem 1rem 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 243, 237, 0.94) 62%, rgba(242, 101, 34, 0.09));
  box-shadow: 0 24px 60px rgba(35, 31, 32, 0.16), 0 8px 24px rgba(217, 83, 26, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px) saturate(1.12);
}

.status-check-content::before {
  position: absolute;
  inset: 0 0 auto;
  height: 38%;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent);
}

.status-check-body {
  padding: clamp(1.5rem, 3vw, 3rem);
}

.status-check-body,
.status-check-footer {
  position: relative;
  z-index: 1;
}

.status-check-header {
  margin-bottom: 1rem;
}
.status-check-header .eyebrow {
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.085em;
}
.status-check-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.status-check-header .muted {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.status-heading-line {
  width: 100%;
  height: 1px;
  margin-top: 0.75rem;
  display: block;
  background: linear-gradient(90deg, #f26522 0%, rgba(242, 101, 34, 0.5) 42%, rgba(242, 101, 34, 0.12) 76%, transparent 100%);
}

.status-check-form {
  display: grid;
  gap: 1rem;
}

.status-identity-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 1rem;
}

.status-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(8rem, 0.6fr);
  gap: 1.5rem;
}

.form-field {
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}
.form-field label {
  margin: 0;
  color: #1e2430;
  font-size: 0.6875rem;
  font-weight: 600;
}

.status-line-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(30, 36, 48, 0.3);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.status-line-input > i {
  flex: 0 0 auto;
  color: #5f6b7a;
  font-size: 0.8125rem;
  transition: color 150ms ease, transform 150ms ease;
}
.status-line-input input {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 0;
  appearance: none;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: #1e2430;
  font: inherit;
  font-size: 0.8125rem;
}
.status-line-input input::placeholder {
  color: rgba(95, 107, 122, 0.66);
}
.status-line-input input:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
}
.status-line-input:hover {
  border-bottom-color: rgba(242, 101, 34, 0.68);
}
.status-line-input:focus-within {
  border-bottom-color: #f26522;
  box-shadow: 0 2px 0 rgba(242, 101, 34, 0.2);
}
.status-line-input:focus-within > i {
  color: #f26522;
  transform: translateY(-1px);
}

.status-line-input .status-form-select {
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  padding: 0.5rem 2.25rem 0.5rem 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  background-position: right 0.25rem center;
  background-size: 0.85rem;
  box-shadow: none;
  color: #1e2430;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 0.8125rem;
  cursor: pointer;
}
.status-line-input .status-form-select:focus {
  border: 0;
  outline: 0;
  box-shadow: none;
}

.status-inline-or {
  min-height: 2.75rem;
  display: grid;
  place-items: center;
  color: rgba(95, 107, 122, 0.7);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-captcha {
  padding: 0.75rem;
  border: 1px solid rgba(242, 101, 34, 0.14);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.52), rgba(242, 101, 34, 0.035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.uj-captcha {
  display: grid;
  gap: 0.25rem;
}

.uj-captcha-img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 4, 25rem;
  border: 1px solid rgba(30, 36, 48, 0.1);
  border-radius: 0.5rem;
  background: #ffffff;
}

.uj-captcha label {
  margin: 0.25rem 0 0;
  color: #5f6b7a;
  font-size: 0.7rem;
  line-height: 1.45;
}

/* Bootstrap-like control without changing the partial */
.uj-captcha-input {
  width: 100%;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(30, 36, 48, 0.2);
  border-radius: 0.75rem;
  outline: 0;
  background: rgba(255, 255, 255, 0.78);
  color: #1e2430;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 0.8rem;
  box-shadow: inset 0 1px 2px rgba(35, 31, 32, 0.035);
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}
.uj-captcha-input:hover {
  border-color: rgba(242, 101, 34, 0.48);
}
.uj-captcha-input:focus {
  border-color: #f26522;
  background: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(242, 101, 34, 0.12);
}

.status-check-submit {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.25rem;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: #f26522;
  box-shadow: 0 12px 26px rgba(217, 83, 26, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.status-check-submit:hover {
  color: #ffffff;
  background: #d9531a;
  transform: translateY(-1px);
}

.status-cookie-notice {
  margin-bottom: 0.75rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(242, 101, 34, 0.14);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.35);
  color: #5f6b7a;
  font-size: 0.66rem;
  backdrop-filter: blur(0.8rem);
}

/* ==================================================
   Status-page Select2 fields
================================================== */
.status-line-input .select2-container {
  min-width: 0;
  flex: 1 1 auto;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.status-line-input .select2-container .select2-selection--single {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.5rem 2.25rem 0.5rem 0;
  color: #1e2430;
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: 0;
  box-shadow: none;
}

.status-line-input .select2-container .select2-selection--single .select2-selection__rendered {
  width: 100%;
  padding: 0;
  overflow: hidden;
  color: #1e2430;
  font-size: 0.8125rem;
  line-height: 1.4;
  text-overflow: ellipsis;
}

.status-line-input .select2-container .select2-selection--single .select2-selection__arrow {
  top: 50%;
  right: 0.25rem;
  width: 1.5rem;
  height: 1.5rem;
  transform: translateY(-50%);
}

.status-line-input .select2-container--focus .select2-selection--single,
.status-line-input .select2-container--open .select2-selection--single {
  border: 0;
  outline: 0;
  box-shadow: none;
}

/* Dropdown panel */
.select2-container--open {
  z-index: 1060;
}

.select2-dropdown {
  padding: 0.25rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(30, 36, 48, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 8px 20px rgba(35, 31, 32, 0.12);
}

.select2-container--open .select2-dropdown--below {
  margin-top: 0.25rem;
  border-radius: 0.5rem;
}

.select2-container--open .select2-dropdown--above {
  margin-top: -0.25rem;
  border-radius: 0.5rem;
}

.select2-results__options {
  display: grid;
  gap: 0.125rem;
  padding: 0;
}

.select2-results__option {
  min-height: auto;
  padding: 0.5rem 0.65rem;
  color: #1e2430;
  background: transparent;
  border-radius: 0.35rem;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 0.8125rem;
  line-height: 1.35;
  cursor: pointer;
  transition: color 150ms ease, background-color 150ms ease;
}

/* Selected option */
.select2-container--default .select2-results__option[aria-selected=true] {
  color: #d9531a;
  background: #fff3ed;
  font-weight: 500;
}

/* Hover and keyboard-highlighted option */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  color: #d9531a;
  background: rgba(242, 101, 34, 0.12);
}

/* Selected option while highlighted */
.select2-container--default .select2-results__option--highlighted[aria-selected=true] {
  color: #d9531a;
  background: rgba(242, 101, 34, 0.18);
}

@media (max-width: 991px) {
  .status-check-card {
    width: min(40rem, 100%);
    grid-template-columns: 1fr;
  }
  .status-check-brand {
    min-height: 15rem;
    margin-right: 0;
    margin-bottom: -1px;
    padding: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.32);
    border-bottom: 0;
    border-radius: 1rem 1rem 0 0;
  }
  .status-brand-content {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.5rem;
  }
  .status-brand-service {
    grid-column: 1/-1;
    margin-bottom: 0;
    text-align: left;
  }
  .status-brand-logo-link {
    grid-column: 1/-1;
    width: 10rem;
  }
  .status-check-content {
    border-radius: 0 0 1rem 1rem;
  }
}
@media (max-width: 767px) {
  .status-check-body {
    padding: 1rem;
  }
  .status-identity-fields,
  .status-form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .status-inline-or {
    min-height: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .status-inline-or::before, .status-inline-or::after {
    height: 1px;
    flex: 1;
    content: "";
    background: rgba(30, 36, 48, 0.12);
  }
}
@media (max-width: 575px) {
  .public-main {
    padding: 0.5rem;
  }
  .status-check-brand {
    padding: 1rem;
  }
  .status-brand-service {
    font-size: 0.62rem;
  }
  .status-check-logo {
    width: 5.5rem;
    max-height: 7.5rem;
  }
  .status-brand-page span {
    display: none;
  }
  .status-brand-page strong {
    font-size: 1.5rem;
  }
  .status-check-header {
    margin-bottom: 1rem;
  }
  .status-check-header h1 {
    font-size: 1.55rem;
  }
  .status-check-header .muted {
    font-size: 0.6875rem;
  }
  .status-heading-line {
    margin-top: 0.75rem;
  }
  .status-check-form {
    gap: 0.75rem;
  }
  .status-line-input input,
  .status-line-input .status-form-select {
    min-height: 2.45rem;
    font-size: 0.8rem;
  }
  .status-check-footer {
    padding: 0.5rem 1rem;
  }
  .status-line-input .select2-container .select2-selection--single {
    min-height: 2.45rem;
  }
  .select2-results__option {
    min-height: 2.75rem;
    padding: 0.75rem 0.75rem;
  }
}
.applicant-result-page {
  width: min(100%, 72rem);
  overflow: hidden;
  border: 1px solid rgba(242, 101, 34, 0.18);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 243, 237, 0.86));
  box-shadow: 0 24px 60px rgba(35, 31, 32, 0.13), 0 8px 24px rgba(217, 83, 26, 0.09);
}

.application-empty-state {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 243, 237, 0.55);
  border: 1px dashed rgba(242, 101, 34, 0.28);
  border-radius: 0.75rem;
}

.application-empty-icon {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  place-items: center;
  color: #d9531a;
  background: #ffffff;
  border: 1px solid rgba(242, 101, 34, 0.22);
  border-radius: 50%;
}

.application-empty-state h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.application-empty-state p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.8125rem;
}

@media (max-width: 575px) {
  .application-empty-state {
    align-items: flex-start;
    padding: 0.75rem;
  }
}
.applicant-result-header {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 88% -60%, rgba(255, 255, 255, 0.17), transparent 18rem), linear-gradient(135deg, #f26522, #d9531a 72%, #231f20 165%);
}

.applicant-result-header::after {
  position: absolute;
  right: -3rem;
  bottom: -5rem;
  width: 13rem;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.applicant-result-header-copy {
  position: relative;
  z-index: 1;
}
.applicant-result-header-copy h1 {
  margin: 0.5rem 0;
  color: #ffffff;
  font-size: clamp(1.65rem, 2.3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}
.applicant-result-header-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
}

.applicant-result-eyebrow {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.applicant-result-signout {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
}
.applicant-result-signout a,
.applicant-result-signout button {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(0.7rem);
}

.applicant-result-content {
  padding: clamp(1rem, 3vw, 2rem);
  display: grid;
  gap: 2rem;
}

.result-section-heading {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  background-image: linear-gradient(90deg, #f26522, rgba(242, 101, 34, 0.25), transparent);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 1px;
}
.result-section-heading h2 {
  margin: 0.25rem 0;
  font-size: 1.35rem;
}
.result-section-heading p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.76rem;
}

.application-count,
.correspondence-count {
  padding: 0.4rem 0.75rem;
  flex: 0 0 auto;
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-radius: 999px;
  background: #fff3ed;
  color: #d9531a;
  font-size: 0.68rem;
  font-weight: 600;
}

.application-result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.application-result-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(242, 101, 34, 0.14);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(242, 101, 34, 0.035));
  box-shadow: 0 10px 24px rgba(35, 31, 32, 0.055), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.application-card-meta {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(30, 36, 48, 0.08);
  background: rgba(242, 101, 34, 0.045);
  color: #5f6b7a;
  font-size: 0.68rem;
}
.application-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.application-card-meta i {
  color: #f26522;
}

.application-card-body {
  padding: 1rem;
  display: grid;
  gap: 1rem;
}

.application-card-label {
  display: block;
  margin-bottom: 0.25rem;
  color: #5f6b7a;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.application-qualification h3 {
  margin: 0;
  color: #1e2430;
  font-size: 1rem;
  line-height: 1.4;
}

.application-status-badge {
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.7rem;
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  border: 1px solid rgba(242, 101, 34, 0.16);
  border-radius: 999px;
  background: #fff3ed;
  color: #d9531a;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.4;
}

.application-status-dot {
  width: 0.45rem;
  height: 0.45rem;
  margin-top: 0.28rem;
  flex: 0 0 0.45rem;
  border-radius: 50%;
  background: #f26522;
}

.application-regret-notice {
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(183, 43, 43, 0.13);
  background: rgba(251, 234, 234, 0.55);
  color: #b72b2b;
  font-size: 0.72rem;
}
.application-regret-notice ul {
  margin: 0.5rem 0 0;
  padding-left: 1.5rem;
}
.application-regret-notice li + li {
  margin-top: 0.25rem;
}

.application-regret-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.correspondence-list {
  display: grid;
  gap: 0.75rem;
}

.correspondence-card {
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(242, 101, 34, 0.13);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
}

.correspondence-icon,
.applicant-help-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: #fff3ed;
  color: #f26522;
}

.correspondence-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.correspondence-copy span {
  color: #5f6b7a;
  font-size: 0.64rem;
}
.correspondence-copy strong {
  color: #1e2430;
  font-size: 0.78rem;
}

.correspondence-download {
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: #f26522;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  text-decoration: none;
}
.correspondence-download:hover {
  background: #d9531a;
  color: #ffffff;
}

.applicant-help {
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid rgba(242, 101, 34, 0.13);
  border-radius: 0.75rem;
  background: rgba(242, 101, 34, 0.04);
}
.applicant-help strong {
  color: #1e2430;
  font-size: 0.78rem;
}
.applicant-help p {
  margin: 0.25rem 0 0;
  color: #5f6b7a;
  font-size: 0.72rem;
}

@media (max-width: 767px) {
  .applicant-result-page {
    border-radius: 1rem;
  }
  .applicant-result-header {
    align-items: flex-start;
    padding: 1.5rem;
  }
  .applicant-result-header-copy h1 {
    font-size: 1.65rem;
  }
  .application-result-list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 575px) {
  .applicant-result-header {
    flex-direction: column;
  }
  .applicant-result-signout {
    align-self: flex-end;
  }
  .applicant-result-content {
    padding: 0.75rem;
    gap: 1.5rem;
  }
  .result-section-heading {
    align-items: flex-start;
  }
  .application-card-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .correspondence-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .correspondence-download {
    grid-column: 1/-1;
    justify-content: center;
  }
}

/*# sourceMappingURL=site.css.map */
