/* Estilos para o container principal */
.gcc-container {
  width: 100%;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  background-color: #f7f7f7;
  overflow: visible;
  padding: 8px;
}

/* Estilos para o container de filtros */
.gcc-filtros-container {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 96px 56px 56px 56px;
  gap: 24px;
  background: transparent;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  margin: 0;
}

/* Container de pesquisa */
.gcc-search-container {
  width: 875px;
  max-width: 100%;
  height: 52px;
  position: relative;
  margin-bottom: 24px;
}

/* Input de pesquisa */
.gcc-search {
  width: 875px !important;
  height: 52px !important;
  padding: 13px 48px 13px 16px !important;
  border-radius: 500px !important;
  border: 1px solid #cccccc !important;
  background: #ffffff !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 26px !important;
  letter-spacing: 0.5px !important;
  color: #6e6e6e !important;
  box-sizing: border-box !important;
}

.gcc-search:focus {
  outline: none !important;
  border-color: #888888 !important;
}

.gcc-search::placeholder {
  color: #b0b0b0 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 18px !important;
  letter-spacing: 0.5px !important;
}

/* Ícone de pesquisa - com maior especificidade para evitar sobreposições */
body .gcc-container .gcc-search-container .gcc-search-icon {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  z-index: 100 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: content-box !important;
}

body .gcc-container .gcc-search-container .gcc-search-icon svg {
  width: 24px !important;
  height: 24px !important;
  fill: #666666 !important;
  display: block !important;
  min-width: 24px !important;
  min-height: 24px !important;
}

/* Linha de filtros */
.gcc-filters-row {
  /* width: 1328px;
  max-width: 100%; */
  height: 52px;
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: center;
}

/* Estilo para cada filtro */
.gcc-filter-unit {
  width: 518px;
  max-width: 100%;
  height: 52px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gcc-filter-year {
  width: 240px;
  max-width: 100%;
  height: 52px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Label de filtro */
.gcc-filter-label {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  margin-bottom: 4px;
}

/* Selects de filtro */
.gcc-select-unidade {
  width: 518px;
  height: 52px;
  padding: 13px 40px 13px 16px;
  border-radius: 4px;
  border: 1px solid #cccccc;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%236E6E6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  box-sizing: border-box;
}

.gcc-select-ano {
  width: 240px;
  height: 52px;
  padding: 13px 40px 13px 16px;
  border-radius: 4px;
  border: 1px solid #cccccc;
  background: #ffffff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%236E6E6E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 16px) center;
  box-sizing: border-box;
}

.gcc-select:focus {
  outline: none;
  border-color: #888888;
}

/* Tabela de resultados */
.gcc-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background-color: #ffffff;
}

.gcc-table thead {
  background-color: #f2f2f2;
}

.gcc-table th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: #333333;
  border-bottom: 2px solid #e5e5e5;
}

.gcc-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e5e5e5;
  color: #444444;
}

.gcc-table tbody tr:hover {
  background-color: #f8f8f8;
}

/* Indicador de carregamento */
.gcc-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  width: 100%;
  text-align: center;
  color: #666666;
  font-family: "Poppins", sans-serif;
  background-color: transparent;
}

.gcc-loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #0066cc;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Mensagens de erro e sem resultados */
.gcc-no-results,
.gcc-error {
  padding: 20px 0;
  text-align: center;
  color: #666666;
  background-color: transparent;
  border-radius: 0;
  margin: 15px 0;
}

.gcc-error {
  color: #cc0000;
  background-color: transparent;
}

/* Container principal agrupado por ano */
.gcc-resultados-agrupados {
  width: 100%;
  height: auto;
  padding: 96px 56px 96px 56px;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin: 0;
  gap: 24px;
}

.gcc-ano-group {
  margin-bottom: 32px;
  width: 100%;
}

.gcc-ano-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 44px;
  color: #1a1a1a;
  margin-bottom: 24px;
  margin-top: 0;
}

/* Título da unidade dentro do ano */
.gcc-unidade-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: #333333;
  margin-top: 24px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid #004BE0;
}

