/* ==========================================================================
   MoalemBook Website - Legal Pages Styling (Terms & Privacy Policy)
   ========================================================================== */

.tc-container {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.tc-page-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-dark, #1c1c28);
  margin-bottom: 40px;
}

.tc-terms-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  margin-bottom: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tc-terms-card:hover {
  box-shadow: 0 14px 36px rgba(108, 99, 255, 0.08);
}

.tc-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark, #1c1c28);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tc-card-title i {
  color: var(--accent-purple, #6c63ff);
  font-size: 20px;
}

.tc-card-note {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.tc-terms-card hr {
  border: none;
  height: 1px;
  background-color: #f3f4f6;
  margin-bottom: 24px;
}

.tc-content-area {
  line-height: 1.8;
  color: #374151;
}

.tc-terms-card h2 {
  font-size: 18px;
  margin-top: 24px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #111827;
}

.tc-terms-card p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
}

.tc-terms-card ul {
  padding-right: 24px;
  margin: 0 0 16px;
}

.tc-terms-card li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* Loading skeleton for legal cards */
.tc-skeleton {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.tc-skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
  border-radius: 6px;
}

@keyframes skeletonLoading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 768px) {
  .tc-container {
    margin: 24px auto 60px;
    padding: 0 16px;
  }

  .tc-terms-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .tc-page-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .tc-card-title {
    font-size: 19px;
  }
}
