* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #fff;
    --black: #111;
    --blue: #023250;
    --grey: #666;
    --hoverblue: #2563eb;
}

@font-face {
    font-family: 'Inter';
    src: url('../../fonts/inter/Inter18pt-Bold.eot');
    src: url('../../fonts/inter/Inter18pt-Bold.eot?#iefix') format('embedded-opentype'), url('../../fonts/inter/Inter18pt-Bold.woff2') format('woff2'), url('../../fonts/inter/Inter18pt-Bold.woff') format('woff'), url('../../fonts/inter/Inter18pt-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../../fonts/inter/Inter18pt-SemiBold.eot');
    src: url('../../fonts/inter/Inter18pt-SemiBold.eot?#iefix') format('embedded-opentype'), url('../../fonts/inter/Inter18pt-SemiBold.woff2') format('woff2'), url('../../fonts/inter/Inter18pt-SemiBold.woff') format('woff'), url('../../fonts/inter/Inter18pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../../fonts/inter/Inter18pt-Light.eot');
    src: url('../../fonts/inter/Inter18pt-Light.eot?#iefix') format('embedded-opentype'), url('../../fonts/inter/Inter18pt-Light.woff2') format('woff2'), url('../../fonts/inter/Inter18pt-Light.woff') format('woff'), url('../../fonts/inter/Inter18pt-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../../fonts/inter/Inter18pt-Regular.eot');
    src: url('../../fonts/inter/Inter18pt-Regular.eot?#iefix') format('embedded-opentype'), url('../../fonts/inter/Inter18pt-Regular.woff2') format('woff2'), url('fonts/inter/Inter18pt-Regular.woff') format('woff'), url('../../fonts/inter/Inter18pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: 'Inter';
    font-weight: 400;
}

.logo_container img {
    width: 250px;
    margin: 0 auto;
    display: block;
    margin-bottom: 40px;
}

.label_group label {
    color: #666E7A;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    font-size: 16px;
}

.login_container {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0px 6px 20px rgba(0,0,0,0.1);
    width: 448px;
}

.email_block, .password_block {
    position: relative;
    margin-bottom: 20px;
}

    .email_block .email_icon, .password_block .password_icon {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        filter: opacity(0.5);
        width: 18px;
    }

img#togglePassword {
    right: 20px;
    position: absolute;
    cursor: pointer;
    width: 20px;
    top: 50%;
    transform: translateY(-50%);
    filter: opacity(0.5);
}

.email_block #email, .password_block #password {
    width: 100%;
    padding: 8px;
    padding-left: 53px;
    border: 1px solid #ddd;
    border-radius: 6px;
    height: 48px;
    font-family: 'Inter';
    font-size: 16px;
    outline: 0;
}

.password_block {
    margin-bottom: 24px;
    position: relative;
}

.btn_submit {
    position:relative;
    z-index: 1;
    overflow: hidden;
    transition: background 0.3s, border-color 0.3s;
    width: 100%;
    padding: 14px;
    background: var(--blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    font-family: "Inter", sans-serif;
}


.btn_submit::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 3px;
    background: linear-gradient(90deg, #34a853, #4285f4, #fbbc05, #ea4335, #34a853);
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity 0.3s;
    animation: gradientMove 5s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

.btn_submit:hover::before {
    opacity: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


    .btn_submit:hover {
        color: var(--white);
    }


div#email-error {
    margin-top: -8px;
    margin-bottom: 20px;
    color: #ef4444 !Important;
    font-size: 14px !important;
}

div#password-error {
    margin-top: -14px;
    margin-bottom: 20px;
    color: #ef4444 !Important;
    font-size: 14px !important;
}

input#email.error {
    border: 1px solid #ef4444;
}

input#password.error {
    border: 1px solid #ef4444;
}

div#errorMessage {
    background: #fef2f2;
    padding: 11px 22px;
    border-radius: 6px;
    border: 1px solid #fecaca;
    color: #dc2626 !important;
    margin-bottom: 20px;
    margin-top: 0 !important;
}
.flex_main {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
    background: #f8f9fc;
}

/*responsive*/
@media(max-width:500px){
    .login_container{
        width:100%;
        margin:0 20px;
    }
    .logo_container img{
        width:220px
    }
}
/*responsive*/