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

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

.form-control {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    border-bottom: 2px solid #ccc;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #4CAF50;
}

.form-control.invalid {
    border-color: red;
}

.form-control.valid {
    border-color: green;
}

.validation-message {
    color: red;
    font-size: 12px;
}

.login-container {
    padding: 40px;
    width: 100%;
    max-width: 650px;
    min-width: 390px;
}

.login-container h2 {
    text-align: left;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #16335f;
    margin-top: 30px;
}

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

.form-group label {
    display: block;
    font-size: 1em;
    margin-bottom: 8px;
    color: #34495e;
}

.form-group input {
    width: 100%;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 0px;
    border-top: none;
    border-left: none;
    border-right: none;
    font-size: 1em;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.form-group input::placeholder {
    color: #aaa;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #132d54;
    color: white;
    font-size: 1em;
    border: none;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    opacity: 0.9;
}

.btn-submit:focus {
    outline: none;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-logo img {
    max-width: 80%;
    height:  auto;
}

/*Loading animation*/
.lds-roller {
    /* change color here */
    color: #1c4c5b
}

    .lds-roller,
    .lds-roller div,
    .lds-roller div:after {
        box-sizing: border-box;
    }

.lds-roller {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7.2px;
            height: 7.2px;
            border-radius: 50%;
            background: currentColor;
            margin: -3.6px 0 0 -3.6px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 62.62742px;
                left: 62.62742px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 67.71281px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 70.90963px;
                left: 48.28221px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 70.90963px;
                left: 31.71779px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 67.71281px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 62.62742px;
                left: 17.37258px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12.28719px;
            }

.center {
    margin-left: 50%;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
