@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: url('../../fonts/opensans/OpenSans-Light.woff2') format('woff2');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: url('../../fonts/opensans/OpenSans-SemiBold.woff2') format('woff2');
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #F3F6F9;
    font-family: 'Open Sans', sans-serif;
    color: #37414E;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

a {
    color: #004F70;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #003A54;
}

.card {
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    border: 1px solid #E1E4E8;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(55, 65, 78, .08);
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wave {
    margin: -36px -36px 0;
    height: 150px;
    border-radius: 10px 10px 0 0;
    background: url('../../images/documents/login-wave.jpg') center 30% / cover no-repeat;
}

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: -72px;
    text-align: center;
}

.tile {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(55, 65, 78, .25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile img {
    width: 52px;
    height: 52px;
}

.name {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.15;
}

.tagline {
    font-size: 14px;
    font-weight: 300;
    color: #767B83;
    margin-top: 6px;
}

.view {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.hint {
    font-size: 14px;
    color: #767B83;
    margin: 6px 0 0;
    line-height: 1.5;
    white-space: pre-wrap;
}

label.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

input[type=text],
input[type=email],
input[type=password],
input[type=tel] {
    width: 100%;
    height: 44px;
    border: 1px solid #E1E4E8;
    border-radius: 6px;
    padding: 0 14px;
    font: 400 15px 'Open Sans', sans-serif;
    color: #37414E;
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 79, 112, .35);
}

input[aria-invalid=true] {
    border-color: #C0392B;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label-row button {
    border: 0;
    background: none;
    color: #004F70;
    font: 600 12px 'Open Sans', sans-serif;
    cursor: pointer;
    padding: 0;
}

.field-error {
    display: none;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 400;
    color: #B3261E;
}

.field-error.show {
    display: flex;
}

.field-error::before,
.error-box::before {
    content: "!";
    flex: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #B3261E;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-box {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #FDECEA;
    border: 1px solid #E5A8A0;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 13px;
}

.error-box.hidden {
    display: none;
}

.error-box::before {
    width: 18px;
    height: 18px;
    font-size: 12px;
}

.row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.row label {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn {
    height: 46px;
    border: 0;
    border-radius: 6px;
    background: #F3B200;
    color: #37414E;
    font: 700 15px 'Open Sans', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background: #E0A300;
    color: #37414E;
}

.btn:active {
    background: #CC9200;
}

.btn[disabled] {
    opacity: .6;
    cursor: default;
}

.link-button {
    border: 0;
    background: none;
    padding: 0;
    color: #004F70;
    font: inherit;
    cursor: pointer;
}

.link-button:hover {
    color: #003A54;
}

.center {
    text-align: center;
    font-size: 14px;
}

.small {
    font-size: 14px;
}

.foot {
    border-top: 1px solid #E1E4E8;
    margin: 4px -36px 0;
    padding: 20px 36px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.seals {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 96px;
    text-align: center;
    font-size: 11px;
    color: #767B83;
}

.seal img {
    height: 48px;
    opacity: .9;
}

.links {
    display: flex;
    gap: 20px;
    font-size: 12px;
}

.logo {
    height: 40px;
    margin-top: 4px;
}

.code-digits {
    letter-spacing: .3em;
}
