/* Background Login */
#back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: url(../img/template/back.jpg);
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Adjustments for BS5 Login Box */
.login-box {
  width: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Login Page Styles */
.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: url(../img/template/back.jpg) no-repeat center center fixed;
  background-size: cover;
}

.login-box {
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.card-outline.card-primary {
  border-top: 3px solid #ff7701;
  /* Orange border matching logo */
}

.btn-secondary {
  background-color: #6c757d;
  /* Standard Grey */
  border-color: #6c757d;
  font-size: 0.775rem;
  /* Match input size */
}

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
}

a {
  color: #ff7701;
  /* Orange Links */
}

a:hover {
  color: #d66400;
}

.login-box-msg {
  font-size: 0.9rem;
  font-weight: 500;
}

.form-control {
  font-size: 0.775rem;
}

/* User remembered this specific class */
.text-sm {
  font-size: 0.775rem !important;
}

.form-check-label {
  font-size: 0.75rem;
  color: #666;
}

/* Force Orange Links in Login */
.login-card-body a {
  color: #ff7701 !important;
}

.login-card-body a:hover {
  color: #d66400 !important;
}