html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > main,
body > .container {
  flex: 1;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Telerik SVG Icon Styles */
.icon {
  display: inline-block;
  vertical-align: middle;
}

.large-users-icon {
  font-size: 3rem;
}

/* Global transparent background for list-group items */
.list-group-item {
  background-color: transparent;
}

/* Fix for Bootstrap table-dark headers with Telerik theme */
.table-dark,
thead.table-dark th,
thead.table-dark td {
  background-color: #212529 !important;
  color: #fff !important;
  border-color: #32383e !important;
}

/* ========================================
   MVR Header / Navbar
   ======================================== */
.mvr-navbar {
  background-color: #ffffff;
  padding: 0.75rem 0;
  border-bottom: none;
  box-shadow: none;
}

.mvr-navbar .dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mvr-header-logo {
  height: 54px;
  width: auto;
}

/* Constrain logo width on mobile so the navbar toggler stays on the same line */
@media (max-width: 1012px) {
  .mvr-header-logo {
    max-width: 300px;
    height: auto;
  }
}

.mvr-nav-link {
  color: #00274C !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mvr-nav-link:hover,
.mvr-nav-link:focus {
  background-color: #FFCB05;
  color: #00274C !important;
  text-decoration: none;
}

.mvr-login-btn {
  background-color: #00274C;
  color: #ffffff !important;
  border: 2px solid #00274C;
  padding: 0.35rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mvr-login-btn:hover,
.mvr-login-btn:focus {
  background-color: #001a33;
  border-color: #001a33;
  color: #ffffff !important;
}

/* ========================================
   MVR Hero Section (Home Page)
   ======================================== */
.mvr-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 165px);
  background-image: url('../images/mvr-home-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  padding-top: 6rem;
}

.mvr-hero-overlay {
  display: none;
}

.mvr-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 4rem;
  margin-left: 5%;
  max-width: 750px;
}

.mvr-hero-title {
  color: #00274C;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.mvr-hero-subtitle {
  color: #00274C;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.mvr-hero-btn {
  background-color: #ffffff;
  color: #00274C !important;
  border: 2px solid #ffffff;
  padding: 0.65rem 2rem;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 280px;
  max-width: 100%;
}

.mvr-hero-btn:hover,
.mvr-hero-btn:focus {
  background-color: #FFCB05;
  border-color: #FFCB05;
  color: #00274C !important;
}

@media (max-width: 767.98px) {
  .navbar-nav {
    text-align: center;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .mvr-login-btn {
    margin: 0.5rem auto;
  }

  .mvr-hero {
    min-height: calc(100vh - 155px);
  }

  .mvr-hero-content {
    padding: 2rem 1.5rem;
  }

  .mvr-hero-title {
    font-size: 2rem;
  }

  .mvr-hero-subtitle {
    font-size: 1rem;
  }

  .mvr-hero-btn {
    width: 100%;
  }
}

/* ========================================
   MVR Footer
   ======================================== */
.mvr-footer {
  background-color: #ffffff;
  border-top: 1px solid #dee2e6;
  padding: 1.25rem 0;
  margin-top: auto;
}

.mvr-footer-logo {
  height: 22px;
  width: auto;
}

.mvr-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .mvr-footer-nav {
    align-items: flex-end;
  }
}

.mvr-footer-heading {
  color: #00274C;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.mvr-footer-links {
  display: grid;
  gap: 0.35rem 1.5rem;
  grid-template-columns: repeat(2, minmax(0, auto));
  list-style: none;
  margin: 0;
  padding: 0;
}

.mvr-footer-links a {
  color: #00274C;
  display: inline-flex;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.1rem 0;
}

.mvr-footer-links a:hover,
.mvr-footer-links a:focus {
  text-decoration: underline;
  color: #00274C;
}

.mvr-footer-copyright {
  color: #6c757d;
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (max-width: 767.98px) {
  .mvr-footer .row > div {
    text-align: center !important;
    margin-bottom: 0.75rem;
  }

  .mvr-footer-nav {
    align-items: center;
  }

  .mvr-footer-links {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}