.form-container { /* Contains the login and register form */
    max-width: 40%;
    margin: 2rem auto;
    padding: 5rem;
    background-color: #585757;
    border-radius: .5%;
    box-shadow: .3rem .3rem .8rem #242424;
}

.form-container .nav-pills { /* References both tabs as a single, smaller container */
    width: 80%; /* Total width of the tabs container */
    margin: 0 auto; /* Centers the tabs */
    display: flex;
    justify-content: space-between; /* Space tabs evenly */
}

.form-container .nav-pills .nav-link {
    flex: 1;
    text-align: center;
    background-color: #686767; /* Inactive background color */
    color: #a8a7a7; /* Text color */
}

.nav-pills .nav-link.active {
    background-color: rgb(18, 36, 59); /* Active background color */
    color: rgb(67, 115, 204); /* Active text color */
    /* rgb(63, 108, 192)  #585757  #3a3a3a */
}

.form-container .nav-pills .nav-item {
    margin-right: 5%; /* Horizontal space between tabs */
}

.form-container .nav-pills .nav-item:last-child { /* Rightmost tab (register) */
    margin-right: 0;
}

.btn-primary { /* Sign in button */
    display: block;
    width: 50%;
    margin: 0 auto;
    background-color: #3e6ca0;
    border: #3e6ca0;
    box-shadow: .1rem .1rem .5rem #242424;
}

.fab.fa-google {
    color: #adadad;
}

/* Forgot password? */
.col-md-6.d-flex.justify-content-start a {
    color: #6cbdf3;
}

/* Register link */
.text-center p a[href*="#pills-register"] {
    color: #6cbdf3;
}

.remember-checkbox {
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 0.1rem solid #555;
    border-radius: 0.2rem;
    background-color: white;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.remember-checkbox:checked {
    background-color: #247ce2;
    border-color: #247ce2;
}
.remember-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 0.25rem;
    left: 0.375rem;
    width: 0.25rem;
    height: 0.5rem;
    border: solid white;
    border-width: 0 0.125rem 0.125rem 0;
    transform: rotate(45deg);
}

.form-outline {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}

.form-control {
    margin: 0 auto;
    display: block;
    background-color: #585757;
    border-color:#424242;
    color: white;
}

.form-control:focus {
    background-color: #585757;
    border-color:#424242;
    color: white;
    box-shadow: none;
}

.form-control::placeholder {
  color: white; /* optional: change placeholder text */
}