/* System-wide UI safeguards layered over the compiled application. */
:root {
  color-scheme: light dark;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  min-width: 320px;
  background: #0f172a;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overscroll-behavior-y: none;
}

button,
[role="button"],
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
[role="button"],
select,
label[for] {
  touch-action: manipulation;
}

button:focus-visible,
[role="button"]:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #38bdf8 !important;
  outline-offset: 2px !important;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed !important;
}

input,
select,
textarea {
  max-width: 100%;
}

textarea {
  resize: vertical;
}

::selection {
  color: #07111f;
  background: #67e8f9;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #64748b transparent;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-thumb {
  min-height: 32px;
  border: 3px solid transparent;
  border-radius: 999px;
  background: #64748b;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
  background-clip: padding-box;
}

@media (max-width: 640px) {
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

.password-reset-screen {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #e2e8f0;
  background: #0d1117;
}

.password-reset-card {
  width: min(100%, 440px);
  padding: 36px;
  border: 1px solid #2d3a52;
  border-radius: 20px;
  background: #1c2333;
  box-shadow: 0 25px 50px rgb(0 0 0 / 35%);
}

.password-reset-card h1 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 800;
}

.password-reset-card p {
  margin: 0 0 24px;
  color: #8899b4;
  font-size: 13px;
}

.password-reset-card label {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  color: #b8c4d8;
  font-size: 12px;
  font-weight: 700;
}

.password-reset-card input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #2d3a52;
  border-radius: 10px;
  outline: 0;
  color: #e2e8f0;
  background: #212940;
}

.password-reset-card button {
  width: 100%;
  margin-top: 22px;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  color: #111827;
  background: #f59e0b;
  font-weight: 800;
  cursor: pointer;
}

.password-reset-error {
  min-height: 18px;
  margin-top: 12px;
  color: #f87171;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff !important;
  }

  button,
  [role="button"] {
    box-shadow: none !important;
  }
}

.mysql-production-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mysql-production-status__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mysql-production-status__dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgb(34 197 94 / 15%);
}

.mysql-production-status__title {
  font-size: 13px;
  font-weight: 700;
}

.mysql-production-status__description {
  margin-top: 3px;
  color: #8899b4;
  font-size: 11px;
  line-height: 1.45;
}

.mysql-production-status__badge {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgb(34 197 94 / 35%);
  border-radius: 999px;
  color: #22c55e;
  background: rgb(34 197 94 / 10%);
  font-size: 10px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .mysql-production-status {
    align-items: flex-start;
    flex-direction: column;
  }
}