/* Bloco de unidade dentro do ano */
.gcc-unidade-block {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e0e0e0;
}

.gcc-unidade-block:last-child {
  border-bottom: none;
}

/* Card fechado - versão desktop (layout original) */
.gcc-card-fechado {
  width: 100%;
  height: auto;
  min-height: 104px;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  box-sizing: border-box;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.1s ease;
  /* Melhorias para dispositivos móveis */
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.gcc-card-fechado:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Header do card - layout desktop */
.gcc-card-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gcc-card-linha1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.gcc-card-label-processo {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: #1a1a1a;
}

.gcc-card-processo-num {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.5px;
  color: #1a1a1a;
}

.gcc-card-linha2 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0px;
  color: #1a1a1a;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Ícone de plus/close - desktop */
.gcc-card-plus-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.gcc-card-plus-icon:hover,
.gcc-card-plus-icon:active {
  background: rgba(0, 0, 0, 0.1);
}

.gcc-card-plus-icon svg {
  width: 18.67px;
  height: 18.67px;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: rotate(0deg);
}

/* Rotação do ícone quando o card está aberto */
.gcc-card-fechado.gcc-card-aberto .gcc-card-plus-icon svg {
  transform: rotate(45deg);
}

/* Feedback visual melhorado em mobile - touch devices */
@media (hover: none) and (pointer: coarse) {
  .gcc-card-fechado:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  }
  
  .gcc-card-plus-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
  }
  
  .gcc-card-plus-icon:active {
    background: rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
  }
}

/* Card aberto (expandido) */
.gcc-card-fechado.gcc-card-aberto {
  width: 100%;
  height: auto;
  min-height: auto;
  background: #FFFFFF;
  border: 1px solid #CCCCCC;
  border-radius: 8px;
  box-sizing: border-box;
  margin-bottom: 16px;
  transition: box-shadow 0.2s;
  position: relative;
  padding: 0;
}

.gcc-card-fechado.gcc-card-aberto .gcc-card-plus-icon {
  display: none;
}

.gcc-card-fechado.gcc-card-aberto .gcc-card-header {
  display: none;
}

.gcc-card-titulo-completo {
  width: 100%;
  padding: 24px;
  position: relative;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gcc-card-processo {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
}

.gcc-card-processo-label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: #1A1A1A;
}

.gcc-card-processo-valor {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.5px;
  color: #1A1A1A;
}

.gcc-card-titulo {
  width: calc(100% - 32px);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0px;
  color: #1A1A1A;
  margin: 0;
  padding-right: 32px;
  word-wrap: break-word;
}

.gcc-card-close-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 28px;
  font-weight: bold;
  color: #1A1A1A;
  cursor: pointer;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gcc-card-close-icon:hover,
.gcc-card-close-icon:active {
  background: rgba(0, 0, 0, 0.1);
}

/* Melhor área de toque para botão fechar em mobile */
@media (hover: none) and (pointer: coarse) {
  .gcc-card-close-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.08);
    font-size: 24px;
  }

  .gcc-card-close-icon:active {
    background: rgba(0, 0, 0, 0.15);
    transform: scale(0.95);
  }
}

.gcc-card-info-container {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 132px;
  padding: 0 24px;
  gap: 32px;
  margin-top: 24px;
}

.gcc-card-info-coluna {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gcc-card-info-coluna-direita {
  flex: 1;
}

.gcc-card-info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gcc-card-info-label {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.25px;
  color: #1a1a1a;
  margin-bottom: 0;
}

.gcc-card-info-valor {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  margin-bottom: 0;
  margin-top: 0;
  background: transparent;
}

.gcc-card-divisor {
  width: 100%;
  border-top: 1px solid #cccccc;
  margin: 24px 0;
  height: 1px;
}

.gcc-card-anexos {
  width: 100%;
  height: auto;
  min-height: 126px;
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gcc-card-anexo-container {
  display: flex;
  flex-direction: column;
  border: 1px solid #EAEAEA;
  border-radius: 6px;
  padding: 12px;
  background-color: #FAFAFA;
  margin-bottom: 12px;
}

.gcc-card-anexo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  width: 100%;
  margin-bottom: 8px;
}

.gcc-card-anexo-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gcc-card-anexo-icon .material-icons {
  font-size: 24px;
  color: #004BE0;
}

.gcc-card-anexo-link {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0.5px;
  color: #004BE0;
  background: transparent;
  text-decoration: none;
  transition: text-decoration 0.1s;
}

.gcc-card-anexo-link:hover {
  text-decoration: underline;
}

.gcc-card-anexo-detalhes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding-left: 32px;
  margin-top: 4px;
}

