:root {
    font-family: system-ui, -apple-system, sans-serif;
    color: #12304a;
    background: #f3f6fa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
}

[hidden] {
    display: none !important;
}

.login {
    max-width: 420px;
    margin: 12vh auto 0;
    padding: 24px;
}

.marca {
    text-align: center;
    margin-bottom: 36px;
}

.marca h1 {
    font-size: 34px;
    margin: 0;
}

.marca span {
    letter-spacing: 5px;
    color: #64748b;
}

form {
    display: grid;
    gap: 12px;
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font: inherit;
    background: white;
}

button {
    min-height: 52px;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #12304a;
    color: white;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

button:disabled {
    opacity: .5;
}

header {
    background: #12304a;
    color: white;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header small {
    display: block;
    margin-top: 5px;
}

header button {
    background: #294962;
}

main {
    max-width: 600px;
    margin: auto;
    padding: 20px;
}

.scanner {
    width: 100%;
    min-height: 88px;
    background: #087f70;
    font-size: 21px;
    margin-bottom: 16px;
}

.menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.menu button {
    min-height: 90px;
    background: white;
    color: #12304a;
    border: 1px solid #dbe3ec;
}

#conteudo {
    margin-top: 24px;
}

#login-erro {
    color: #b91c1c;
}

video {
    width: 100%;
    border-radius: 12px;
}
