body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.sign-in-forms {
    margin: 0 auto;
    text-align: center;
}

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

.login-left {
    position: relative;
    width: 50%;
    color: #007bff;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #007bff;
    width: 80%;
    filter: none;
}

.bioridelogo-image {
    width: 40px;
    margin-left: 20px;
    margin-bottom: 5px;
}

.overlay p {
    font-style: italic;
    margin-top: 10px;
}

.login-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-account-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.login-right h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.login-right p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.login-right input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.login-right input:focus {
    outline: none;
    border-color: #007bff; /* Changed to blue */
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Changed to blue shadow */
}

.login-right button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.login-right button:hover {
    background-color: #0056b3; 
}

.forgot-password {
    margin-top: 0;
    margin-bottom: 10px;
}

.forgot-password a {
    color: #007bff;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #0056b3;
    text-decoration: none;
}

.login-descriptions {
    margin-top: 20px;
    font-size: 12px;
    display: flex;
}

.login-descriptions a {
    color: #007bff;
    text-decoration: none;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.login-descriptions a:hover {
    color: #0056b3;
    text-decoration: none;
}

.login-descriptions p {
    color: #9e9e9e;
    cursor: default;
}

#sign-in-with-email {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

#forgot-password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#forgot-password-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#forgot-password-form input,
#forgot-password-form button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#forgot-password-form button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
}

#forgot-password-form button:hover {
    background-color: #0056b3;
}

input#new-password-input {
    margin-bottom: 30px;
    margin-top: 10px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    z-index: 1000;
}

.modal-content h2 {
    text-align: center;
    padding: 20px 80px 10px 80px;
    margin-bottom: 15px;
    margin-top: 5px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#forgot-password-modal input,
#forgot-password-modal button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    border-radius: 5px;
}

#forgot-password-modal input {
    border: 1px solid #ccc;
}

#forgot-password-modal input:focus {
    outline: none;
    border: 1px solid #007bff;
}

#forgot-password-modal button {
    background-color: #007bff;
    color: white;
    border: none;
}

#verification-button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    margin: 200px;
    transition: background-color 0.3s;
}

#verification-button:hover {
    background-color: #0056b3;
}

input#verification-code-input {
    margin-bottom: 13px;
}

#countdown {
    text-align: center;
    color: #666;
    margin-top: 5px;
    font-size: 13px;
}

#resend-code {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
}

@media screen and (max-width: 679px) {
    .login-left {
        display: none;
    }

    .login-right p {
        width: auto;
    }

    .login-right {
        width: 100%;
    }
}

/* Role Selection Styles */
.role-selection {
    margin: 20px 0;
    width: 100%;
}

.role-options {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.role-option {
    flex: 1;
    text-align: center;
}

.role-option input[type="radio"] {
    display: none;
}

.role-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 2px solid #007bff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
    color: #007bff;
}

.role-option label i {
    font-size: 20px;
    margin-bottom: 5px;
}

.role-option input[type="radio"]:checked + label {
    background-color: #007bff;
    color: white;
}

.role-option label:hover {
    background-color: #0056b3;
}

.role-option input[type="radio"]:checked + label:hover {
    background-color: #0056b3;
}