/* Terms & Conditions Page Styles */
.terms-content {
  padding: 60px 20px;
  background: #f8f9fa;
  min-height: 80vh;
}

.terms-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
}

.terms-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e7eb;
}

.terms-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.terms-section h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e3f2fd;
}

.terms-section p {
  color: #374151;
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1rem;
}

.terms-section ul {
  margin: 15px 0;
  padding-left: 0;
  list-style: none;
}

.terms-section ul li {
  position: relative;
  padding: 8px 0 8px 25px;
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.95rem;
}

.terms-section ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1rem;
}

.terms-section ul li strong {
  color: var(--primary-color);
  font-weight: 600;
}

.terms-footer {
  margin-top: 40px;
  padding: 30px;
  background: #f1f5f9;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.terms-footer p {
  margin-bottom: 10px;
  color: #475569;
  font-size: 0.95rem;
}

.terms-footer p:last-child {
  margin-bottom: 0;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .terms-content {
    padding: 40px 15px;
  }
  
  .terms-wrapper {
    padding: 25px 20px;
  }
  
  .terms-section h2 {
    font-size: 1.3rem;
  }
  
  .terms-section p,
  .terms-section ul li {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .terms-content {
    padding: 30px 10px;
  }
  
  .terms-wrapper {
    padding: 20px 15px;
  }
  
  .terms-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
  
  .terms-section h2 {
    font-size: 1.2rem;
  }
  
  .terms-footer {
    padding: 20px 15px;
  }
}

/* Print Styles */
@media print {
  .terms-content {
    background: white;
    padding: 0;
  }
  
  .terms-wrapper {
    box-shadow: none;
    border: none;
    padding: 20px 0;
  }
  
  .terms-section {
    page-break-inside: avoid;
  }
  
  .terms-section h2 {
    color: #000;
  }
}
