/* Minimal Terms & Conditions CSS */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #000000;
  background: none;
  font-size: 16px;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

/* Navigation Styles */
.legal-nav {
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #eee;
}

.back-home {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.back-home:hover {
  color: #0056b3;
  text-decoration: underline;
}

.legal-page {
  min-height: 100vh;
  padding: 30px 20px;
  background: none;
}

.legal-container {
  background: #ffffff;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 8px;
  position: relative;
  z-index: 1;
  border: 1px solid #e0e0e0;
  line-height: 1.8;
}

.legal-container:hover {
  box-shadow: none;
  transform: none;
}

.legal-header {
  background: none;
  padding: 0 0 20px 0;
  text-align: left;
  border: none;
  position: relative;
}

.legal-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  background: none;
  border-radius: 0;
}

.legal-header h1 {
  font-size: 2rem;
  font-weight: bold;
  color: #000000;
  margin-bottom: 15px;
  text-decoration: none !important;
  border: none !important;
  background: none;
  -webkit-background-clip: none;
  -webkit-text-fill-color: #000000;
  background-clip: none;
  letter-spacing: 0;
}

.last-updated {
  color: #000000;
  font-size: 1rem;
  font-style: normal;
  margin-top: 10px;
  font-weight: normal;
}

.legal-content {
  padding: 0;
  line-height: 1.8;
  font-size: 1rem;
  color: #333333;
}

.content-section {
  font-size: 1rem;
  text-align: left;
  background: none;
}

/* Professional Typography */
.content-section h1 {
  font-size: 2.2rem !important;
  color: #2c3e50 !important;
  margin: 30px 0 20px 0 !important;
  font-weight: 700 !important;
  background: none !important;
  padding: 0 !important;
  text-decoration: none !important;
  border: none !important;
  line-height: 1.3 !important;
}

.content-section h2 {
  font-size: 1.4rem !important;
  color: #34495e !important;
  margin: 25px 0 15px 0 !important;
  font-weight: 600 !important;
  background: none !important;
  padding: 0 !important;
  text-decoration: none !important;
  border: none !important;
  line-height: 1.4 !important;
}

.content-section p {
  margin: 15px 0 !important;
  color: #444444 !important;
  line-height: 1.8 !important;
  font-size: 1rem !important;
  background: none !important;
  padding: 0 !important;
  text-align: justify !important;
}

.content-section ul, .content-section ol {
  margin: 15px 0 15px 25px !important;
  color: #444444 !important;
  background: none !important;
  padding: 0 !important;
}

.content-section li {
  margin: 8px 0 !important;
  color: #444444 !important;
  line-height: 1.7 !important;
  background: none !important;
  padding: 0 !important;
}

.content-section h2 {
  font-size: 1.3rem !important;
  color: #000000 !important;
  margin: 25px 0 12px 0 !important;
  font-weight: bold !important;
  background: none !important;
  padding: 0 !important;
  text-decoration: none !important;
  border: none !important;
}

.content-section h3 {
  font-size: 1.1rem !important;
  color: #000000 !important;
  margin: 20px 0 10px 0 !important;
  font-weight: bold !important;
  background: none !important;
  padding: 0 !important;
}

.content-section p {
  color: #000000 !important;
  margin: 12px 0 !important;
  line-height: 1.6 !important;
  text-indent: 0 !important;
  text-align: left !important;
  background: none !important;
  padding: 0 !important;
  font-size: 1rem;
}

.content-section ul,
.content-section ol {
  margin: 15px 0;
  padding-left: 20px;
}

.content-section li {
  color: #000000;
  margin: 8px 0;
  line-height: 1.6;
  font-size: 1rem;
}

.content-section ul li {
  list-style-type: disc;
}

.content-section ol li {
  list-style-type: decimal;
}

.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border: none;
  table-layout: auto;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.content-section th {
  background: none;
  color: #000000;
  padding: 10px;
  text-align: left;
  font-weight: bold;
  border: none;
  font-size: 1rem;
  word-wrap: break-word;
}

.content-section td {
  padding: 10px;
  border: none;
  color: #000000;
  font-size: 1rem;
  word-wrap: break-word;
  vertical-align: top;
  background: none;
}

.content-section tr:nth-child(even) td {
  background: none;
}

.content-section a {
  color: #000000;
  text-decoration: underline;
  font-weight: normal;
  position: static;
  transition: none;
}

.content-section a::after {
  content: '';
  position: static;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0;
  background: none;
  transition: none;
}

.content-section a:hover {
  color: #000000;
}

.content-section a:hover::after {
  width: 0;
}

.empty-state {
  text-align: left;
  padding: 30px 0;
  color: #000000;
}

.empty-state h2 {
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 1.3rem;
  text-decoration: none;
}

.legal-footer {
  background: none;
  padding: 30px 0 10px 0;
  text-align: left;
  color: #000000;
  border: none;
  font-size: 0.9rem;
  font-style: normal;
}

.legal-footer a {
  color: #000000;
  text-decoration: underline;
  font-weight: normal;
}

.legal-footer a:hover {
  color: #000000;
  text-decoration: underline;
}

/* Print Styles */
@media print {
  .legal-page {
    padding: 10mm;
  }
  
  body {
    background: none;
    font-size: 10pt;
  }
  
  .legal-container {
    box-shadow: none;
    border: none;
  }
  
  .legal-header::after,
  .content-section h1::after {
    display: none;
  }
  
  .content-section a::after {
    display: none;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .legal-page {
    padding: 15px 10px;
  }
  
  .legal-container {
    padding: 15px;
    border-radius: 0;
  }
  
  .legal-header h1 {
    font-size: 1.8rem;
  }
  
  .content-section h1 {
    font-size: 1.3rem !important;
  }
  
  .content-section h2 {
    font-size: 1.1rem !important;
  }
  
  .content-section h3 {
    font-size: 1rem !important;
  }
  
  .content-section p,
  .content-section li {
    font-size: 0.9rem;
  }
  
  .content-section table {
    font-size: 0.8rem;
    display: table;
    overflow-x: visible;
    white-space: normal;
  }
  
  .content-section th,
  .content-section td {
    padding: 8px;
    font-size: 0.8rem;
  }
  
  .last-updated {
    font-size: 0.9rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .legal-container {
    max-width: 100%;
    padding: 20px;
  }
  
  .content-section table {
    font-size: 0.9rem;
  }
  
  .legal-header h1 {
    font-size: 1.9rem;
  }
}
