.pdf-body{
  font-family: 'Times New Roman', Times, serif;
  font-size: 12pt;
  color: #333;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ################## HEADER ################## */
.pdf-header {
  width: 100%;
  border-collapse: collapse;
  border-bottom: 1px solid #898989;
}
.pdf-header td {
  vertical-align: middle;
  text-align: center;
}
.logo-cliente, .logo-multigeo {
  width: 200px;
}
.logo-cliente img, .logo-multigeo img {
  max-width: 100%;
  height: auto;
}
/* ################## FIM HEADER ################## */

/* ################## FOOTER ################## */
.pdf-footer {
  width: 100%;
  border-top: 1px solid #898989;
}
.pdf-footer p{
  text-align: center;
  color: #898989;
}
.page-number {
  position: absolute;
  bottom: 5px;
  right: 10px;
  font-size: 10pt;
  color: #898989;
}
/* ################## FIM FOOTER ################## */

/* ################## CAPA ################## */
.pdf-capa {
  text-align: center;
  page-break-after: always;
  display: -webkit-box;
  -webkit-box-align: center;
  height: 1073px;
}

.pdf-capa-content {
  margin: 100px;
}
.pdf-capa-content h2 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}
/* ################## FIM CAPA ################## */

/* ################## REQUERIMENTO ################## */
.pdf-requerimento {
  margin: 0;
  padding: 0;
  width: 100%;
  page-break-inside: avoid;  
}
.pdf-requerimento h3 {
  padding-left: 10px;
}
.pdf-requerimento h4 {
  padding-left: 20px;
}
/* ################## FIM REQUERIMENTO ################## */

/* ################## APENSO ################## */
.pdf-apenso {
  margin: 0;
  padding: 0;
  width: 100%;
  page-break-inside: avoid;  
}

.apenso-header {
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #333;
}

.apenso-header h2 {
  font-weight: bold;
  color: #333;
  margin: 0;
}

.apenso-item {
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #f9f9f9;
  page-break-inside: avoid;
}

.apenso-content {
  line-height: 1.4;
}

.apenso-text {
  margin: 0 0 5px 0;
}

.apenso-reason {
  margin: 5px 0 0 0;
  font-style: italic;
}

.processo-number {
  font-weight: bold;
  color: #1a365d;
}

.apenso-date {
  font-weight: 500;
}

.apenso-user {
  font-weight: 500;
}

.reason-label {
  font-weight: 500;
  font-style: normal;
}
/* ################## FIM APENSO ################## */

/* ################## PARECERES ################## */

.pdf-pareceres {
  margin-top: 20px;
  page-break-inside: avoid;
}

.pareceres-header h2 {
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #333;
}

.parecer-item {
  margin-bottom: 20px;
  page-break-inside: avoid;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 15px;
}

.parecer-header {
  display: flex;
  margin-bottom: 10px;
}

.parecer-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #1a365d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-weight: bold;
  margin: 0;
}

.parecer-date {
  color: #555;
  margin: 0;
}

.parecer-content {
  line-height: 1.5;
  margin: 10px 0;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
  white-space: pre-line;
}

.parecer-documents {
  margin-top: 10px;
}

.documents-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.documents-list {
  margin: 0;
  padding-left: 20px;
}

.documents-list li {
  margin-bottom: 3px;
  color: #1a365d;
}

/* ################## FIM PARECERES ################## */

/* ################## COMUNICACAO ################## */
.pdf-chat {
  margin-top: 25px;
}

.chat-header-section h2 {
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #333;
}

.messages-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message-item {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px;
  page-break-inside: avoid;
}

.message-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #1a365d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.message-user {
  font-weight: bold;
}

.message-content {
  line-height: 1.5;
  margin: 8px 0;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.message-footer {
  color: #666;
  text-align: right;
}

/* ################## FIM COMUNICACAO ################## */

/* ################## HISTORICO ################## */


.pdf-historico {
  margin-top: 25px;
  page-break-inside: avoid;
}

.historico-header h2 {
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #333;
}

.historico-table {
  width: 100%;
  border-collapse: collapse;
  page-break-inside: avoid;
}

.historico-table th {
  background-color: #f0f0f0;
  font-weight: bold;
  text-align: left;
  padding: 8px;
  border: 1px solid #ddd;
}

.historico-table td {
  padding: 8px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.col-usuario {
  width: 12%;
  white-space: nowrap;
}

.col-evento {
  width: 15%;
}

.col-descricao {
  width: 20%;
}

.col-metadata {
  width: 38%;
}

.col-data {
  width: 15%;
  white-space: pre-line;
}

.metadata-list {
  margin: 0;
  padding-left: 15px;
}

.metadata-list li {
  margin-bottom: 3px;
  word-break: break-word;
}

/* ################## FIM HISTORICO ################## */

/* ################## PDF HEADER PARECER ################## */
.pdf-header-parecer {
  text-align: center;
  width: 100%;
}
.logo-multigeo {
  display: inline-block;
  margin: 0 auto;
}
.logo-multigeo img {
  width: 300px;
  height: auto;
}

/* ################## FIM PDF HEADER PARECER ################## */


/* ################## PDF FOOTER PARECER ################## */
table.contact-table {
  border-collapse: collapse;
}

table.contact-table td {
  vertical-align: middle;
  padding: 0 10px;
}

.icon-circle {
  background-color: #000b3f;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-block;
  text-align: center;
}

.icon-circle svg {
  width: 16px;
  height: 16px;
  margin-top: 8px;
  fill: #fff;
}

.contact-text {
  padding-left: 2px;
  color: #666;
}
/* ################## FIM PDF FOOTER PARECER ################## */

/* ################## CAPA ANEXOS ################## */
.capa-anexos{
  page-break-before: always;
  text-align: center;
  width: 100%;
  display: -webkit-box;
  -webkit-box-align: center;
  height: 1060px;
}
.capa-anexos h2{
  font-size: 50px;
}

/* ################## FIM CAPA ANEXOS ################## */
