* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #E6E6E6;
    font-family: 'Montserrat', sans-serif;
    /* MUDANÇA: Garante que o body ocupe a altura toda da tela e esconde a rolagem principal */
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    text-transform: uppercase;
}
.main-container {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    /* MUDANÇA: Faz o container ocupar 100% da altura do body */
    height: 100%;
}
.logo-principal {
    width: 120px;
    flex-shrink: 0; 
}
h1 {
    color: #F58220;
    font-size: 1.5em;
    letter-spacing: 2px;
    flex-shrink: 0;
}
form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}
form input, form select {
    background-color: #F58220;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 15px;
    width: 90%; 
    max-width: 320px;
    text-align: center;
    text-align-last: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.9em;
    cursor: pointer;
    outline: none;
    text-transform: uppercase;
}
form ::placeholder {
    color: #ffffff;
    opacity: 1;
    text-transform: uppercase;
}
form select option[disabled] {
    color: #ffffff;
}
form select option {
    color: #000000;
    background-color: #ffffff;
}
.footer-logos {
    display: flex;
    gap: 15px;
    margin-top: auto;
    padding-top: 20px;
    flex-shrink: 0;
    align-items: center;
}
.logo-rodape {
    width: 60px;
}
nav {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.nav-button {
    display: inline-block;
    background-color: #dcdcdc;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
    border: none;
    outline: none;
    cursor: pointer;
}
.nav-button:hover {
    background-color: #c8c8c8;
}
.submit-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 15px;
    width: 90%;
    max-width: 320px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
    transition: background-color 0.3s ease;
    outline: none;
}
.submit-button:hover {
    background-color: #333333;
}
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.7); display: none; 
    justify-content: center; align-items: center; z-index: 1000;
}
.modal-overlay.active { display: flex; }
.modal { background-color: white; padding: 30px; border-radius: 10px;
    width: 90%; max-width: 500px; text-align: center; }
.modal h2 { margin-bottom: 10px; color: #333; }
.modal p { margin-bottom: 20px; color: #666; }
#comprovante-input { display: block; width: 100%; margin-bottom: 20px;
    border: 2px dashed #ccc; padding: 20px; border-radius: 5px; cursor: pointer; }
#comprovante-input:hover { border-color: #F58220; }
#image-preview { max-width: 100%; max-height: 200px; margin-bottom: 20px;
    border: 1px solid #ddd; border-radius: 5px; }
.modal-actions { display: flex; justify-content: center; gap: 15px; }
.modal-button { padding: 10px 20px; border: none; border-radius: 5px;
    font-weight: 700; cursor: pointer; font-family: 'Montserrat', sans-serif; }
.modal-button.confirm { background-color: #F58220; color: white; }
.modal-button.cancel { background-color: #dcdcdc; color: #333; }

@media (max-width: 768px) {
    body { height: auto; overflow-y: auto; }
    .main-container { height: auto; gap: 15px; padding: 15px; }
    .logo-principal { width: 110px; }
    h1 { font-size: 1.4em; margin-bottom: -10px; }
    .table-container { flex: none; overflow-y: visible; }
}

/* Adicione no final do seu global.css */
.user-info-text {
    color: #555;
    font-size: 0.8em;
    font-weight: 700;
    margin-top: 15px; /* Espaço acima do texto */
    text-align: center;
}

body.auth-page {
    visibility: hidden;
}

/* Estilo do nosso loader */
.loader {
    font-size: 1.5em;
    font-weight: 700;
    color: #555;
}