* {
  box-sizing: border-box;
}

:root {
  --brand-bg: rgb(9, 24, 36);
  --form-bg: #2c2c2c;
  --text-light: #ffffff;
  --text-muted: #cbd2d9;
  --accent-red: #e03131;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--brand-bg);
  color: var(--text-light);
}

.page {
  min-height: 100vh;
  padding: 32px 20px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.page__header {
  text-align: center;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.logo {
  max-width: 180px;
  width: 100%;
  height: auto;
}

h1 {
  margin: 0;
  font-size: 28px;
  color: var(--text-light);
}

.subtitle {
  margin: 8px 0 0;
  color: var(--accent-red);
  font-weight: 600;
}

.card {
  width: min(100%, 460px);
  background: var(--form-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--half {
  width: 50%;
}

.field__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-light);
}

.field input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #4b4b4b;
  font-size: 15px;
  background: #1f1f1f;
  color: var(--text-light);
  transition: border-color 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: #8aa4ff;
  box-shadow: 0 0 0 3px rgba(138, 164, 255, 0.2);
}

.field input::placeholder {
  color: #9aa5b1;
}

.input-suffix {
  display: flex;
  align-items: center;
  border-radius: 10px;
  border: 1px solid #4b4b4b;
  background: #1f1f1f;
  overflow: hidden;
}

.input-suffix input {
  border: none;
  background: transparent;
  flex: 1;
}

.input-suffix input:focus {
  outline: none;
  box-shadow: none;
}

.suffix {
  padding: 0 12px;
  font-weight: 600;
  color: var(--text-light);
  background: #2a2a2a;
  border-left: 1px solid #4b4b4b;
}

@media (max-width: 520px) {
  .field--half {
    width: 100%;
  }
}

.field__hint {
  font-size: 12px;
  color: var(--text-muted);
}

.field__hint--error {
  color: #ff9f9f;
}

.button {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  background: #9fb3c8;
  cursor: not-allowed;
}

.form-message {
  min-height: 20px;
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.form-message.success {
  color: #0f9d58;
}

.form-message.error {
  color: #d64545;
}

.admin-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.admin-fab__icon {
  font-size: 20px;
}
