@import "base.css";

html, body, main {
    height: 100%;
}

input:is([type="text"], [type="password"], [type="email"], [type="number"]) {
    padding: .4rem;
}

input {
    margin-bottom: .5rem;
}

.error__red {
    color: red;
}

dialog.card {
    color: var(--color-text);
    display: none !important;
}

dialog[open] {
    display: flex !important;
}

dialog::backdrop {
    background: rgb(0 0 0 / 50%);
}

main {
    display: grid;
    place-content: center;
    place-items: center;
}

.maincard {
    flex-direction: column;
    padding: 1rem;
    align-items: inherit;
}

.logo {
    height: 5rem;
    margin-bottom: 1rem;
}

button[type="submit"], .card__button {
    color: inherit;
    background-color: inherit;
    margin-bottom: 0;
}

.qr-approve {
    max-width: 22rem;
}

.qr-login__code {
    width: 15rem;
    padding: .75rem;
    background: white;
}

.qr-login__code img {
    display: block;
    width: 100%;
}

.qr-login__code.used img {
    opacity: .15;
}
