html, body {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
}

.login-container {
    display: flex;
    height: 100%;
}

.login-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #fff;
}

.login-form-wrapper {
    max-width: 400px;
    width: 100%;
}

.login-avatar-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 2rem;
}

.avatar-wrapper {
    width: 80%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
    background-color: #e9ecef;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#dicebear-avatar {
    width: 100%;
    height: 100%;
}

.form-floating > .form-control:focus,
.form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    .login-avatar-container {
        display: none; /* Hide avatar on smaller screens to save space */
    }
    .login-form-container {
        width: 100%;
        min-height: 100vh;
    }
}
