/* Custom related to style file only */
.bd-placeholder-img {
  font-size: 1 rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.cover {
  background-image: url('../assets/img/HomeHero.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 1450px;
}

.formbox {
  background-color: rgba(255, 255, 255, 0.1) !important;
  padding: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
  width: 100%;
  color: #ffffff;
}
.formbox div img {
  max-height: 60px;
}
.formbox .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px;
}
.formbox .form-control::placeholder {
    color: #ccc;
}
.formbox .form-control:focus {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #E31837;
  box-shadow: none;
  color: white;
}
.formbox450 {
  max-width: 450px;
  margin: 0 auto;
}
.formbox650 {
  max-width: 650px;
  margin: 0 auto;
}
/* Highlight the field the user is currently typing in */
.form-control:focus {
    border-color: #E31837 !important; /* Positron Red */
    box-shadow: 0 0 0 0.25rem rgba(227, 24, 55, 0.25) !important;
}

/* Success styling for dark mode */
.form-control.is-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,..."); /* Standard BS5 checkmark */
}

/* Keep the button looking "inactive" until ready */
.btn-positron:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    opacity: 0.5;
}
.btn-positron {
    background-color: #E31837 !important; /* Brand Red  */
    border: none;
    color: white !important;
    font-weight: 700;
    padding: 12px;
    transition: background-color 0.3s ease;
}
.logoimg {
  max-width: 150px;
  display: block;
}
.portal-links a {
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.65;
}
.portal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}
.bg-darker {
  background-color: rgba(5, 1, 19, 0.889);
  color: white;
}
.bg-blacker {
  background-color: rgba(0, 0, 0, 0.911);
  color: white;
}
.bg-blacker ul li a {
  color: white;
}
.bg-blacker ul li a:hover, .bg-blacker ul li a:focus {
  background-color: #000bd3;
  color: white;
}
#target div ul .active {
  background-color: #808080;
}
#target div ul .active .nav-link {
  color: white;
}

/* Responsive code */
@media (max-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
  .formbox div img {
    display: none !important;
  }
  .formbox {
    margin-top: 5px !important;
    padding: 10px;
  }
  .formbox > h3 {
    font-size: 1rem !important;
    margin-top: 10px;
  }
  .footer .small {
    font-size: .65em !important;
  }
}