* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 640px;
    max-width: 95%;
    height: 400px;
    background: #fff;
    border-radius: 10px;
    filter: drop-shadow(0px 20px 40px rgba(38, 153, 251, 0.2));
    padding: 75px;
    display: flex;
    position: relative;
}

.login-logo {
    width: 157px;
    height: 157px;
    background: url('CMSC_Logo.png') center/cover no-repeat;
    border-radius: 10px;
    position: absolute;
    top: 35px;
    right: 65px;
}

.form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 150px;
}

.login-title {
    font-family: Georgia, serif;
    font-size: 40px;
    font-weight: bold;
    color: #7f7f7f;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 10px;
}

label {
    margin-bottom: 5px;
    display: block;
    font-family: Segoe UI;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    color: rgba(112, 112, 112, 1);
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid rgba(188, 224, 253, 1);
    ;
    border-radius: 4px;
}

.login-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

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

.forgot-password {
    font-size: 12px;
    cursor: pointer;

    text-align: right;
    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 10px;
    color: rgba(170, 214, 233, 1);
}

.forgot-password > a {
    all: unset;
    cursor: pointer;
}

.error {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
    white-space: nowrap;
    text-align: center;
    font-family: Georgia;
    font-style: normal;
    font-weight: bold;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .form-container {
        padding-right: 0;
    }

    .login-logo {
        position: static;
        margin: 0 auto 20px;
    }
}





.password-group {
    position: relative;
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input[type="password"] {
    width: 100%;
}

.login-button-inline {
    position: absolute;
    right: -140px;
    top: 0;
    height: 100%;
    padding: 0 20px;
    background-color: rgba(38, 153, 251, 1);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;

    width: 120px;

    font-family: Arial;
    font-style: normal;
    font-weight: bold;
    font-size: 10px;
}

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

@media (max-width: 768px) {
    .login-button-inline {
        position: static;
        width: 100%;
        margin-top: 15px;
        border-radius: 5px;
        height: 40px;
    }

    .password-wrapper input[type="password"] {
        padding-right: 10px;
    }
}