body {
  font-family: Arial, sans-serif;
  margin: 20px;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header {
  margin-bottom: 20px;
}

.config-section {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border-left: 4px solid #007bff;
  transition: all 0.3s ease;
}

.config-section.collapsed {
  padding-bottom: 10px;
}

.config-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  margin-bottom: 15px;
}

.config-header:hover {
  opacity: 0.8;
}

.config-header h3 {
  margin: 0;
  color: #007bff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-icon {
  font-size: 14px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.config-section.collapsed .toggle-icon {
  transform: rotate(-90deg);
}

.config-content {
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 2000px;
  opacity: 1;
}

.config-section.collapsed .config-content {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 15px;
}

.config-item {
  display: flex;
  align-items: center;
  padding: 5px;
  background-color: white;
  border-radius: 3px;
  border: 1px solid #dee2e6;
}

.config-item input[type="checkbox"] {
  margin-right: 8px;
}

.config-item label {
  margin: 0;
  cursor: pointer;
  font-size: 14px;
}

.button-group {
  margin-bottom: 15px;
}

.btn {
  padding: 8px 16px;
  margin-right: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn:hover {
  opacity: 0.9;
}

.dataTables_wrapper {
  margin-top: 20px;
}

.table-container {
  overflow-x: auto;
}

/* Override DataTables default hover color for better contrast */
table.dataTable.display tbody tr:hover {
  background-color: #e3f2fd !important;
  /* Light blue - better contrast */
}

/* Ensure hover works with striped rows */
table.dataTable.display tbody tr.odd:hover,
table.dataTable.display tbody tr.even:hover {
  background-color: #e3f2fd !important;
}

/* Make cells transparent on hover to show row background */
table.dataTable.display tbody tr:hover td {
  background-color: transparent !important;
}

table.dataTable.display thead th.sorting_asc,
table.dataTable.display thead th.sorting_desc {
  background-color: #e9eef3a6 !important;
}

.status {
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
}

.status.success {
  background-color: #d4edda;
  color: #155724;
}

.status.error {
  background-color: #f8d7da;
  color: #721c24;
}

.status.loading {
  background-color: #fff3cd;
  color: #856404;
}

.json-value {
  font-family: monospace;
  font-size: 12px;
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.json-value.array {
  color: #6f42c1;
}

.json-value.object {
  color: #fd7e14;
}

.config-item label {
    cursor: pointer;
    border-bottom: 1px dotted transparent;
    transition: border-color 0.2s ease;
}

/* Share Actions Section */
.share-actions {
    display: flex;
    justify-content: flex-end;
    margin: 15px 0;
    gap: 10px;
}

@media (max-width: 768px) {
    .share-actions {
        justify-content: center;
    }
}

.config-item label:hover {
  border-bottom-color: #007bff;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: #ffffff;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 3px solid #ffeb3b;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-dedication {
  text-align: center;
  flex: 1;
  min-width: 300px;
}

.footer-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #ffeb3b;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-subtext {
  font-size: 1rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #ffeb3b;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-link:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #2c3e50;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-dedication {
    min-width: auto;
  }

  .footer-text {
    font-size: 1.25rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* Features Section Styles */
.features-section {
  background: #f8f9fa;
  padding: 3rem 0;
  margin: 2rem 0;
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.features-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.features-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #007bff;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

.feature-description {
  color: #6c757d;
  line-height: 1.6;
  margin: 0;
}

/*
        .feature-highlight {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-left-color: #667eea;
        }
        
        .feature-highlight .feature-title {
            color: white;
        }
        
        .feature-highlight .feature-description {
            color: rgba(255, 255, 255, 0.9);
        }
        */

@media (max-width: 768px) {
  .features-section {
    padding: 2rem 0;
    margin: 1rem 0;
  }

  .features-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}