@font-face {
  font-family: Inter;
  src: url("/assets/fonts/Inter/Inter-VariableFont_opsz,wght.ttf")
    format("truetype");
  font-display: swap;
}
:root {
  font-family: Inter, system-ui, sans-serif;
  color: #102f47;
  background: #f5f8fa;
  font-synthesis: none;
  --navy: #001f47;
  --teal: #087f73;
  --border: #dfe7ec;
  --muted: #607487;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
a {
  color: var(--teal);
  text-underline-offset: 3px;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  padding: 11px 17px;
  font-weight: 650;
  min-height: 44px;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #41baae;
  outline-offset: 3px;
}
input,
select,
textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #cbd8df;
  border-radius: 9px;
  padding: 12px 13px;
  color: #102f47;
  min-height: 46px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #087f73;
  outline-offset: 1px;
}
textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 550;
}
form {
  display: grid;
  gap: 20px;
}
.primary {
  background: var(--teal);
  color: #fff;
}
.secondary {
  background: #fff;
  border: 1px solid var(--border);
  color: #24465e;
}
.quiet {
  background: transparent;
  color: #4b657a;
}
.danger {
  background: #a62b32;
  color: #fff;
}
.muted {
  color: var(--muted);
  line-height: 1.6;
}
.eyebrow {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin: 0 0 11px;
}
h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}
h1 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.16;
  margin: 0 0 12px;
}
h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
h3 {
  font-size: 16px;
  margin: 0 0 8px;
}
.logo {
  width: 150px;
  height: auto;
}
.error {
  color: #a12e37;
  line-height: 1.5;
}
.error:empty {
  display: none;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100svh;
}
.login-story {
  padding: 44px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 60px;
  background:
    linear-gradient(180deg, #001f47b3, #001f47f2),
    url("/assets/assets/images/citiboats/lagos-fleet-overhead.jpg") center/cover;
  color: #fff;
}
.login-story h1 {
  font-size: 48px;
  max-width: 510px;
}
.login-story p {
  max-width: 370px;
  line-height: 1.7;
  color: #d2e8ec;
}
.login-story .eyebrow {
  color: #74dbcf;
}
.login-story a {
  color: #c0e8e2;
}
.login-form {
  padding: 44px 30px;
  display: grid;
  align-items: center;
  justify-items: center;
  background: #fff;
}
.login-card {
  width: 100%;
  max-width: 380px;
}
.login-card h2 {
  font-size: 32px;
}
.login-card .muted {
  margin-bottom: 32px;
}
.login-card form > a {
  text-align: center;
  font-size: 14px;
}
.mobile-logo {
  display: none;
}
.workspace {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100svh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  padding: 30px 16px 24px;
  color: white;
  overflow: auto;
}
.brand {
  display: grid;
  gap: 12px;
  margin: 0 14px 34px;
  text-decoration: none;
  color: #a8c1d7;
  font-size: 12px;
  letter-spacing: 1px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.nav-item {
  background: transparent;
  color: #b6c8db;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  font-weight: 500;
}
.nav-item.active {
  background: #173f63;
  color: #fff;
}
.nav-icon {
  width: 22px;
  text-align: center;
  color: #75d2c7;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 35px 16px 0;
  font-size: 12px;
  line-height: 1.7;
}
.sidebar-bottom a {
  color: #bfdae8;
}
.sidebar-bottom p {
  color: #a8bed1;
  margin-top: 28px;
}
.topbar {
  height: 78px;
  border-bottom: 1px solid var(--border);
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 36px;
  font-size: 13px;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 16px;
}
.workspace-label {
  font-weight: 600;
  color: #708395;
}
.role {
  font-size: 11px;
  color: #087f73;
  background: #e8f6f2;
  padding: 6px 10px;
  border-radius: 6px;
  text-transform: capitalize;
}
.main-area {
  min-width: 0;
}
#content {
  padding: 38px 36px 50px;
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.page-heading p:last-child {
  margin: 0;
  max-width: 720px;
}
.page-heading h1 {
  font-size: 31px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}
.metric {
  display: block;
  text-align: left;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  color: var(--navy);
}
.metric span {
  font-size: 13px;
  color: var(--muted);
  display: block;
}
.metric strong {
  display: block;
  font-size: 34px;
  letter-spacing: -1px;
  margin: 14px 0 8px;
}
.metric small {
  font-weight: 450;
  color: var(--teal);
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px;
  margin-bottom: 22px;
}
.panel p {
  line-height: 1.65;
  color: var(--muted);
  font-size: 14px;
}
.status-list {
  display: grid;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #eef2f5;
  font-size: 14px;
}
.status-row:last-child {
  border: 0;
}
.badge {
  display: inline-flex;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  background: #edf2f6;
  color: #456176;
  white-space: nowrap;
}
.badge.approved,
.badge.active,
.badge.paid,
.badge.resolved,
.badge.published,
.badge.ended,
.badge.succeeded {
  background: #e2f5ec;
  color: #246145;
}
.badge.pending,
.badge.awaiting_payment,
.badge.queued,
.badge.open,
.badge.processing {
  background: #fff2d9;
  color: #885d14;
}
.badge.suspended,
.badge.failed,
.badge.declined,
.badge.urgent,
.badge.cancelled {
  background: #fce9e9;
  color: #a03535;
}
.filters {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.search-label {
  flex: 1;
  max-width: 470px;
}
.filters > label:not(.search-label) {
  width: 200px;
}
.filters .quiet {
  margin-left: auto;
}
.notice {
  background: #fff8e8;
  border: 1px solid #eee0bb;
  border-radius: 10px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: #74562d;
  margin: 0 0 20px;
}
.table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
thead {
  background: #f9fbfc;
}
th {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: #6b8092;
  padding: 16px 20px;
  text-transform: uppercase;
  font-weight: 650;
}
td {
  font-size: 13px;
  padding: 18px 20px;
  border-top: 1px solid #edf1f4;
  max-width: 310px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.table-action {
  font-size: 12px;
  color: var(--teal);
  padding: 5px 10px;
  min-height: 36px;
  background: #edf7f4;
}
.empty {
  padding: 64px 24px;
  text-align: center;
}
.empty-mark {
  font-size: 44px;
  color: #54b8ae;
  line-height: 1.5;
}
.empty h2 {
  font-size: 19px;
}
.empty p {
  font-size: 13px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  gap: 12px;
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pagination button {
  font-size: 12px;
  padding: 8px 12px;
  min-height: 38px;
}
dialog {
  width: min(720px, calc(100% - 28px));
  max-height: 90svh;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  color: #17334b;
  box-shadow: 0 26px 100px #001f4738;
}
dialog::backdrop {
  background: #071e35a8;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 22px;
}
.dialog-heading h2 {
  font-size: 24px;
}
.details {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  font-size: 13px;
  margin: 0 0 25px;
}
.details dt {
  color: var(--muted);
  text-transform: capitalize;
}
.details dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.dialog-form {
  display: grid;
  gap: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full {
  grid-column: 1/-1;
}
.form-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
#notifications {
  position: fixed;
  bottom: 22px;
  right: 24px;
  max-width: 420px;
  background: #103e38;
  color: #fff;
  border-radius: 10px;
  padding: 14px 20px;
  z-index: 10;
  box-shadow: 0 10px 30px #001f4726;
}
#notifications:empty {
  display: none;
}
pre {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}
@media (min-width: 1600px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 10px;
    padding-right: 10px;
  }
  .topbar {
    padding: 0 24px;
  }
  #content {
    padding: 30px 24px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-label {
    display: none;
  }
  .topbar {
    justify-content: flex-end;
  }
  .filters {
    flex-wrap: wrap;
  }
  .filters .quiet {
    margin-left: 0;
  }
  .search-label {
    min-width: 180px;
  }
  .filters > label:not(.search-label) {
    width: 155px;
  }
  .login-story {
    padding: 35px;
  }
  .login-story h1 {
    font-size: 38px;
  }
}
@media (max-width: 720px) {
  .workspace {
    grid-template-columns: minmax(0, 1fr);
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 18px 16px 12px;
  }
  .brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 18px;
  }
  .brand .logo {
    width: 130px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
    padding-bottom: 5px;
  }
  .nav-item {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 12px;
  }
  .nav-icon {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .topbar > div {
    gap: 9px;
    width: 100%;
    justify-content: flex-end;
  }
  .topbar .quiet {
    padding: 8px;
  }
  .role {
    font-size: 10px;
    padding: 5px 8px;
  }
  #staff-name {
    margin-right: auto;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #content {
    padding: 26px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .cards {
    gap: 12px;
  }
  .metric {
    padding: 18px;
  }
  .metric strong {
    font-size: 30px;
  }
  .metric small {
    font-size: 10px;
  }
  .panel {
    padding: 20px;
  }
  .filters {
    gap: 9px;
  }
  .search-label {
    max-width: none;
    min-width: 100%;
    flex-basis: 100%;
  }
  .filters > label:not(.search-label) {
    flex: 1;
    min-width: 140px;
  }
  .filters button {
    padding: 10px;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .pagination > div {
    width: 100%;
    justify-content: flex-end;
  }
  th,
  td {
    padding: 14px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    background: #fff;
  }
  .login-story {
    display: none;
  }
  .login-form {
    padding: 35px 22px;
    min-height: 100svh;
  }
  .mobile-logo {
    display: block;
    background: var(--navy);
    width: 170px;
    padding: 12px;
    border-radius: 9px;
    margin-bottom: 40px;
  }
  .details {
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 12px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  dialog {
    padding: 20px;
  }
  #notifications {
    left: 18px;
    right: 18px;
    bottom: 16px;
  }
  .status-row {
    font-size: 12px;
  }
  .login-card h2 {
    font-size: 29px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a,
  input {
    transition:
      background-color 0.15s,
      border-color 0.15s;
  }
  button:hover:not(:disabled) {
    filter: brightness(0.96);
  }
}
