/* ==========================================================================
   Legal & Compliance Pages Stylesheet (Simbofy / Simb Technologies)
   ========================================================================== */

/* Legal Page Header Styles */
.legal-page-title {
  font-size: 36px;
  font-weight: 800;
  color: #021e24;
  margin-bottom: 8px;
  line-height: 1.2;
}

.legal-page-sub {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

/* Legal Content Section */
.legal-content-section {
  background: #f8fafc;
  padding-top: 60px !important;
  padding-bottom: 100px !important;
}

.legal-sidebar {
  top: 120px;
  z-index: 100 !important;
}

.legal-entity-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(2, 30, 36, 0.06);
  border-top: 4px solid #00a7b8;
}

.badge-entity {
  display: inline-block;
  background: rgba(0, 167, 184, 0.1);
  color: #00a7b8;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.legal-entity-card h5 {
  font-size: 20px;
  font-weight: 700;
  color: #021e24;
  margin-bottom: 4px;
}

.brand-line {
  color: #64748b;
  font-size: 13px;
  margin-bottom: 16px;
}

.legal-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 16px 0;
}

.entity-detail {
  display: flex;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #475569;
}

.entity-detail i {
  color: #00a7b8;
  margin-top: 4px;
  font-size: 14px;
}

.entity-detail a {
  color: #00a7b8;
  font-weight: 600;
  text-decoration: none;
}

/* Table of Contents */
.legal-toc {
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(2, 30, 36, 0.06);
}

.legal-toc h6 {
  font-size: 16px;
  font-weight: 700;
  color: #021e24;
  margin-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 8px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 10px;
}

.toc-list li a {
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.toc-list li a i {
  font-size: 10px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.toc-list li a:hover {
  color: #00a7b8;
  transform: translateX(4px);
}

.toc-list li a:hover i {
  color: #00dc83;
}

/* Document Body */
.legal-document-body {
  background: #ffffff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(2, 30, 36, 0.06);
}

.legal-alert-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(0, 167, 184, 0.06);
  border: 1px solid rgba(0, 167, 184, 0.25);
  border-radius: 8px;
  padding: 20px;
  color: #0f172a;
  font-size: 14px;
  line-height: 1.6;
}

.alert-icon {
  font-size: 24px;
  color: #00a7b8;
  margin-top: 2px;
}

.legal-article {
  margin-bottom: 40px;
  scroll-margin-top: 130px;
}

.legal-article h2 {
  font-size: 24px;
  font-weight: 700;
  color: #021e24;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-article p {
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-address-block {
  background: #f8fafc;
  border-left: 4px solid #00a7b8;
  padding: 16px 20px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 16px 0 20px;
  border-radius: 0 6px 6px 0;
}

.legal-address-block a {
  color: #00a7b8;
  font-weight: 600;
}

.policy-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 20px;
}

.policy-card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #021e24;
  margin-bottom: 10px;
}

.policy-card p {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.legal-bullet-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.legal-bullet-list li {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-bullet-list li strong {
  color: #0f172a;
}

/* Data Types Grid */
.data-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.data-type-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 20px;
}

.data-type-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #021e24;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-type-card h4 i {
  color: #00a7b8;
}

.data-type-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Timeline Steps */
.timeline-step-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 18px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00a7b8, #00dc83);
  color: #021e24;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content h6 {
  font-size: 15px;
  font-weight: 700;
  color: #021e24;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Support Contact Card */
.support-contact-card {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 24px;
}

.support-contact-card h5 {
  color: #166534;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 8px;
}

.support-contact-card p {
  color: #15803d;
  font-size: 13px;
  line-height: 1.6;
}

.support-contact-card a {
  color: #15803d;
  font-weight: 700;
  text-decoration: underline;
}

/* Grievance Box */
.grievance-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 20px;
}

.grievance-box h5 {
  color: #166534;
  font-weight: 700;
  font-size: 18px;
}

.grievance-box p {
  color: #15803d;
  font-size: 13px;
  line-height: 1.6;
}

.grievance-box a {
  color: #15803d;
  font-weight: 700;
  text-decoration: underline;
}

.resolution-time {
  display: inline-block;
  background: #ffffff;
  border: 1px solid #86efac;
  padding: 12px 20px;
  border-radius: 6px;
  text-align: center;
}

.time-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #166534;
  line-height: 1;
  margin-bottom: 4px;
}

.time-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #15803d;
}

@media (max-width: 768px) {
  .legal-document-body {
    padding: 24px;
  }
  .service-breadcrumb-title {
    font-size: 30px !important;
  }
}
