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: 60px;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.25rem;
}

.btn:focus,
.btn:active:focus,
.btn-primary:focus {
    border-color: #145219 !important; 
    box-shadow: 0 0 0 0.25rem rgba(20, 82, 25, 0.25) !important;
    outline: 0;
}

.btn-primary {
    background-color: #6c757d !important;
    border-color: #145219 !important;
}

/*.nav-pills .nav-link.active,*/
.nav-pills .show > .nav-link {
    background-color: #145219 !important;
    color: #ffffff !important;
    border-color: #145219 !important; 
}

.nav-pills .nav-link.active,
.nav-pills .nav-link.active:link,
.nav-pills .nav-link.active:visited,
.nav-pills .nav-link.active:hover {
    color: #ffffff !important; 
    background-color: #145219;
}

.nav-pills .nav-link:hover {
    color: #145219 !important;
}

a:link,
a:visited,
a:hover {
    color: #145219;
    cursor: inherit;
}

a:hover {
    font-weight: bold;
}

a.btn-primary {
    color: #ffffff !important;
    text-decoration: none; 
}

a.btn-primary:hover,
a.btn-primary:focus {
    color: #ffffff !important;
    font-weight: 400;
}

/* Hide the native password box "eyeball" in Edge.  Necessary to prevent duplication with custom cross-browser eyeball */
input::-ms-reveal {
    display: none;
}

.password-toggle-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    color: #6c757d;
    display: flex;
    align-items: center;
    min-width: 20px;
    min-height: 20px;
}

.password-toggle-btn:hover {
    color: #343a40; /* Darker */
    }

/* Ensure the text doesn't go under the icon */
.form-floating > .form-control {
    padding-right: 45px;
}

/* Define specialized classes for large screens (576px - standard mobile breakpoint) */
@media (min-width: 576px) {
    .limited-width-byDevice {
        max-width: 325px;
    }
}