/* login.css - UG Consulting Theme (V1 port of the customV2 build)
 *
 * Palette supplied directly by the client (no public website).
 * UG = Pantone 464 U gold; "Consulting" = Pantone Black 2C/3C near-black.
 *
 * Substitution map (V1 default -> UG):
 *   #2850b3 (--principal-650) -> #6E5223  dark gold (hover, headers)
 *   #3972FF (--principal-500) -> #8C6A2E  primary gold (CTA, accents)
 *   #4c80ff (--principal-450) -> #A07F45  light hover gold
 *   #88aaff (--principal-300) -> #C9B68C  mid gold tint
 *   #c3d4ff (--principal-150) -> #F4EFE5  soft cream tint
 *   #4c708e -> #6E5223   |  #cbe8ea -> #F4EFE5  |  #4b9098 -> #8C6A2E
 *   #b2d1e8 -> #D9CDB3   |  #88c0c5 -> #D9CDB3  |  #5d9ed0 -> #8C6A2E
 *   #095370 -> #332F21   |  #006ee4 -> #8C6A2E  |  #0b2b38 -> #332F21
 *   #1c4b5e -> #4A4334   |  #414c5a -> #332F21
 * Greys, error/success/warning colours and report line styles untouched.
 * Logo slots (logo_login/menu/dashboard.png) replaced with UG colour logo.
 */

:root {
  --principal-650: #6E5223;
  --principal-500: #8C6A2E;
  --principal-450: #A07F45;
  --principal-300: #C9B68C;
  --principal-150: #F4EFE5;
  --secondary-500: #aea693;
  --acents-1-500: #b7b09c;
  --neutral-950: #0e0e0e;
  --neutral-750: #464646;
  --neutral-600: #707070;
  --neutral-500: #8c8c8c;
  --neutral-250: #c6c6c6;
  --neutral-100: #e8e8e8;
  --neutral-50: #f3f3f3;
  --neutral-25: #f9f9f9;
  --neutral-0: #ffffff;
  --success-500: #5cb37f;
  --success-150: #cee8d8;
  --warning-500: #e8a359;
  --warning-150: #f8e3cd;
  --error-500: #d8544d;
  --error-150: #f3cbc9;
}

body {
  background-color: var(--neutral-50) !important;
  color: var(--neutral-950) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

form.form-horizontal {
  background-image: url('/Custom/Content/logo_login.png');
  /* UG logo is 1600x765 (~2.09:1); fix height and reserve room above the fields */
  background-size: auto 130px;
  background-repeat: no-repeat;
  background-position: left top;
  padding-top: 160px;
}

img.logo {
  display: none; /* removed from layout; spacing handled by padding-top above */
}

img {
  margin-bottom: 24px;
}

a {
  color: var(--neutral-950);
}

a:hover {
  text-decoration: underline !important;
  color: var(--neutral-950) !important;
}

label {
  color: var(--neutral-950);
}

#loginForm {
  background-color: white;
  margin: 120px auto;
  padding: 40px;
  border-radius: 5px;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  width: 450px;
}

.form-control {
  border: none;
  box-shadow: none;
  border: 1px solid var(--neutral-250);
  border-radius: 4px;
}

#submit-btn {
  background-color: var(--principal-500);
  color: white;
  border: none;
}

#RememberMe {
  accent-color: var(--principal-500);
}

@media (max-width: 680px) {
  #loginForm {
    min-width: 85vw;
    padding: 24px;
  }
}