.gcc-card-anexo-info {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 20px;
  color: #444444;
  flex: 1 1 30%;
}

.gcc-card-anexo-label {
  font-weight: 600;
  color: #1A1A1A;
  margin-right: 4px;
}

#gcc-load-more-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  margin: 10px 0;
  text-align: center;
  color: #666666;
  font-family: "Poppins", sans-serif;
}

/* Responsividade */
@media (max-width: 1200px) {
  .gcc-filtros-container {
    width: 100%;
    padding: 24px 0;
  }

  .gcc-search-container {
    width: 100%;
    max-width: 875px;
  }

  .gcc-filters-row {
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
    height: auto;
  }

  .gcc-filter-unit {
    width: 518px;
    max-width: 100%;
  }

  .gcc-filter-year {
    width: 240px;
    max-width: 100%;
  }

  .gcc-select-unidade {
    width: 518px;
    max-width: 100%;
  }

  .gcc-select-ano {
    width: 240px;
    max-width: 100%;
  }

  .gcc-search {
    width: 100% !important;
  }

  .gcc-resultados-agrupados {
    padding: 16px;
  }

  .gcc-card-info-container {
    flex-direction: column;
    gap: 24px;
  }

  .gcc-card-info-coluna,
  .gcc-card-info-coluna-direita {
    width: 100%;
    flex: 1;
  }

  .gcc-card-fechado.gcc-card-aberto {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .gcc-filtros-container {
    padding: 16px 16px;
  }

  .gcc-search {
    font-size: 16px;
    height: 44px;
  }

  .gcc-select {
    font-size: 16px;
    height: 44px;
  }

  .gcc-filter-label {
    font-size: 16px;
  }
}

@media (max-width: 768px) {  
  /* Card para mobile - layout horizontal seguindo Figma */
  .gcc-card-fechado {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 24px !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 364px !important;
    height: 250px !important;
    min-height: 250px !important;
    background: #FFFFFF !important;
    border: 1px solid #CCCCCC !important;
    border-radius: 8px !important;
    margin-bottom: 16px !important;
    position: relative !important;
    flex: none !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
  }

  /* Container do conteúdo principal (Nome) - ajustado para mobile */
  .gcc-card-header {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 0px !important;
    gap: 8px !important;
    width: calc(100% - 48px) !important;
    height: auto !important;
    flex: 1 !important;
    order: 0 !important;
    flex-grow: 1 !important;
  }

  /* Linha do processo - seguindo Figma mobile */
  .gcc-card-linha1 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 0px !important;
    gap: 8px !important;
    width: 100% !important;
    height: 20px !important;
    flex: none !important;
    order: 0 !important;
    align-self: stretch !important;
    flex-grow: 0 !important;
    margin-bottom: 0 !important;
  }

  /* Label "Processo nº" - seguindo Figma mobile (Caption/Small SemiBold) */
  .gcc-card-label-processo {
    width: auto !important;
    height: 16px !important;
    font-family: 'Poppins' !important;
    font-style: normal !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    line-height: 16px !important;
    letter-spacing: 0.5px !important;
    color: #1A1A1A !important;
    flex: none !important;
    order: 0 !important;
    flex-grow: 0 !important;
  }

  /* Número do processo - seguindo Figma mobile (Body/Small) */
  .gcc-card-processo-num {
    width: auto !important;
    height: 20px !important;
    font-family: 'Poppins' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: 0.25px !important;
    color: #1A1A1A !important;
    flex: none !important;
    order: 1 !important;
    flex-grow: 0 !important;
  }

  /* Linha do objeto - ajustado para mobile com mais linhas */
  .gcc-card-linha2 {
    width: 100% !important;
    height: auto !important;
    max-height: 170px !important;
    font-family: 'Poppins' !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 24px !important;
    color: #1A1A1A !important;
    flex: 1 !important;
    order: 1 !important;
    align-self: stretch !important;
    flex-grow: 1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 7 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
    text-overflow: ellipsis !important;
    letter-spacing: 0px !important;
  }

  /* Ícone plus para mobile - seguindo Figma */
  .gcc-card-plus-icon {
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: none !important;
    order: 1 !important;
    flex-grow: 0 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .gcc-card-plus-icon:hover,
  .gcc-card-plus-icon:active {
    background: transparent !important;
    opacity: 0.7 !important;
  }

  .gcc-card-plus-icon svg {
    width: 24px !important;
    height: 24px !important;
  }

  /* Ajustes para card aberto em mobile */
  .gcc-card-fechado.gcc-card-aberto {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0 !important;
    gap: 0 !important;
  }

  .gcc-card-fechado.gcc-card-aberto .gcc-card-header {
    display: none !important;
  }

  .gcc-card-fechado.gcc-card-aberto .gcc-card-plus-icon {
    display: none !important;
  }

  /* Título completo no card aberto mobile */
  .gcc-card-titulo-completo {
    padding: 16px !important;
  }

  .gcc-card-titulo {
    font-size: 18px !important;
    line-height: 24px !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
  }

  /* Info container responsivo em mobile */
  .gcc-card-info-container {
    flex-direction: column !important;
    padding: 0 16px !important;
    gap: 16px !important;
  }

  .gcc-card-info-coluna {
    width: 100% !important;
    flex: 1 !important;
  }

  /* Anexos responsivos em mobile */
  .gcc-card-anexos {
    padding: 0 16px 16px !important;
  }

  /* Container de anexo para mobile */
  .gcc-card-anexo-container {
    border: 1px solid #E5E5E5 !important;
    border-radius: 8px !important;
    padding: 16px !important;
    background-color: #F8F9FA !important;
    margin-bottom: 16px !important;
  }

  /* Item do anexo (título e ícone) para mobile */
  .gcc-card-anexo-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: auto !important;
    width: 100% !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #E5E5E5 !important;
  }

  .gcc-card-anexo-icon {
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
  }

  .gcc-card-anexo-icon .material-icons {
    font-size: 20px !important;
    color: #004BE0 !important;
  }

  .gcc-card-anexo-link {
    font-family: "Poppins", sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 22px !important;
    color: #004BE0 !important;
    text-decoration: none !important;
    flex: 1 !important;
  }

  /* Detalhes do anexo - layout em coluna para mobile */
  .gcc-card-anexo-detalhes {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
  }

  /* Informações individuais do anexo - alinhadas à direita */
  .gcc-card-anexo-info {
    font-family: "Poppins", sans-serif !important;
    font-size: 13px !important;
    line-height: 18px !important;
    color: #666666 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex: none !important;
    width: 100% !important;
    padding: 4px 0 !important;
  }

  /* Label do anexo - alinhado à esquerda */
  .gcc-card-anexo-label {
    font-weight: 600 !important;
    color: #333333 !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Valor da informação - alinhado à direita */
  .gcc-card-anexo-info .gcc-card-anexo-valor {
    font-weight: 400 !important;
    color: #666666 !important;
    text-align: right !important;
    flex: 1 !important;
    margin-left: 12px !important;
  }

  .gcc-card-titulo {
    font-size: 20px;
    line-height: 28px;
  }
  
  .gcc-card-titulo-completo {
    padding: 16px;
  }
  
  .gcc-card-info-container {
    padding: 0 16px;
  }
  
  .gcc-card-anexos {
    padding: 0 16px 16px;
  }
  
  .gcc-ano-title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }
  
  .gcc-card-anexo-detalhes {
    flex-direction: column;
    gap: 8px;
  }
  
  .gcc-card-anexo-info {
    flex: 1 1 100%;
  }
  
  .gcc-select-unidade,
  .gcc-select-ano {
    width: 100% !important;
    height: 52px !important;
  }
  
  .gcc-search-icon {
    right: 16px !important;
  }
  
  .gcc-card-close-icon {
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  /* Card para mobile pequeno - ajustes específicos para smartphones pequenos */
  .gcc-card-fechado {
    padding: 16px !important;
    gap: 16px !important;
    height: 220px !important;
    min-height: 220px !important;
    max-width: 100% !important;
  }

  .gcc-card-header {
    width: calc(100% - 40px) !important;
    gap: 6px !important;
  }

  .gcc-card-label-processo {
    font-size: 10px !important;
    line-height: 14px !important;
  }

  .gcc-card-processo-num {
    font-size: 12px !important;
    line-height: 18px !important;
  }

  .gcc-card-linha2 {
    font-size: 16px !important;
    line-height: 22px !important;
    max-height: 150px !important;
    -webkit-line-clamp: 6 !important;
  }

  .gcc-card-plus-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .gcc-card-plus-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  /* Ajustes específicos para card aberto em smartphones pequenos */
  .gcc-card-titulo-completo {
    padding: 12px !important;
  }

  .gcc-card-titulo {
    font-size: 16px !important;
    line-height: 22px !important;
  }

  .gcc-card-info-container {
    padding: 0 12px !important;
    gap: 12px !important;
  }

  .gcc-card-anexos {
    padding: 0 12px 12px !important;
  }

  /* Ajustes específicos dos anexos para smartphones pequenos */
  .gcc-card-anexo-container {
    padding: 12px !important;
    margin-bottom: 12px !important;
  }

  .gcc-card-anexo-item {
    gap: 8px !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }

  .gcc-card-anexo-icon {
    width: 18px !important;
    height: 18px !important;
  }

  .gcc-card-anexo-icon .material-icons {
    font-size: 18px !important;
  }

  .gcc-card-anexo-link {
    font-size: 14px !important;
    line-height: 20px !important;
  }

  .gcc-card-anexo-detalhes {
    gap: 6px !important;
  }

  .gcc-card-anexo-info {
    font-size: 12px !important;
    line-height: 16px !important;
    padding: 3px 0 !important;
  }

  .gcc-card-anexo-info .gcc-card-anexo-valor {
    margin-left: 8px !important;
  }
  
  .gcc-anexo-item {
    width: 100%;
  }
}

/* Expansão: animação melhorada */
.gcc-card-detalhes {
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gcc-card-detalhes[style*="display: none"] {
  opacity: 0;
  max-height: 0 !important;
}

/* Garantir que o card fechado tenha cursor pointer */
.gcc-card-fechado:not(.gcc-card-aberto) {
  cursor: pointer;
}

.gcc-card-fechado.gcc-card-aberto {
  cursor: default;
}

/* Objeto completo no card expandido */
.gcc-card-objeto-completo {
  width: 100%;
  margin-bottom: 24px;
}

.gcc-card-objeto-valor {
  white-space: normal;
  word-wrap: break-word;
  overflow: visible;
  line-height: 1.5;
}

/* Reset para garantir integração com o Elementor */
.elementor-widget-container .gcc-container * {
  box-sizing: border-box;
}

.elementor-widget-container .gcc-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.elementor-widget-container .gcc-search-container {
  width: 875px !important;
  max-width: 100% !important;
}

.elementor-widget-container .gcc-search {
  width: 875px !important;
  max-width: 100% !important;
}

/* Override para garantir que elementos internos não tenham margens */
.gcc-container h2,
.gcc-container h3,
.gcc-container p {
  margin-top: 0;
}

/* Ajustes específicos para o ícone de pesquisa */
.elementor-widget-container .gcc-search-container {
  position: relative !important;
}

.elementor-widget-container .gcc-search-icon {
  position: absolute !important;
  right: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  z-index: 10 !important;
}