html, body {
    height: 100%;
    margin: 0;
}

.page-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    /* background-color: #f8f9fa; */
}

#login-container {
    width: 80%;
    max-width: 420px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.808);
    border-radius: 10px;
    border-color: black;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.671);
}

#logo {
    padding-bottom: 50px;
}

.logo {
    text-decoration: none;
    font-size: 50px;
    font-weight: bold;
    color: #0073b1; /* your blue */  
}

#login-container .terms {
    padding-bottom: 20px;
}

#create-profile {
    text-align: center;
    margin-top: 10px;
}

#create-profile a {
    display: inline-block;
    width: 100%;
    max-width: 200px;
    background-color: #0073b1;
    color: white;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 4px;
}

#create-profile a:hover {
    background-color: #0073b19f;
}

#login-container form {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centers username + password + button */
}

#login-container form p {
    width: 100%;
    text-align: center;
}

#login-container input {
    width: 50%;
    padding: 5px;
}

#login-container button {
    width: 100%;
    max-width: 200px;
    padding: 10px;
    margin-top: 10px;
    background-color: #0073b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#login-container button:hover {
    background-color: #0073b19f;
}

.form-group {
    width: 100%;
    height: 45px;
    text-align: center;
    margin: 5px;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
    text-align: center; /* keeps it aligned under input */
}

.messages {
    text-align: center;
}

.messages .success {
    background-color: #d4edda;
    color: #155724;
}

.messages .error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Horizontal line with "or" centered */
.separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 40px;  /* spacing between button and create profile */
    width: 80%;       /* match input/button width */
}

.separator::before,
.separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.separator:not(:empty)::before {
    margin-right: .5em;
}

.separator:not(:empty)::after {
    margin-left: .5em;
}

.separator span {
    color: #666;
    font-size: 14px;
}

@media (max-width: 600px) {
    #login-container {
        width: 80%;
        height: auto;
    }
}