/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Full-screen container */
.login-container {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Left Section: */
.back-custom_1 {
    width: 50%;
    height: 100vh;
    background-color: rgba(220, 244, 255, 1); 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Inner Container (Rounded Square with Image & Text) */
.inner-back-custom {
    width: 80%;
    max-width: 450px;
    height: auto;
    background-color: rgba(0, 140, 97, 1); 
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

/* Centered Image */
.inner-back-custom img {
    width: 90%;
    max-width: 280px;
    height: auto;
    margin-bottom: 15px;
}

/* White Text Below Image */
.inner-back-custom h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    width: 90%;
}

/* Short Vertical Bar Before Text */
.vertical-line {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-line::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 40px;
    background: white;
    border-radius: 5px;
    margin-right: 10px;
}

/* Right Section: WHITE BACKGROUND */
.login-right {
    width: 50%;
    height: 100vh;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px;
}

.login-logo {
    width: 120px;
    margin-bottom: 15px;
}

/* Form */
.form-login-custom {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.form-label {
    font-weight: bold;
}

.form-control {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(0, 167, 117, 1);
}

/* Buttons */
.custom-btn {
    color: #fff;
    border: none;
    background-color: rgba(0, 167, 117, 1);
    border-radius: 10px;
    font-weight: bold;
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    display: block;
    width: 100%;
    text-align: center;
}

.custom-btn:hover {
    background-color: rgba(0, 120, 85, 1);
}

/* Forgot Password */
.forgot-password-custom {
    color: rgba(0, 167, 117, 1);
    font-size: large;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-top: 10px;
}

.forgot-password-custom:hover {
    text-decoration: underline;
}

/* "Or login with" Section */
.option-login-custom {
    display: flex;
    align-items: center;
    text-align: center;
    font-weight: bold;
    margin: 20px 0;
}

.option-login-custom::before,
.option-login-custom::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background: #ccc;
    margin: 0 10px;
}

/* Code to Email Button */
.code-custom {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.code-custom button {
    max-width: 250px;
}

/* ✅ Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        height: auto;
    }

    /* Full-width for both sections */
    .back-custom_1,
    .login-right {
        width: 100%;
        height: auto;
    }

    /* Adjust the image and text on mobile */
    .inner-back-custom {
        width: 90%;
        height: auto;
        padding: 30px;
    }

    .inner-back-custom img {
        width: 70%;
        max-width: 200px;
    }

    .login-right {
        padding: 30px;
    }

    .form-login-custom {
        width: 100%;
    }

    .custom-btn {
        width: 100%;
    }
}
