﻿.welcome-page .logo {
  width: 64px;
}

.icon-banner {
  width: 32px;
}

.body-container {
  margin-top: 60px;
  padding-bottom: 40px;
}

.body-container.login-container {
  margin-top: 0;
  padding: 0;
  max-width: 100%;
  width: 100%;
}

.welcome-page li {
  list-style: none;
  padding: 4px;
}

.logged-out-page iframe {
  display: none;
  width: 0;
  height: 0;
}

.grants-page .card {
  margin-top: 20px;
  border-bottom: 1px solid lightgray;
}
.grants-page .card .card-title {
  font-size: 120%;
  font-weight: bold;
}
.grants-page .card .card-title img {
  width: 100px;
  height: 100px;
}
.grants-page .card label {
  font-weight: bold;
}

/* ============================================================
   Login — glaskaart op kantoorfoto  (ontwerp I·2)
   Vervangt de bestaande "Login modern layout"-sectie in
   wwwroot/css/site.css.  Bootstrap blijft de basis; deze
   regels stylen .login-card en de form-controls erbinnen.
   ============================================================ */

/* --- container: full-bleed achtergrondfoto + centreren --- */
.login-modern {
  /* brand royal blue, scoped to the login subtree only — overrides
     Bootstrap's :root --primary (#007bff) so the var(--primary, …)
     references below resolve to #2563eb without touching the rest of the app */
  --primary: #2563eb;
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin: 0;
  background: url('/img/login-bg.jpg') center / cover no-repeat fixed;
}

/* donkere waas zodat de glaskaart leesbaar blijft op elke foto */
.login-shade {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
}

/* --- de frosted-glass kaart --- */
.login-card {
  position: relative;        /* boven de waas */
  z-index: 1;
  width: 446px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  padding: 36px 42px 34px;
  box-shadow: 0 32px 80px rgba(10, 20, 45, 0.38);
}

/* --- merk --- */
.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.login-brand__logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}
.login-brand__text {
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: -0.2px;
  color: #232427;
}

/* --- titels --- */
.login-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
  color: #232427;
}
.login-card .text-muted {
  color: #6b7077 !important;
  font-size: 13.5px;
}

/* --- formuliervelden (override op Bootstrap .form-control) --- */
.login-card .form-group label,
.login-card .form-check-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #3a4150;
  margin-bottom: 7px;
}
.login-card .form-control {
  height: 44px;
  border: 1px solid #dfe3ea;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #232427;
  background: #fff;
}
.login-card .form-control::placeholder { color: #aab0ba; font-weight: 400; }
.login-card .form-control:focus {
  outline: none;
  border-color: var(--primary, #2563eb);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.login-form .form-group + .form-group { margin-top: 14px; }

/* --- remember me + forgot password rij --- */
.login-card .form-check-input { accent-color: var(--primary, #2563eb); }
.login-card .form-check-label { margin-bottom: 0; font-weight: 500; color: #4d5663; }
.login-card a.small,
.login-card .login-forgot {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary, #2563eb);
  text-decoration: none;
}
.login-card a.small:hover { text-decoration: underline; }

/* --- knop --- */
.login-card .btn-primary {
  height: 44px;
  border: none;
  border-radius: 9px;
  background: var(--primary, #2563eb);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.26);
}
.login-card .btn-primary:hover { filter: brightness(1.05); }

/* --- klein scherm --- */
@media (max-width: 520px) {
  .login-card { padding: 28px 26px 26px; }
}

/* ============================================================
   Set password — aanvulling op de "Login glaskaart"-sectie
   Plak dit ONDER de bestaande .login-card-regels in
   wwwroot/css/site.css. Hergebruikt .login-modern / .login-card /
   .login-brand / .form-control uit de login, plus deze extra's voor
   de read-only velden en de wachtwoord-checklist.
   ============================================================ */

/* subtitel onder de titel (zelfde toon als login .text-muted) */
.login-card .login-sub { margin: 5px 0 22px; }

/* iets meer ademruimte bovenaan: deze kaart is hoger dan de login */
.login-modern.login-modern--tall,
.login-card .login-form .form-group + .form-group { margin-top: 14px; }

/* read-only velden (Enterprise Number/Name, Email) — duidelijk niet-bewerkbaar */
.login-card .form-control:disabled,
.login-card .form-control[readonly] {
    background: #eef1f6;
    border-color: #e2e6ee;
    color: #6b7077;
    cursor: default;
    -webkit-text-fill-color: #6b7077;  /* Safari toont disabled-tekst anders grijs-uit */
    opacity: 1;
}

/* wachtwoord-checklist */
.login-card .pw-requirements {
    margin-top: 16px;
    padding: 15px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(223, 227, 234, 0.9);
    display: grid;
    gap: 9px;
}
.login-card .requirement {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 12.5px;
    font-weight: 500;
    color: #8a909a;
    transition: color 0.2s;
}
.login-card .requirement .icon {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    background: #e4e7ed;
    color: #9aa0aa;
    margin-right: 0;
    transition: background 0.2s, color 0.2s;
}
.login-card .requirement.valid { color: #157a45; }
.login-card .requirement.valid .icon { background: #1f9d57; color: #fff; }

/* knop staat los onder de checklist */
.login-card #submit-btn { margin-top: 22px; }
.login-card .btn-primary:disabled { cursor: not-allowed; opacity: 0.55; box-shadow: none; }

/* validatie-tekst onder een veld */
.login-card .text-danger { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; }

/* succes-melding na het instellen (Bootstrap alert binnen de kaart) */
.login-card .alert { font-size: 13px; border-radius: 10px; }
