/* ============================================
   Indonesia-Specific Styles & Enhancements
   ============================================ */

/* Additional styling for Indonesian market */

/* Enhance readability for Indonesian text */
body {
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}

/* Indonesia-specific color accents */
.id-accent {
  color: #dc2626;
}

/* Review tags styling */
.review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.id-tp {
  padding: 0.375rem 0.875rem;
  background-color: #d1fae5;
  color: #065f46;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.id-tc {
  padding: 0.375rem 0.875rem;
  background-color: #fee2e2;
  color: #991b1b;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Case study boxes */
.case-study {
  background-color: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 8px;
}

.case-study strong {
  display: block;
  color: #92400e;
  margin-bottom: 0.75rem;
  font-size: 1.0625rem;
}

/* Insight from research boxes */
.insight-from-research {
  background-color: #dbeafe;
  border-left: 4px solid #2563eb;
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-radius: 4px;
  font-size: 0.9375rem;
}

.insight-from-research strong {
  color: #1e40af;
  display: block;
  margin-bottom: 0.5rem;
}

/* Verification methods */
.verification-methods {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.verification-methods h4 {
  color: #2563eb;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.verification-methods h4:first-child {
  margin-top: 0;
}

.verification-methods ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.verification-methods li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

/* OS-specific guides */
.os-specific-guides {
  margin: 2rem 0;
}

.os-guide {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.os-guide h4 {
  color: #059669;
  margin-top: 0;
  margin-bottom: 1rem;
}

.os-guide ol {
  margin: 0;
  padding-left: 1.5rem;
}

.os-guide li {
  margin-bottom: 0.75rem;
}

/* Permission analysis table */
.permission-analysis-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.permission-analysis-table thead {
  background-color: #2563eb;
  color: white;
}

.permission-analysis-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
}

.permission-analysis-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.permission-analysis-table tbody tr:hover {
  background-color: #f9fafb;
}

.permission-analysis-table tbody tr:last-child td {
  border-bottom: none;
}

.permission-analysis-table code {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.875rem;
  background-color: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #dc2626;
}

/* Video guide CTA */
.video-guide-cta {
  text-align: center;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  margin: 3rem 0;
  border: 2px solid #f59e0b;
}

.video-guide-cta h3 {
  margin-top: 0;
  color: #92400e;
}

.video-guide-cta p {
  font-size: 1.0625rem;
  color: #78350f;
  max-width: 600px;
  margin: 1rem auto 1.5rem;
}

/* Troubleshooting inline boxes */
.troubleshooting-inline {
  background-color: #fee2e2;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.troubleshooting-inline h4 {
  color: #dc2626;
  margin-top: 0;
  margin-bottom: 1rem;
}

.troubleshooting-inline ul {
  margin: 0.5rem 0 0;
}

.troubleshooting-inline li {
  margin-bottom: 0.5rem;
}

/* Post-install tips */
.post-install-tips {
  background-color: #dbeafe;
  border-left: 4px solid #2563eb;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.post-install-tips h4 {
  color: #1e40af;
  margin-top: 0;
  margin-bottom: 1rem;
}

.post-install-tips ol {
  margin: 0;
}

.post-install-tips li {
  margin-bottom: 0.75rem;
}

/* Verification checklist */
.verification-checklist {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.verification-checklist h4 {
  margin-top: 0;
  color: #2563eb;
}

.verification-checklist ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.verification-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background-color: #ffffff;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.verification-checklist li:hover {
  background-color: #f3f4f6;
}

.verification-checklist input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.verification-checklist label {
  cursor: pointer;
  flex: 1;
}

/* Important note styling */
.important-note {
  background-color: #fee2e2;
  border: 2px solid #dc2626;
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  font-weight: 500;
}

.important-note strong {
  color: #dc2626;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

/* Comparison tables specific styling */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: white;
}

.comparison-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
}

.comparison-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.comparison-table tbody tr:hover {
  background-color: #f9fafb;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

/* Satisfaction table specific */
.satisfaction-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.satisfaction-table thead {
  background-color: #059669;
  color: white;
}

.satisfaction-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
}

.satisfaction-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.satisfaction-table tbody tr:hover {
  background-color: #f0fdf4;
}

/* Additional responsive adjustments for Indonesian content */
@media (max-width: 640px) {
  .review-tags {
    gap: 0.375rem;
  }

  .id-tp,
  .id-tc {
    font-size: 0.75rem;
    padding: 0.25rem 0.625rem;
  }

  .verification-methods,
  .os-guide {
    padding: 1rem;
  }

  .video-guide-cta {
    padding: 1.5rem 1rem;
  }

  .comparison-table {
    font-size: 0.875rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.625rem 0.75rem;
  }

  /* Make tables scrollable on small screens */
  .data-table,
  .comparison-table,
  .permission-analysis-table,
  .satisfaction-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Print-specific adjustments */
@media print {
  .video-guide-cta,
  .btn,
  .verification-checklist input[type="checkbox"] {
    display: none;
  }

  .case-study,
  .insight-from-research,
  .troubleshooting-inline {
    page-break-inside: avoid;
  }
}