
/* Global Box-Sizing Reset for Mobile-First Design */
*, *:before, *:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f6f6f6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden; /* Prevents unwanted horizontal scrolling */
}

.content-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 15px;
  background: #fff;
  word-wrap: break-word;
}

.content-container h2 {
  font-size: 1.35rem;
  color: #111;
  margin-top: 25px;
  margin-bottom: 12px;
  border-bottom: 3px solid #2e7d32;
  padding-bottom: 8px;
}

.content-container p {
  margin-bottom: 14px;
  font-size: 1rem;
  text-align: left;
}

.content-container ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.content-container li {
  margin-bottom: 6px;
  font-size: 1rem;
}

/* Mobile-Safe Responsive Table Wrappers */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

.overview-content-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 300px;
}

.overview-content-table th, .overview-content-table td {
  border: 1px solid #ddd;
  padding: 10px;
  font-size: 0.95rem;
}

.overview-content-table th {
  background: #2c3e50;
  color: #fff;
  text-align: left;
}

.overview-content-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* Fixed Mobile Space & Width Layout Issues for Voting Component */
.nt-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 15px 5px;
  background: linear-gradient(135deg, #eef7f0, #ffffff);
  margin: 25px 0;
  border-radius: 12px;
}

.nt-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.nt-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
  border-bottom: none !important;
  padding-bottom: 0px !important;
  margin-top: 0px !important;
}

.nt-total {
  text-align: center;
  font-size: 14px;
  margin-bottom: 15px;
}

.nt-option {
  margin: 10px 0;
  padding: 10px;
  border-radius: 10px;
  transition: 0.25s;
  border: 1px solid #f1f1f1;
}

.nt-option:hover {
  background: #f6fbf7;
}

.nt-top {
  background: #fff8e1;
  border-color: #ffe082;
}

.nt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 6px;
}

.nt-bar-bg {
  width: 100%;
  height: 8px;
  background: #e8f5e9;
  border-radius: 10px;
  overflow: hidden;
}

.nt-bar {
  height: 8px;
  background: #2e7d32;
  border-radius: 10px;
  transition: width 0.4s ease;
}

.nt-btn {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 10px;
  background: #2e7d32;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s;
}

.nt-btn:hover {
  background: #1b5e20;
}

.nt-msg {
  text-align: center;
  margin-top: 10px;
  color: #d32f2f;
  font-size: 14px;
}

.nt-selected {
  border: 2px solid #2e7d32;
  background: #e8f5e9;
  transform: scale(1.02);
}

/* Premium Box Style Safe FAQ Section */
.faq-section {
  margin-top: 25px;
  margin-bottom: 25px;
  width: 100%;
}

.faq-box {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.faq-question {
  background-color: #f1f5f9;
  padding: 12px 15px;
  font-weight: 700;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
  font-size: 1rem;
  text-align: left;
}

.faq-answer {
  padding: 15px;
  color: #475569;
  text-align: left;
}

.faq-answer p {
  margin-bottom: 0px !important;
}

/* Responsive Overrides for Smaller Mobile Phones */
@media (max-width: 480px) {
  .content-container {
    padding: 10px;
  }
  .content-container h2 {
    font-size: 1.15rem;
  }
  .content-container p, .content-container li, .overview-content-table th, .overview-content-table td {
    font-size: 0.95rem;
  }
  .nt-wrapper {
    padding: 10px 0;
  }
  .nt-card {
    padding: 12px;
    border-radius: 12px;
  }
  .nt-title {
    font-size: 16px;
  }
  .faq-question, .faq-answer {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
}