@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; background: #f9fcff; color: #333; min-height: 100vh; }

.container { display: flex; min-height: 100vh; }

.hero {
    flex: 1;
    background: url('../img/login_back.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero__content { text-align: center; }
.hero__logo { width: 70%; max-width: 598px; height: auto; }
.hero__wave img { width: 100%; height: auto; }

.form-container { flex: 1; display: flex; justify-content: center; align-items: center; padding: 40px; }
.form-wrapper {
    width: 100%;
    max-width: 480px;
}

.form-header { text-align: center; margin-bottom: 32px; }
.form-header__title { font-size: 28px; margin-bottom: 8px; }
.form-header__desc {
    font-size: 16px;
    color: #0F0F0F;
}

.form-group {
    margin-bottom: 11px;
}
label {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
    color: #0F0F0F;
    font-weight: 600;
}
.input-wrap { position: relative; }
.input-wrap input {
    width: 100%; padding: 12px 40px 12px 14px;
    border: 1px solid #d5dee8;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color .25s;
    height: 56px;
}
.input-wrap input:focus { border-color: #287dc7; }

.icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: auto;
}

.valid-icon { display: none; }
.input-wrap.valid .valid-icon { display: block; }

.text-error {color: red;}
.note { display: block; margin-top: 4px; font-size: 12px; color: #888; }

.btn-submit {
    width: 100%;
    padding: 14px;
    background: #307DBF;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .25s;
    margin-top: 20px;
}
.btn-submit:hover { background: #1f62a1; }

.form-footer {
    margin-top: 20px;
    font-size: 14px;
    color: #0F0F0F;
    text-align: left;
    line-height: 143%;
}
.link {
    color: #307DBF;
    text-decoration: none;
}
.link-1 {
    font-size: 14px;
    font-weight: 500;
    color: #307DBF;
    margin-top: 10px;
    text-decoration: none;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    display: block;
    margin-top: 14px;
}
.link:hover { text-decoration: underline; }

.logo_mobile {
    display:none;
  }
@media (max-width: 768px) {
    .container { flex-direction: column; }
    .hero { display: none; }
    .form-container { padding: 20px; }
    .logo_mobile {
        display: block;
        width: 41%;
        margin: 0 auto;
        margin-bottom: 40px;
        min-width: 140px;
    }
    .form-container {
        align-items: flex-start;
    }
    .form-header__title {
        font-size: 24px;
    }
    .form-header__desc {
        font-size: 14px;
    }
}
@-webkit-keyframes spinner-border {
    to {
        transform: rotate(360deg)
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg)
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -.125em;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em
}

@-webkit-keyframes spinner-grow {
    0% {
        transform: scale(0)
    }

    50% {
        opacity: 1;
        transform: none
    }
}

@keyframes spinner-grow {
    0% {
        transform: scale(0)
    }

    50% {
        opacity: 1;
        transform: none
    }
}

.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -.125em;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: .75s linear infinite spinner-grow;
    animation: .75s linear infinite spinner-grow
}

.spinner-grow-sm {
    width: 1rem;
    height: 1rem
}

@media (prefers-reduced-motion:reduce) {

    .spinner-border,
    .spinner-grow {
        -webkit-animation-duration: 1.5s;
        animation-duration: 1.5s
    }
}
