﻿/* Mesmo layout do relógio online do newapp (/ponto/relogio-online), com os valores calculados na página de lá */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    background: #f7f7f7 url('background.png');
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #0a0a0a;
}

button, input {
    margin: 0;
    font: inherit;
    color: inherit;
}

input::placeholder {
    color: rgba(10, 10, 10, .5);
}

.hidden, .oculto {
    display: none !important;
}

.mt-2 {
    margin-top: 8px;
}

.pagina {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.cartao {
    width: 100%;
    max-width: 448px;
    padding: 32px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

.cabecalho {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cabecalho h2 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #364153;
}

.cabecalho h1 {
    margin: 0 0 8px;
    font-size: 48px;
    line-height: 48px;
    font-weight: 700;
    color: #2b7fff;
}

.cabecalho p {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #4a5565;
}

.conteudo {
    margin-top: 32px;
}

.conteudo form {
    margin-bottom: 16px;
}

.campo {
    position: relative;
}

.campo .moldura {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5dc;
    border-radius: 8px;
}

.campo .icone {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    padding-left: 12px;
    color: #99a1af;
    pointer-events: none;
}

.campo input {
    width: 100%;
    height: 44px;
    padding: 8px 0 8px 40px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    outline: none;
}

.campo.erro .moldura {
    border-color: #fb2c36;
}

.campo.erro .icone {
    color: #fb2c36;
}

.erro-login {
    margin: 4px 0 0 4px;
    font-size: 14px;
    line-height: 20px;
    color: #e7000b;
}

.captcha {
    display: flex;
    align-items: center;
}

.captcha > * + * {
    margin-left: 8px;
}

.captcha canvas {
    flex-shrink: 0;
    border: 1px solid #155dfc;
    border-radius: 8px;
    background: #f0fdf4;
    user-select: none;
}

.captcha button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
}

.captcha button:hover {
    background: #f5f5f5;
}

.captcha input {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid #d1d5dc;
    border-radius: 8px;
    background: transparent;
    font-size: 14px;
    line-height: 20px;
    outline: none;
}

.acoes {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#btnRegistrar {
    width: 100%;
    height: 48px;
    padding: 8px 16px;
    border: 0;
    border-radius: 8px;
    background: #2b7fff;
    color: #fafafa;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05);
    cursor: pointer;
}

#btnRegistrar:hover {
    background: #155dfc;
}

#btnRegistrar:disabled {
    opacity: .5;
    pointer-events: none;
}

.status {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid #fff;
    border-radius: 8px;
    background: #fff;
}

.status.erro {
    border: 0;
    background: #fef2f2;
}

.status .linha {
    display: flex;
}

.status .linha svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #fb2c36;
}

.status .linha div {
    margin-left: 12px;
}

.status h3 {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #9f0712;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    margin-bottom: 24px;
}

.logo img {
    width: 120px;
    height: auto;
}

.comprovante {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.ticket {
    position: relative;
    width: 380px;
    height: 570px;
}

.ticket > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket .corpo {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 24px;
    text-align: center;
    color: #1e2939;
}

.ticket .fechar {
    position: absolute;
    top: -70px;
    right: 170px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid #fff;
    border-radius: 9999px;
    background: rgba(0, 0, 0, .4);
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    cursor: pointer;
}

.ticket .fechar:hover {
    background: rgba(0, 0, 0, .7);
}

.ticket .logo-cliente {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 60px;
    padding: 32px;
    overflow: hidden;
    background: #fff;
    border-radius: 9999px;
}

.ticket .logo-cliente img {
    display: block;
    max-width: 100%;
    height: auto;
}

.ticket .titulo {
    margin-top: 32px;
    font-size: 14px;
    line-height: 1.25;
    color: #6a7282;
}

.ticket .titulo p {
    margin: 0;
}

.ticket .titulo .negrito {
    font-weight: 700;
}

.ticket .titulo .dados {
    margin-top: 4px;
}

.ticket .estrelas {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: .1em;
    color: #4a5565;
}

.ticket .estrelas.antes {
    margin-top: 12px;
}

.ticket .estrelas.depois {
    margin: 12px 0;
}

.ticket .check {
    font-size: 15px;
    font-weight: 600;
    color: #00a63e;
}

.ticket .mensagem {
    margin-top: 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #4a5565;
    white-space: pre-line;
}

.ticket .momento {
    font-size: 12px;
    line-height: 16px;
    color: #364153;
}

.ticket .momento p {
    margin: 0;
}

.ticket .momento .data {
    font-weight: 500;
}

.ticket .momento .hora {
    margin-top: 4px;
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
}
