body {
    font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Sans Pro', sans-serif;
}

/*---LOGIN WRAPPER---*/
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 604px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* PANELS */
.left-panel, .right-panel {
    flex: 1;
    min-width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.left-panel {
    background: #fff;
    height: 100%;
    width: 100%; /* ✅ Ensure it never exceeds the full width */
    max-width: 50%; /* ✅ Restrict its max width */
    box-sizing: border-box; /* ✅ Make padding included in width */
}

.left-panel form,
.left-panel .form-group:last-child {
    margin: 0;
}

.right-panel {
    background: #c79cef;
    color: white;
    height: 100%;
}

/* Form Input Styles */
.login-container .form-control {
    width: 400px;
    height: 60px;
    background-color: white;
    border: 2px solid black;
    font-size: 20px;
}

.login-container .form-control:focus {
    border: 1px solid #c7c7c7; /* Custom border color on focus */
    box-shadow: 0 0 5px #c7c7c7; /* Optional: shadow effect on focus */
}

/* Placeholder Styles */
.login-container input::placeholder {
    color: #c7c7c7;
    font-size: 20px;
    text-align: left;
}

/* Password Container */
.password-container {
    position: relative;
}

.password-container .form-control {
    padding-right: 30px; /* Make space for the icon */
}

#toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px; /* Adjust the size of the icon */
}

#toggle-password-confirmation {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px; /* Adjust the size of the icon */
}

/* Forgot Password Link */
#forgot-password {
    text-align: left;
    font-size: 18px;
    color: #3a3a3a;
    margin-bottom: 30px;
}

.invalid-feedback {
    text-align: left;
}

    .invalid-feedback.email-error {
        margin-top: -10px;
        margin-bottom: -10px;
    }

.custom-success-msg {
    color: #28a745;
    font-size: 0.875em;
}

#back-to-login {
    font-size: 18px;
    color: #3a3a3a;
    margin-bottom: 30px;
    text-align: center;
    display: inline-block;
}

.alert-success {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    z-index: 10;
    padding: 10px 20px;
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    border-radius: 5px;
}

.reset-container .form-control {
    width: 100%;
    height: 50px;
    background-color: white;
    border: 2px solid black;
    font-size: 18px;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;;
}

.reset-container {
    width: 50%;
    max-width: 500px;
    padding: 40px;
    background: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}


.single-panel {
    width: 60%;
    margin: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
