/* Account pages (server-rendered Razor Pages). Palette from EasyVirk\Styles\_variables.scss. */
:root {
  --secondary: #49566b;
  --tertiary: #5bb7b6;
  --tertiary-dark: #4a9e9d;
  --red: #c83939;
  --green: #48a749;
  --black: #444444;
  --background: #ededed;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--black);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 15px;
}

.box-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 16px;
}

.brand {
  font-size: 28px;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 24px;
}

.brand span {
  color: var(--tertiary);
}

.box {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  padding: 28px 32px;
}

.box-header h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: var(--secondary);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #c8ccd2;
  border-radius: 4px;
  font: inherit;
  color: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--tertiary);
  box-shadow: 0 0 0 3px rgba(91, 183, 182, 0.25);
}

.form-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

#forgot-password {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
}

.submit-container button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background: var(--tertiary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.submit-container button:hover {
  background: var(--tertiary-dark);
}

.links-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}

a {
  color: var(--secondary);
}

a:hover {
  color: var(--tertiary-dark);
}

.help-text {
  line-height: 1.5;
}

.text-danger {
  color: var(--red);
  font-size: 13px;
}

.text-danger ul {
  margin: 0 0 12px;
  padding-left: 18px;
}

.validation-summary-valid {
  display: none;
}

.text-success {
  color: var(--green);
}

p.text-danger {
  font-size: inherit;
}
