:root {
    --sf-light-gray: #F6F6F6;
}

.auth-body {
    background-color: var(--sf-light-gray);
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-form {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 400px;
    margin: 1rem;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container img {
    height: 7rem;
    margin-bottom: 1.5rem;
    max-width: 240px;
}

.portal-title {
    font-size: 1.75rem;
    color: var(--text-color);
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.portal-description {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0 0 2rem 0;
}

.loginPage {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.loginPage h4 {
    display: none;
}

.mb-3 {
    position: relative;
}

.form-label {
    display: none;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid var(--brand-neutral);
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-darker);
}

/* Add icons to inputs */
.mb-3::before {
    content: '';
    position: absolute;
    left: 0.7rem;
    top: 25px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.mb-3:nth-child(2)::before {
    background-image: url('/media/3o1heyfn/email-icon.svg');
}

.mb-3:nth-child(3)::before {
    background-image: url('/media/inen3n0f/password-icon.svg');
}

.form-check {
    display: none;
}

.btn-primary {
    width: 100%;
    padding: 0.8rem;
    background: var(--brand-darker);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #38827c;
}

.text-danger {
    color: red;
    font-size: 0.8rem;
    display: block;
    text-align: right;
}

.footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0.4;
    position: absolute;
    bottom: 4rem;

    span {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    img {
        width: 100px;
        height: auto;
    }
}

@media screen and (max-width: 700px) {
    .auth-body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        .footer {
            position: inherit;
        }
    }
    
}