﻿/* Fontawesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #00e4f1;
}

.container {
    display: flex;
    height: 100vh;
    align-items: stretch;
}

.left-section {
    background: url('/Assets/dist/img/login1.png') no-repeat center center;
    display: none;
}

.right-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background-color: rgb(255 251 255);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgb(10 75 90);
    width: 100%;
    max-width: 450px;
}

.login-form h2 {
    color: rgb(46 146 158);
    text-align: center;
    margin-bottom: 35px;
}

.login-title i {
    margin-right: 10px;
    color: #027186;
}

.form-control {
    position: relative;
    margin-bottom: 30px;
}

    .form-control i {
        position: absolute;
        left: 15px;
        top: 14px;
        color: #32495e;
    }

    .form-control input {
        width: 100%;
        max-width: 95%;
        padding: 12px 0 12px 37px;
        border: 2px solid #00569f1c;
        background-color: rgb(232, 232, 232);
        color: rgb(50, 73, 94);
        border-radius: 6px;
        transition: all 0.3s ease-in-out 0s;
    }

        .form-control input:focus {
            outline: none;
            border: 2px solid #ffd8a1;
        }

        .form-control input:invalid:not(:focus):not(:placeholder-shown) {
            border: 2px solid #ff3860;
        }

.remember-me {
    /*display: flex;*/
    /*align-items: center;*/
    margin-bottom: 20px;
}

    .remember-me .checkbox-custom {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        display: inline-block;
        vertical-align: middle;
        position: relative;
        border: 2px solid #027186;
        border-radius: 3px;
        cursor: pointer;
        background-color: #f7f7f7;
        transition: background-color 0.3s, border-color 0.3s;
        background-color: #f7f7f7;
        transition: background-color 0.3s, border-color 0.3s;
        pointer-events: none;
    }

        .remember-me .checkbox-custom::after {
            content: '';
            position: absolute;
            left: 5px;
            top: 1px;
            width: 6px;
            height: 11px;
            border: solid #027186;
            border-width: 0 3px 3px 0;
            transform: rotate(45deg);
            border: solid white;
            border-width: 0 2px 2px 0;
            display: none;
        }

    .remember-me label {
        color: #333;
        font-size: 0.95em;
        cursor: pointer;
    }

    .remember-me input[type="checkbox"] {
        display: none;
    }

        .remember-me input[type="checkbox"]:checked + .checkbox-custom::after {
            display: block;
        }

        .remember-me input[type="checkbox"]:checked + .checkbox-custom {
            background-color: #027186;
            border-color: #027186;
        }

button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background-color: rgb(46 146 158);
    color: white;
    font-size: 17px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

    button:hover {
        background-color: #405d7d;
    }

/*Responsive*/
@media screen and (min-width: 768px) {
    .left-section {
        display: block;
        flex: 1;
    }
}

a.forgot {
    text-decoration: none;
    color: #2e929e;
    float: inline-end;
}

.register-link a {
    text-decoration: none;
    color: #2e929e;
}

.register-link p {
    text-align: center;
}
