@import url('https://fonts.googleapis.com/css2?family=Readex+Pro:wght@400;500&family=Roboto:wght@400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f2f2f2; 
    position: relative;
    font-family: 'Roboto', sans-serif; 
}

.logo-section {
    position: absolute;
    top: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    align-items: center;
}

.logo-left, .logo-right {
    display: flex;
    gap: 30px;
}

.logo-small {
    height: 100px;
}

.logo-center {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.logo-top {
    height: 100px;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
}

.login-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    width: 150%;
 
    max-width: 380px;  /* Limiting the width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Adding subtle shadow */
    text-align: center;
}

.login-title {
    font-size: 26px;
    margin-bottom: 30px;
    font-family: 'Readex Pro', sans-serif;
    font-weight: bold;
    color: #333333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 12px;
    background-color: #e8f4f9;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    width: 100%;
    text-align: left;  /* Text aligned left for a more natural typing experience */
    transition: border 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.form-group input:focus {
    border-color: #007bff;
    background-color: #f0f9ff;  /* Lighter background on focus */
    outline: none;
}

.btn-login {
    background-color: #007bff;
    color: #fff;
    border-radius: 8px;
    padding: 10px 30px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-login:hover {
    background-color: #0056b3;
}

h6 {
    margin-top: 25px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 14px;
    color: #555555;
}

h6 a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

h6 a:hover {
    text-decoration: underline;
}

.alert {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .logo-small {
        height: 80px;
    }

    .logo-top {
        height: 90px;
    }

    .login-box {
        width: 100%;
        max-width: 320px;
        padding: 30px;
    }

    .login-title {
        font-size: 22px;
    }

    .form-group input {
        font-size: 14px;
        padding: 10px;
    }

    .btn-login {
        padding: 10px 25px;
        font-size: 14px;
    }

    h6 {
        font-size: 12px;
    }

    h6 a {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-small {
        height: 60px;
    }

    .logo-top {
        height: 70px;
    }

    .login-box {
        padding: 25px;
    }

    .login-title {
        font-size: 18px;
    }

    h6 {
        font-size: 10px;
    }

    h6 a {
        font-size: 12px;
    }
}
