body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* Light gray background */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top to allow scrolling */
    min-height: 100vh;
    padding: 2rem 1rem;
}
.login-page {
    justify-content: center;
    align-items: center;
}
.menu-page {
    justify-content: center;
    align-items: center;
}
.container {
    background-color: #ffffff;
    border-radius: 1.5rem; /* More rounded corners */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Stronger shadow */
    padding: 2.5rem;
    max-width: 900px; /* Max width for better readability */
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.container-login {
    background-color: #ffffff;
    border-radius: 1.5rem; /* More rounded corners */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); /* Stronger shadow */
    padding: 2.5rem;
    max-width: 450px;
    width: 100%;
}
.menu-container {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    max-width: 450px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}
input, select, textarea {
    border-radius: 0.75rem; /* Rounded inputs */
    border: 1px solid #d1d5db; /* Light gray border */
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6; /* Blue border on focus */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); /* Light blue shadow on focus */
}
/* Estilo unificado para botões pequenos */
button, .menu-button {
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.875rem; /* text-sm */
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    cursor: pointer;
    text-align: center;
    width: fit-content; /* Largura ajustada ao conteúdo */
    white-space: nowrap;
}
button:active, .menu-button:active {
    transform: scale(0.98);
}
.primary-button {
    background-color: #2563eb; /* Blue */
    color: white;
}
.primary-button:hover {
    background-color: #1d4ed8; /* Darker blue */
}
.secondary-button {
    background-color: #e5e7eb; /* Light gray */
    color: #374151; /* Dark gray text */
}
.secondary-button:hover {
    background-color: #d1d5db; /* Darker light gray */
}
.menu-button {
    background-color: #2563eb; /* Blue */
    color: white;
    width: 100%; /* Botões do menu preenchem a largura */
}
.menu-button:hover {
    background-color: #1d4ed8; /* Darker blue */
}
.download-button {
    background-color: #4b5563; /* Dark gray */
    color: white;
}
.download-button:hover {
    background-color: #374151; /* Darker gray */
}
.item-card {
    background-color: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.item-card strong {
    color: #1f2937;
}
.item-card span {
    color: #4b5563;
}
.message-box {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.message-box.success {
    background-color: #d1fae5; /* Green light */
    color: #065f46; /* Green dark */
    border: 1px solid #34d399;
}
.message-box.error {
    background-color: #fee2e2; /* Red light */
    color: #991b1b; /* Red dark */
    border: 1px solid #ef4444;
}
#reader {
    width: 100%;
    max-width: 400px; /* Limit reader width */
    margin: 0 auto;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}
#reader__dashboard_section_csr {
    display: none !important; /* Hide QR code scanner dashboard */
}
/* Custom styles for the logo */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}
.logo {
    max-width: 250px;
    height: auto;
}
