@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: monospace;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: linear-gradient(135deg, #0e2a39, #0a181e);
}

.container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    max-width: 900px;
    width: 100%;
    background: linear-gradient(0deg, #0e2a39, #0a181e);
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid #153549;
}

.background-login {
    background: url(../media/bg.png) no-repeat;
    background-size: contain;
    min-height: 548px;
}

.error-message {
    border: 1px solid #ff5339;
    padding: 10px !important;
    color: #ff5339 !important;
    background: #ff53391c;
    border-radius: 3px;
    margin-top: 36px;
}

.divider {
    width: 1px;
    background-color: #153549;
}

.left-part,
.right-part {
    padding: 0 35px;
}

.right-part {
    padding: 0;
    height: 100%;
}

.right-part img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px 0px 0px 5px;
}

.left-part h2 {
    color: #ffffff;
    font-weight: 300;
}

.left-part p,
a {
    color: #3a81a5;
    font-size: 12px;
}

/* .right-part {
    border-right: 1px solid #153549; 
} */


.email-block {
    border: 1px solid #153549;
    border-radius: 0px 10px;
    display: grid;
}

.email-block span {
    padding-left: 10px;
    color: #3a81a5;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
}

.email-block input {
    background-color: transparent;
    border: none;
    padding-left: 25px;
    color: #fff;
    line-height: 1;
    height: 40px;
}

.email-block input:focus {
    outline: none;
}

.password-block {
    border: 1px solid #153549;
    border-radius: 0px 10px;
    margin-top: 15px;
    display: grid;
}


.password-block span {
    padding-left: 10px;
    color: #3a81a5;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
}

.password-block input {
    background-color: transparent;
    border: none;
    padding-left: 25px;
    color: #fff;
    line-height: 1;
    height: 40px;
    -webkit-text-security: square;
}

.password-block input:focus {
    outline: none;
}

.login-button {
    color: #3a81a5;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid #153549;
    border-radius: 0px 10px;
    height: 45px;
    width: 150px;
}

.login-button:hover {
    /* background: linear-gradient(-135deg, #0e2a39, #0a181e); */
    box-shadow: 0px 0px 15px 0px #3a81a5;
}

.box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.box-header h3 {
    color: #3a81a5;
    font-size: 2.3rem;
    margin: 0;
    display: none;
}

.box-header img {
    display: block;
    width: 180px;
    height: 65px;
    object-fit: contain;
}

.box-header>div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.box-header span {
    padding-right: 5px;
    color: #3a81a5;
    font-size: 12px;
}

.login-desc {
    margin-top: 10px;
}

.login-desc a {
    font-weight: 800;
}

.login-title-box {
    margin: 3rem 0 2rem;
}

.email-block>div,
.password-block>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    border-bottom: 1px solid #153549;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.form-footer p {
    margin: 0;
}

.error-message {
    padding-top: 15px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #0c212c inset !important;
    -webkit-text-fill-color: #ffffff !important;
    border-radius: 0px 0px 0px 8px;
}

.error-class {
    border: 1px solid #ff5339;
}