/* Tela de login do Dommu Signature: visual do login do Dommu, sem ativos externos. */
* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    color: rgb(16, 29, 73);
    font: 14px/1.5 "Segoe UI", Arial, sans-serif;
}

button,
input {
    font: inherit;
}

.login {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 100vh;
}

.login__media {
    display: flex;
    min-height: 100vh;
    align-items: flex-end;
    padding: 60px;
    background: rgb(21, 35, 77);
}

.login__tagline {
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.login__panel {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #fff;
}

.login__content {
    width: 100%;
    max-width: 345px;
}

.login__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 24px;
}

.login__brand img {
    height: 44px;
}

.login__brand span {
    color: rgb(16, 29, 73);
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.login__content h1 {
    margin: 0 0 32px;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
}

.login__content h2 {
    margin: 24px 0 8px;
    font-size: 14px;
}

.login__status {
    margin: 0 0 16px;
    color: #1d6b38;
    font-size: 12px;
}

.login__errors {
    margin: -16px 0 16px;
    color: #a32323;
    font-size: 12px;
}

.login__errors--inline {
    margin: 0 0 16px;
}

.login__errors p {
    margin: 0;
}

.login__field {
    margin-bottom: 20px;
}

.login__field label {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
}

.login__field input {
    width: 100%;
    height: 45px;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 5px;
    outline: none;
    color: #444;
    background: rgb(231, 230, 230);
    font-weight: 700;
}

.login__field input:focus {
    border-color: rgb(16, 29, 73);
    background: #fff;
}

.login__details {
    margin-bottom: 20px;
    color: #555;
}

.login__details summary {
    margin-bottom: 12px;
    cursor: pointer;
}

.login__submit {
    display: grid;
    width: 100%;
    height: 45px;
    margin-top: 16px;
    padding: 0;
    place-items: center;
    border: 2px solid rgb(231, 230, 230);
    border-radius: 5px;
    color: rgb(16, 29, 73);
    background: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.login__link {
    display: block;
    margin-top: 16px;
    padding: 0;
    border: 0;
    color: rgb(16, 29, 73);
    background: none;
    text-align: center;
    text-decoration: underline;
    cursor: pointer;
}

.login__qr {
    display: flex;
    justify-content: center;
    margin: 0 0 16px;
}

.login__secret,
.login__codes {
    padding: 10px;
    border-radius: 5px;
    background: rgb(231, 230, 230);
    font-family: Consolas, "Courier New", monospace;
    word-break: break-all;
}

.login__codes {
    columns: 2;
    margin: 0 0 16px;
    list-style: none;
}

.login__submit:focus-visible,
.login__link:focus-visible {
    outline: 3px solid #ff5b00;
    outline-offset: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .login {
        grid-template-columns: 1fr;
    }

    .login__media {
        display: none;
    }
}
