/* --- Estilos Gerais --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.header {
    display: flex;
    align-items: center;
    background-color: #007cc0;
    color: #fff;
    padding: 10px;
}

.header img {
    height: 40px; 
    margin-right: 15px;
}
    
h1, h2 {
    text-align: center;
    color: #007CC0;
}

.info-text {
    margin: 20px 0;
    line-height: 1.5;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

.data-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* --- Estilos da Área de Pesquisa e Botões --- */
.search-container {
    position: relative;
    border: 1px solid #a3c4e0;
    margin: 20px 0;
    background-color: #fff;
    padding: 20px 15px;
    min-height: 80px;
}

.search-box-header-visual {
    background-color: #007cc0;
    color: #fff;
    padding: 8px 15px;
    font-weight: bold;
    position: absolute;
    top: -1px;
    left: -1px;
    border-right: 1px solid #a3c4e0;
    border-bottom: 1px solid #a3c4e0;
    z-index: 1;
}

.search-box-content {
    padding-top: 25px;
}

.search-form-layout {
    display: flex;
    align-items: center;
    padding: 0px 0;
}

.search-form-layout label {
    margin-right: 10px;
    white-space: nowrap;
    color: #333;
}

.search-form-layout input[type="text"] {
    flex-grow: 0;
    width: 250px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 1em;
}

.search-button {
    background-color: #007cc0;
    color: #fff;
    border: none;
    padding: 8px 12px;
    margin-left: -1px;
    border-radius: 0 2px 2px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
}

.search-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Estilo para o botão "Listar Todos" */
.botaobuscarAll {
    display: flex;
    align-items: center;
    gap: 8px; /* Espaço entre o texto e o ícone */
    cursor: pointer;
    color: #007cc0; /* Estilo do texto "Listar Todos" */
}

/* --- Estilos da Nota de Observação --- */
.obs-note {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
    font-weight: bold;
    text-align: right;
    margin: 10px 0;
}

.obs-label {
    grid-column: 1;
    text-align: right;
    color: red;
}

.obs-text {
    grid-column: 2;
    text-align: left;
    color: black;
}

.obs-text strong {
    color: red;
}

.alinhar-a-direita {
    display: flex;
    justify-content: flex-end;
}

/* --- Estilos da área de Login e Serviços (imagem) --- */
.login-services-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 200px;
    margin-top: 40px;
}

.login-card {
    background-color: #fff;
    padding: 25px 35px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 500px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.login-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #007cc0;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #007cc0;
}

.links {
    margin-top: 15px;
    font-size: 14px;
}

.links a {
    color: #007cc0;
    text-decoration: none;
    margin: 0 5px;
}

.links a:hover {
    text-decoration: underline;
}

.services-list ul {
    list-style: disc; /* Esta regra foi mantida */
    padding-left: 20px; /* Recuo para que os pontos apareçam */
    margin: 0;
}

.services-list h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.services-list li {
    padding: 8px 0;
    font-size: 16px;
    line-height: 1.5;
}

/* --- Estilos de Responsividade (para telas até 768px) --- */
@media (max-width: 768px) {
    /* Ajustes no formulário de pesquisa para telas menores */
    .search-form-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .search-form-layout label {
        margin-bottom: 5px;
        text-align: left;
    }

    .search-form-layout input[type="text"] {
        width: 100%;
        box-sizing: border-box;
    }

    .search-button {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        border-radius: 2px;
    }

    /* Permite a rolagem horizontal na tabela */
    .container {
        overflow-x: auto;
    }

    /* Responsividade para a área de login e serviços */
    .login-services-container {
        flex-direction: column;
        align-items: center;
    }
}