* { 
  box-sizing: border-box; 
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  color: #333333;
  background: #f8f8f8;
  font-size: 16px;
  padding: 0;
  margin: 0;
}

.legal-page {
  min-height: 100vh;
  padding: 0;
  background: none;
  padding-top: 20px;
  padding-bottom: 50px;
}

.legal-container {
  background: #ffffff;
  padding: 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

.legal-header {
  background: transparent;
  padding: 0 0 30px 0;
  text-align: center;
  border: none;
}

.legal-header h1 {
  font-size: 28px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 15px;
  text-decoration: none !important;
  border: none !important;
}

.last-updated {
  color: #666666;
  font-size: 14px;
  font-style: italic;
  margin-top: 10px;
}

.legal-content {
  padding: 0;
  line-height: 1.7;
  font-size: 16px;
}

.content-section {
  font-size: 16px;
  text-align: justify;
}

/* FORCE OVERRIDE ALL INLINE STYLES */
.content-section * {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #333333 !important;
  padding: 0 !important;
}

.content-section h1 {
  font-size: 22px !important;
  color: #333333 !important;
  margin: 35px 0 18px 0 !important;
  font-weight: bold !important;
  background: transparent !important;
  padding: 0 !important;
  text-decoration: none !important;
  border: none !important;
}

.content-section h2 {
  font-size: 19px !important;
  color: #333333 !important;
  margin: 30px 0 15px 0 !important;
  font-weight: bold !important;
  background: transparent !important;
  padding: 0 !important;
  text-decoration: none !important;
  border: none !important;
}

.content-section h3 {
  font-size: 14px !important;
  color: #333333 !important;
  margin: 20px 0 10px 0 !important;
  font-weight: bold !important;
  background: transparent !important;
  padding: 0 !important;
}

.content-section p {
  color: #333333 !important;
  margin: 12px 0 !important;
  line-height: 1.6 !important;
  text-indent: 0 !important;
  text-align: justify !important;
  background: transparent !important;
  padding: 0 !important;
}

.content-section ul,
.content-section ol {
  margin: 15px 0;
  padding-left: 25px;
}

.content-section li {
  color: #333333;
  margin: 6px 0;
  line-height: 1.6;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: 1px solid #333333;
  table-layout: fixed;
}

.content-section th {
  background: #ffffff;
  color: #333333;
  padding: 15px;
  text-align: left;
  font-weight: bold;
  border: 1px solid #333333;
  font-size: 14px;
  word-wrap: break-word;
}

.content-section td {
  padding: 15px;
  border: 1px solid #333333;
  color: #333333;
  font-size: 14px;
  word-wrap: break-word;
  vertical-align: top;
}

.content-section a {
  color: #333333;
  text-decoration: underline;
}

.content-section a:hover {
  color: #333333;
  text-decoration: underline;
}

.empty-state {
  text-align: center;
  padding: 60px 0;
  color: #666666;
}

.empty-state h2 {
  color: #333333;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 18px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.legal-footer {
  background: transparent;
  padding: 40px 0 0 0;
  text-align: center;
  color: #666666;
  border: none;
  font-size: 12px;
  font-style: italic;
}

.legal-footer a {
  color: #333333;
  text-decoration: underline;
}

.legal-footer a:hover {
  color: #333333;
  text-decoration: underline;
}

@media print {
  .legal-page {
    padding: 20mm;
  }
  
  body {
    background: #ffffff;
  }
}

@media (max-width: 768px) {
  .legal-page {
    padding: 20px 15px;
    padding-top: 100px;
  }
  
  .legal-container {
    padding: 25px 20px;
    border-radius: 10px;
  }
  
  .legal-header h1 {
    font-size: 22px;
  }
  
  .content-section h1 {
    font-size: 18px !important;
  }
  
  .content-section h2 {
    font-size: 16px !important;
  }
  
  .content-section table {
    font-size: 12px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  .content-section th,
  .content-section td {
    padding: 8px;
    font-size: 12px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .legal-container {
    max-width: 95%;
    padding: 30px 40px;
  }
  
  .content-section table {
    font-size: 13px;
  }
}
