/* NobleTech Solutions branding for the Remotely authentication pages
   (/Account/*). Loaded only on those routes — see App.razor. Every
   rule is scoped under .nobletech-auth-shell so it cannot affect the
   authenticated technician dashboard even if loaded elsewhere.
   Tokens and treatment match help.nobletechit.com / nobletechit.com. */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(fonts/manrope-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

.nobletech-auth-shell {
  --ink-950: #07111f;
  --navy-900: #0b1f3a;
  --blue-700: #1554c0;
  --blue-600: #1769e0;
  --cyan-400: #33c7d8;
  --slate-700: #334155;
  --slate-500: #58687d;
  --slate-200: #e2e8f0;
  --cloud-50: #f8fafc;
  --font-heading: "Manrope Variable", "Manrope", sans-serif;
  --font-body: "Inter Variable", "Inter", sans-serif;

  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
  color: var(--ink-950);
  background: var(--cloud-50);
  font-family: var(--font-body);
}
.nobletech-auth-shell *, .nobletech-auth-shell *::before, .nobletech-auth-shell *::after { box-sizing: border-box; }

/* Left: brand panel */
.nobletech-auth-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 64px clamp(32px, 6vw, 76px);
  color: #fff;
  background: radial-gradient(circle at 78% 30%, rgba(23, 105, 224, .2), transparent 40%), linear-gradient(135deg, var(--ink-950), var(--navy-900));
}
.nobletech-auth-brand::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, black 55%);
}
.nobletech-auth-logo { width: 200px; height: auto; display: block; }
.nobletech-auth-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; color: #7dd3fc; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nobletech-auth-eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.nobletech-auth-tagline { max-width: 420px; margin: 0; font-family: var(--font-heading); font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
.nobletech-auth-lead { max-width: 400px; margin: 0; color: #cbd5e1; font-size: 15px; line-height: 1.6; }

.nobletech-auth-note {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
  margin-top: 8px;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}
.nobletech-auth-note span { display: flex; align-items: center; gap: 10px; color: #e2e8f0; font-size: 13px; font-weight: 600; }
.nobletech-auth-note span svg { flex: 0 0 auto; width: 16px; height: 16px; stroke: #7dd3fc; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Right: sign-in card */
.nobletech-auth-card-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 28px;
  background: var(--cloud-50);
}
.nobletech-auth-card {
  width: 100%;
  max-width: 400px;
  padding: 40px 36px;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(7, 17, 31, .08);
}

/* Bootstrap content rendered inside the card, by every Account page */
.nobletech-auth-card h1 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink-950);
}
.nobletech-auth-card h1.text-danger { color: #b91c1c !important; }
.nobletech-auth-card h2 {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-500);
}
.nobletech-auth-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--ink-950); }
.nobletech-auth-card p { color: var(--slate-700); font-size: 14px; line-height: 1.6; }
.nobletech-auth-card p.text-danger { color: #b91c1c; }
.nobletech-auth-card hr { margin: 0 0 20px; border-color: var(--slate-200); opacity: 1; }

/* Neutralize Bootstrap's row/col grid so it fills the narrower card cleanly */
.nobletech-auth-card .row { margin: 0; }
.nobletech-auth-card .row > [class*="col-"] { width: 100%; max-width: 100%; flex: 0 0 100%; padding: 0; }

.nobletech-auth-card .form-floating { margin-bottom: 16px !important; }
.nobletech-auth-card .form-control {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
}
.nobletech-auth-card .form-control:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, .14);
}
.nobletech-auth-card .form-label { color: var(--slate-700); }
.nobletech-auth-card .checkbox label { color: var(--slate-700); font-size: 14px; }
.nobletech-auth-card .checkbox input[type="checkbox"] {
  accent-color: var(--blue-600);
  width: 17px;
  height: 17px;
  border: 1px solid #94a3b8;
  border-radius: 4px;
  background: #fff;
  vertical-align: middle;
}

.nobletech-auth-card .btn-primary {
  min-height: 50px;
  border: 1px solid var(--blue-600);
  border-radius: 8px;
  background: var(--blue-600);
  font-weight: 650;
  letter-spacing: -.005em;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.nobletech-auth-card .btn-primary:hover,
.nobletech-auth-card .btn-primary:focus {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
}
.nobletech-auth-card a { color: var(--blue-700); font-weight: 600; text-decoration: none; }
.nobletech-auth-card a:hover { text-decoration: underline; }
.nobletech-auth-card .text-danger { color: #b91c1c !important; }

.nobletech-auth-card .alert { margin: 0 0 20px; padding: 12px 16px; border: 1px solid; border-radius: 10px; font-size: 13.5px; line-height: 1.5; }
.nobletech-auth-card .alert-danger { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.nobletech-auth-card .alert-success { color: #15803d; background: #f0fdf4; border-color: #bbf7d0; }

.nobletech-auth-card .validation-message,
.nobletech-auth-card .valid.modified:not([type=checkbox]) { font-size: 13px; }

@media (max-width: 900px) {
  .nobletech-auth-shell { grid-template-columns: 1fr; }
  .nobletech-auth-brand { padding: 44px 28px 40px; gap: 20px; }
  .nobletech-auth-logo { width: 170px; }
  .nobletech-auth-tagline { font-size: 26px; }
  .nobletech-auth-note { display: none; }
  .nobletech-auth-card-wrap { padding: 32px 20px 56px; }
  .nobletech-auth-card { padding: 32px 24px; box-shadow: none; border-radius: 14px; }
}
