/* Documentation Page Styles */
.documentation-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.documentation-container h1 {
  color: #bb86fc;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.doc-section {
  margin-bottom: 3rem;
}

.doc-section h2 {
  color: #bb86fc;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #2a2a3a;
}

.feature-card {
  background: #1e1e2e;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.feature-card h3 {
  margin-top: 0;
  color: #bb86fc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lgpd-section {
  background: #1e1e2e;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.lgpd-card {
  background: #252538;
  border-radius: 8px;
  padding: 1.5rem;
}

.lgpd-card h3 {
  color: #bb86fc;
  margin-top: 0;
}

.lgpd-card h4 {
  color: #e0e0e0;
  margin-top: 1.5rem;
}

.terms-card {
  background: #1e1e2e;
  border-radius: 8px;
  padding: 1.5rem;
}

.terms-card h3 {
  color: #bb86fc;
  margin-top: 0;
}

/* List styles */
.doc-section ul,
.doc-section ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  line-height: 1.6;
}

.doc-section li {
  margin-bottom: 0.5rem;
}

/* Responsive tables */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.feature-table th,
.feature-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid #2a2a3a;
}

.feature-table th {
  background: #252538;
  color: #bb86fc;
}

.feature-table tr:hover {
  background: #252538;
}

/* Highlight boxes */
.note-box {
  background: rgba(33, 150, 243, 0.1);
  border-left: 4px solid #2196f3;
  padding: 1rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

.warning-box {
  background: rgba(244, 67, 54, 0.1);
  border-left: 4px solid #f44336;
  padding: 1rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

.tip-box {
  background: rgba(76, 175, 80, 0.1);
  border-left: 4px solid #4caf50;
  padding: 1rem;
  border-radius: 0 6px 6px 0;
  margin: 1.5rem 0;
}

/* Code blocks */
.code-block {
  background: #252538;
  padding: 1rem;
  border-radius: 6px;
  font-family: monospace;
  overflow-x: auto;
  margin: 1rem 0;
}

/* Responsive design */
@media (max-width: 768px) {
  .documentation-container {
    padding: 0 0.5rem;
  }

  .doc-section h2 {
    font-size: 1.3rem;
  }

  .feature-card,
  .lgpd-card,
  .terms-card {
    padding: 1rem;
  }
}

/* Light mode styles */
body.light-mode .documentation-container h1,
body.light-mode .doc-section h2,
body.light-mode .feature-card h3,
body.light-mode .lgpd-card h3,
body.light-mode .terms-card h3,
body.light-mode .feature-table th {
  color: #6200ee;
}

body.light-mode .doc-section h2 {
  border-bottom-color: #e0e0e0;
}

body.light-mode .feature-card,
body.light-mode .lgpd-section,
body.light-mode .terms-card {
  background: #f5f5f5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.light-mode .lgpd-card {
  background: #e0e0e0;
}

body.light-mode .lgpd-card h4 {
  color: #333;
}

body.light-mode .feature-table th,
body.light-mode .feature-table tr:hover {
  background: #e0e0e0;
}

body.light-mode .feature-table td {
  border-bottom-color: #e0e0e0;
}

body.light-mode .code-block {
  background: #e0e0e0;
  color: #333;
}
