/* Auth pages: login, register, forgot-password */

body {
  align-items: center;
  min-height: 100vh;
}

.window-header {
  padding: 30px 20px 20px;
  justify-content: center;
  gap: 12px;
  border-radius: 10px 10px 0 0;
}

.header-symbol {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-wordmark {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.window-content {
  padding: 20px 40px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.row {
  margin-bottom: 16px;
}

.label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: 500;
  font-size: 13px;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 100%;
  height: 40px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

input:disabled {
  background-color: #f5f5f5;
  color: #999;
}

/* Inline row (city/state, postal/country) */
.row-inline {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.row-inline .field {
  flex: 1;
}

/* Email + Send Code row */
.email-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.email-row input {
  flex: 1;
}

.btn-send-code {
  height: 40px;
  padding: 0 14px;
  font-size: 12px;
  cursor: pointer;
  background-color: #1b2a4a;
  border: none;
  border-radius: 4px;
  color: white;
  white-space: nowrap;
}
.btn-send-code:hover {
  background-color: #243660;
}
.btn-send-code:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Footer button */
.btn-save {
  width: 140px;
  height: 40px;
}
.btn-save:disabled {
  background-color: #eee;
  color: #999;
  cursor: not-allowed;
}

/* Links */
.auth-link {
  display: block;
  margin-top: 12px;
  font-size: 14px;
  color: #1b2a4a;
  text-decoration: none;
}
.auth-link:hover {
  text-decoration: underline;
}

/* Messages */
.message {
  font-size: 12px;
  text-align: center;
  margin-bottom: 10px;
  visibility: hidden;
}
.message.error {
  color: red;
}
.message.success {
  color: green;
}

.error-message {
  color: red;
  font-size: 12px;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 10px;
  visibility: hidden;
}
