:root {
  --cust-top: #0e5e2b;
  --cust-footer: #005e2c;
  --cust-card: #1b5e28;
  --cust-card-mid: #24803a;
  --cust-welcome: #afe8c8;
  --cust-ink: #1a1a1a;
  --cust-muted: #6b7280;
  --cust-input: #f0f0f0;
  --cust-input-border: #d0cece;
  --cust-link: #4e8a56;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body.cust-login,
body.cust-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--cust-ink);
  background: var(--cust-footer);
}

.cust-topbar {
  background: var(--cust-top);
  color: #fff;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 1.75rem;
}

.cust-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.cust-brand img {
  height: 42px;
  width: auto;
  display: block;
}

.cust-brand span {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cust-topbar-user {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}

.cust-topbar-user a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

.cust-topbar-user a:hover,
.cust-topbar-user a:focus {
  background: rgba(255, 255, 255, 0.12);
}

.cust-foot {
  background: var(--cust-footer);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem 4vw;
}

.cust-foot-items {
  list-style: none;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
  padding: 0 2vw 0 0;
}

.cust-foot-items li,
.cust-foot-items a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.3;
}

.cust-foot-items li {
  max-width: 16rem;
}

.cust-foot-items li:nth-child(2) {
  max-width: 22rem;
}

.cust-foot-items a:hover span,
.cust-foot-items a:focus span {
  text-decoration: underline;
}

.cust-foot-items img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.cust-foot-items strong {
  display: block;
  font-weight: 700;
}

.cust-foot-logo {
  height: 52px;
  width: auto;
  flex-shrink: 0;
}

.cust-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;
}

@media (max-width: 900px) {
  .cust-topbar {
    padding: 0.6rem 1rem;
  }

  .cust-brand span {
    font-size: 0.95rem;
  }

  .cust-foot {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .cust-foot-items {
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 1.1rem;
  }

  .cust-foot-logo {
    height: 42px;
  }
}
