#gradient-title-3,
.documentation-features-section-title-container {
  display: inline-block;
  background: inherit; /* inherit gradient from DynamicGradient */
  -webkit-text-fill-color: transparent;
  background-clip: text !important;
  color: transparent;
  font-size: 70px;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  text-shadow: 0px 2.45px 1.15px rgba(26, 26, 26, 0.2);
}

.documentation-features-section-title-container {
  margin: 2.5rem 0 0 2rem;
}

.full-documentation-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 20px 0;
}

.documentation-features-section-title {
  font-size: 2em;
  text-transform: uppercase;
  color: rgba(186, 192, 238, 0.7);
}

.documentation-section {
  display: flex;
  flex-direction: column;
  padding: 20px 2rem;
  position: relative;
  z-index: 5;
  text-align: left;
  background: rgba(15, 18, 35, 0.7);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  margin: 0 2rem;
}

.documentation-section-subtitle-container {
  font-size: 0.75rem;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
}

.documentation-section-content {
  display: flex;
  flex-direction: column; /* default: text left, cards right */
  justify-content: space-between;
  gap: 2rem;
}

/* Text container */
.documentation-intro-text-container {
  flex: 1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  background: #ffffff;
  padding: 1.25rem 1rem;
  font-weight: 500;
  line-height: 1.2;
  border-radius: 8px;
}

.api-table-container {
  overflow-x: auto;
  margin-top: 1;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.api-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 600px;
}

.api-table thead {
  background: linear-gradient(90deg, #6366f1, #8b5cf6);
  color: #fff;
}

.api-table th,
.api-table td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}
.api-table td {
  font-size: small;
}

.api-table tbody tr {
  background: #f9fafb;
}

.api-table code {
  background: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 0.3em;
  font-size: 0.9em;
  font-family: "Fira Code", monospace;
}

/* Ajustes para telas médias */
@media (min-width: 769px) and (max-width: 1200px) {
  .features-section-title-container {
    text-overflow: ellipsis;
    max-width: 768px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .api-table th,
  .api-table td {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  #gradient-title-3 {
    font-size: 2rem;
  }
  .documentation-features-section-title-container {
    font-size: 2em;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
      sans-serif;
    z-index: 20;
    margin: 4rem 1rem 0;
  }
  .documentation-features-section-title-container span {
    font-size: 2rem;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
      sans-serif;
    z-index: 20;
  }

  .documentation-section {
    margin: 0;
    padding: 20px 1rem;
  }
  .documentation-section-subtitle-container {
    margin: 0 0 0.5rem;
  }
  .full-documentation-content {
    padding: 20px 1rem;
    height: none;
  }

  .documentation-intro-text-container {
    max-width: 768px;
    min-width: unset;
  }

  .features-section-title-container {
    text-wrap: inherit;
    text-overflow: ellipsis;
    max-width: 336px;
  }
}
@media (max-width: 600px) {
  .api-table tbody tr {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
  }

  .api-table code {
    display: contents;
  }

  .api-table-container {
    border-radius: 0;
  }

  .api-table tbody tr:nth-child(even) {
    background: #f9fafb;
  }

  .api-table {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
  }
  .api-table thead {
    display: none;
  }
  .api-table tr {
    display: flex;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.2rem;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  .api-table td {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0.6rem 0.9rem;
    border: none;
    border-bottom: 1px solid #f3f4f6;
    max-width: 350px;
    margin: auto;
    align-items: center;
  }
  .api-table td:last-child {
    border-bottom: none;
  }
  .api-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #374151;
    margin-right: 1rem;
  }
}
