.self-service-page {
  margin: 0;
  min-height: 100vh;
  color: #16332c;
  background:
    radial-gradient(circle at 15% 0%, rgba(208, 224, 205, .72), transparent 38%),
    linear-gradient(160deg, #f7f8f4 0%, #e9efe9 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.self-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
}

.self-card {
  width: min(100%, 520px);
  padding: 34px;
  border: 1px solid rgba(22, 51, 44, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 24px 80px rgba(25, 52, 44, .14);
  box-sizing: border-box;
}

.self-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.self-brand span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: #fff;
  background: #174f42;
  font-weight: 800;
  letter-spacing: .04em;
}

.self-brand small {
  color: #58716a;
  font-size: 14px;
}

.self-card h1 {
  margin: 4px 0 8px;
  font-size: clamp(24px, 6vw, 34px);
  line-height: 1.12;
}

.self-date,
.self-current,
.self-loading,
.self-error p {
  color: #667a75;
}

.self-date {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
}

.self-current {
  margin: 0 0 28px;
}

.self-card label {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
}

.self-card select,
.self-card input {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #c9d5d0;
  border-radius: 12px;
  color: #16332c;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}

.self-card select:focus,
.self-card input:focus {
  outline: 3px solid rgba(43, 118, 97, .16);
  border-color: #2b7661;
}

.self-extra {
  margin-top: 16px;
}

.self-extra[hidden] {
  display: none;
}

.self-date-grid label > span {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.self-persistent-note {
  padding: 12px 14px;
  border-radius: 12px;
  color: #5d4b17;
  background: #fff4c7;
  font-size: 13px;
  line-height: 1.45;
}

#self-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 16px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: #174f42;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#self-submit:disabled {
  opacity: .58;
  cursor: wait;
}

.self-message {
  min-height: 22px;
  margin: 16px 0 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.self-message.success {
  color: #17613f;
}

.self-message.failure,
.self-error {
  color: #a33a32;
}

@media (max-width: 560px) {
  .self-shell {
    align-items: start;
    padding: 12px;
  }

  .self-card {
    margin-top: 12px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .self-date-grid label > span {
    grid-template-columns: 1fr;
  }
}
