html {
    height: 100%;
}

body {
    background-color: #F9FAFB;
    font-family: "Work Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

* {
    box-sizing: border-box;
}

body > * {
    width: 100%;
}

body > *:not(footer) {
    flex-shrink: 0;
}

footer {
    margin-top: auto;
    color: #3C434C;
    padding: 0.5rem 0.5rem;
    text-align: center;
}

.weblink-div {
    text-align: center;
    padding-top: 2rem;
}

footer div {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #3C434C;
    margin-bottom: 1.5rem;
}

.auth-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #bfc0c0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Style all text inputs, email inputs, and password inputs */
input[type="text"],
input[type="email"], 
input[type="password"] {
    width: 90%;
    padding: 12px 16px;
    margin: 8px 0;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #E47A35;
    box-shadow: 0 0 0 3px rgba(228, 122, 53, 0.1);
}

/* Style labels */
label {
    display: block;
    text-align: left;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: #6B7881;
}

/* Style the form field container */
.auth-container form > div {
    margin-bottom: 16px;
}

a {
    color: #E47A35;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #C86429;
    text-decoration: underline;
}

a:visited {
    color: #E47A35;
}

.auth-image {
    margin: 0 auto;
    text-align: center;
    padding: 5rem 0 5rem 0;
}

.auth-links div {
    margin-bottom: 12px; /* Adjust spacing as needed */
}

/* Style buttons */
button[type="submit"] {
    width: 30%;
    padding: 0.25rem 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
    background-color: #E47A35;
    color: #FFFFFF;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

button[type="submit"]:hover {
    background-color: #C86429;
}

button[type="submit"]:active {
    transform: scale(0.98);
}

button[type="submit"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 111, 21, 0.3);
}

button[type="submit"]:disabled {
    background-color: #D1D5DB;
    cursor: not-allowed;
    opacity: 0.6;
}

.logout-back-link {
    margin-left: 12px;
    display: inline-block;
}