﻿/* 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 {
  background-color: rgb(33, 150, 243);
}

.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: #1976d2;
}
/* label underline focus color */
.input-field input:focus {
  border-bottom: 1px solid #1976d2 !important;
  box-shadow: 0 1px 0 0 #1976d2 !important;
}
/* valid color */
.input-field input.valid {
  border-bottom: 1px solid #1976d2 !important;
  box-shadow: 0 1px 0 0 #1976d2 !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 #1976d2!important;
  background-color: #1976d2!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: #2196F3 !important;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
    font-size: 14px;
}
@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;
  border-radius: 14px !important;
  box-shadow: 0 14px 42px rgba(20, 40, 80, 0.10), 0 2px 6px rgba(20, 40, 80, 0.04) !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: #1976d2;
}
.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: 8px !important;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.auth-card .btn.blue {
  background-color: #1976d2 !important;
  box-shadow: 0 2px 6px rgba(25, 118, 210, 0.28) !important;
  margin-top: 0.75rem;
}
.auth-card .btn.blue:hover {
  background-color: #1565c0 !important;
  box-shadow: 0 4px 10px rgba(25, 118, 210, 0.32) !important;
}

.auth-card .auth-link {
  display: block;
  margin-top: 1.5rem;
  text-align: center;
  color: #1976d2;
  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;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: none;
    white-space: nowrap;
    font-size: 16px;
    /* Set the fixed height of the footer here */
    height: 36px;
    line-height: 36px; /* Vertically center the text there */
    background-color: #f5f5f5;
    color: rgba(0, 0, 0, 0.87);
}
