* {
    box-sizing: border-box;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

body,
html {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
    padding: 20px;
}

html {
    background: linear-gradient(to left, #28a5f5, #1e87f0);
    background: linear-gradient(to right, #348ac7, #7474bf);
}




/* Styling for input field */
.input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.input-wrapper::before {
    content: "";
    background: url(user.png) no-repeat;
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
}

.input-wrapper.password::before {
    content: "";
    background: url(padlocks.png) no-repeat !important;
}


.input-field,
.login-button {
    width: 100%;
    padding: 10px;
    height: 40px;
    margin: 10px 0;
}

.input-field {
    border: 1px solid #ccc;
    outline: none;
    padding-left: 30px;
}

.input-field:focus {
    background-color: #fff;
    color: #666;
    border-color: #1e87f0;
    box-shadow: 0 0 5px 2px rgba(30, 135, 240, 0.5);
}

.input-field.error {
    border-color: red;
    box-shadow: 0 0 5px 2px rgba(255, 104, 84, 0.5);
}

.login-button {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 30px;
}

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

h3 {
    line-height: 20px;
    margin-top: 15px;
    margin-bottom: 0;
    font-weight: bolder;
    font-size: 1.5rem;
}

form {
    margin: 20px 0;
}

.mdc-text-meta {
    font-size: 12px;
    color: gray;
}

.mdc-alert-danger {
    background-color: #ff0000b8;
    color: white;
    padding: 15px;
    margin-top: 30px;
}

p {
    margin: 0;
}


.company-name,
.company-name * {
    display: block;
    text-align: center;
}

.company-name span {
    max-width: 300px;
    margin: 10px auto 0;
    color: #000;
    line-height: 1.2;
}

.company-name img {
    margin: 0 auto;
}

#login-label {
    color: #000;
}


/* Wrapper for two-column layout */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: auto;
    padding: 20px;
}

/* Left column for system description */
.description-container {
    width: 60%;
    background-color: #b5d6ff;
    padding: 20px;
    color: #0e668b;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 350px;
    max-width: 400px;
}

.description-container h2,
.login-container h2 {
    font-size: 18px;
    margin-top: 40px;
}

.description-container p {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 15px;
}

/* Right column for login */
.login-container {
    width: 50%;
    text-align: center;
    background: white;
    padding: 30px;
    padding-top: 50px;
    box-shadow: 10px 0 10px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 350px;
    min-width: 250px;
}

.description-container,
.login-container {
    margin: 0;
    height: auto;
}


.mdc-show-on-small {
    display: none;
}


@media (max-width: 768px) {
    .description-container {
        display: none;
        /* Hide the left column */
    }

    .login-container {
        width: 100%;
        max-width: 450px;
        /* Make the login container take full width */
    }

    .company-name {
        margin-bottom: 40px;
    }

    #login-label {
        color: initial;
        display: none;
    }


    .mdc-show-on-small {
        display: block;
    }

    body,
    html,
    .wrapper {
        padding: 0px;
        display: grid;
        background: white;
    }

    .login-container {
        box-shadow: none;
    }
}