﻿/* Same Roboto the beheer SPA serves; falls back to the system font if the SPA is not deployed */
@import url("/beheer/fonts/Roboto1.css");
/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\
for details on configuring this project to bundle and minify static web assets. */

/* CSS to make the identity website look more like the Vuetify frontend */

.navbar {
  /* Frosted like the SPA shell */
  background-color: var(--glass-shell);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  box-shadow: inset 0 -1px 0 var(--glass-divider) !important;
}

.title {
  font-size: 1.25rem !important;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: 0.0125em !important;
  font-family: "Roboto", sans-serif !important;
}

.card {
  border-radius: 4px!important;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* label color */
.input-field label {
  color: #000;
}
/* label focus color */
.input-field input:focus + label {
  color: #2463eb;
}
/* label underline focus color */
.input-field input:focus {
  border-bottom: 1px solid #2463eb !important;
  box-shadow: 0 1px 0 0 #2463eb !important;
}
/* valid color */
.input-field input.valid {
  border-bottom: 1px solid #2463eb !important;
  box-shadow: 0 1px 0 0 #2463eb !important;
}
/* invalid color */
.input-field input[type=text].invalid, .input-field input.input-validation-error {
  border-bottom: 1px solid #ff0000 !important;
  box-shadow: 0 1px 0 0 #ff0000 !important;
}
/* icon prefix focus color */
.input-field .prefix.active {
  color: #000;
}

.input-field input {
  padding-left: 6px!important;
}

[type="checkbox"].filled-in:checked + span:not(.lever):after {
  border: 2px solid #2463eb!important;
  background-color: #2463eb!important;
}

h1 {
  font-size: 2.28rem;
  line-height: 110%;
  margin: 1.52rem 0 .912rem 0;
}

h4 {
  font-size: 1.64rem;
  line-height: 110%;
  margin: 1.0933333333rem 0 .656rem 0;
}

.btn-primary {
  background-color: #2463eb !important;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {
  max-width: 960px;
}

.pricing-header {
  max-width: 700px;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Shared auth card shell - used by Login and OtpPasswordReset
-------------------------------------------------- */
main:has(.auth-card) {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card.z-depth-2:has(.auth-card) {
  width: 100%;
  max-width: 420px;
  margin: 0;
  /* Frosted glass card */
  background: var(--glass-surface);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.55), var(--glass-shadow-card) !important;
  overflow: hidden;
}
.card.z-depth-2:has(.auth-card) .card-content {
  padding: 2.5rem 2.25rem !important;
}

.auth-card .header {
  display: flex;
  justify-content: center;
  margin: 0 0 1.75rem 0;
}
.auth-card .header-logo {
  width: 200px;
  height: auto;
  display: block;
}

.auth-card .auth-title {
  margin: -1rem 0 1.25rem 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.78);
}

.auth-card .auth-notice {
  background-color: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.72);
}

.auth-card .input-field {
  margin-top: 1.25rem;
  margin-bottom: 0.25rem;
}
.auth-card .input-field > label {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.55);
  left: 6px;
}
.auth-card .input-field > label.active {
  font-size: 0.8rem;
  color: #2463eb;
}
.auth-card .input-field input.form-control {
  font-size: 1rem;
  height: 2.5rem;
}
.auth-card .helper-text {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.5);
}

.auth-card .btn {
  width: 100%;
  height: 44px;
  line-height: 44px;
  text-transform: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.0125em;
  border-radius: 10px !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.auth-card .btn.blue {
  background-color: #2463eb !important;
  /* Same top-light gradient as the SPA's primary buttons */
  background-image: linear-gradient(180deg, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0));
  box-shadow: 0 2px 6px rgba(36, 99, 235, 0.28) !important;
  margin-top: 0.75rem;
}
.auth-card .btn.blue:hover {
  background-color: #1368c2 !important;
  box-shadow: 0 4px 10px rgba(36, 99, 235, 0.32) !important;
}

.auth-card .auth-link {
  display: block;
  margin-top: 1.5rem;
  text-align: center;
  color: #2463eb;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}
.auth-card .auth-link:hover {
  text-decoration: underline;
}

.auth-card .red-text {
  color: #d32f2f !important;
  font-size: 0.85rem;
}

/* Sticky footer styles
-------------------------------------------------- */
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  /* The layout sets an inline #eee on <body>; the photo lives on body::before like the SPA */
  background-color: transparent !important;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: none;
    white-space: nowrap;
    font-size: 0.75rem;
    /* Set the fixed height of the footer here */
    height: 36px;
    line-height: 36px; /* Vertically center the text there */
    /* Frosted like the SPA shell */
    background-color: var(--glass-shell);
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
    backdrop-filter: blur(var(--glass-blur)) saturate(1.5);
    border-top: 0 !important;
    box-shadow: inset 0 1px 0 var(--glass-divider);
    color: var(--bpi-slate-75);
}

/* Glass theme for the Identity pages, matching frontend-beheer/src/assets/glass.css
-------------------------------------------------- */
:root {
  --glass-surface: rgb(255 255 255 / 0.55);
  --glass-shell: rgb(255 255 255 / 0.62);
  --glass-border: rgb(84 98 117 / 0.1);
  --glass-divider: rgb(84 98 117 / 0.12);
  --glass-blur: 18px;
  --glass-radius: 16px;
  --glass-shadow-card:
    0 16px 38.154px 0 rgba(12, 20, 33, 0.04), 0 11.638px 25.717px 0 rgba(12, 20, 33, 0.03),
    0 8.1px 16.633px 0 rgba(12, 20, 33, 0.03), 0 5.313px 10.321px 0 rgba(12, 20, 33, 0.02),
    0 3.2px 6.2px 0 rgba(12, 20, 33, 0.02), 0 1.688px 3.689px 0 rgba(12, 20, 33, 0.02),
    0 0.7px 2.206px 0 rgba(12, 20, 33, 0.01);
  --bpi-slate-150: #3c4653;
  --bpi-slate-75: #737e8e;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60rem 40rem at 8% -5%, rgb(36 99 235 / 0.12), transparent 62%),
    radial-gradient(50rem 36rem at 98% 12%, rgb(18 211 198 / 0.12), transparent 62%),
    radial-gradient(55rem 40rem at 45% 112%, rgb(36 99 235 / 0.08), transparent 62%),
    url("/img/beheer-background.jpg") center / cover no-repeat,
    linear-gradient(180deg, #f4f9ff 0%, #eaf0fa 100%);
}

.navbar a.title {
  color: var(--bpi-slate-150);
  font-weight: 600;
  letter-spacing: -0.01em;
}
/* Extra specificity: Login.cshtml styles .btn-sso inline with !important */
.card .auth-card .btn-sso {
  background-color: rgb(255 255 255 / 0.55) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--bpi-slate-150) !important;
}
.card .auth-card .btn-sso:hover {
  background-color: rgb(255 255 255 / 0.85) !important;
  border-color: var(--glass-border) !important;
}
