/* Taya Policy Pages - Common Styles (Dark Mode) */

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

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  line-height: 1.7;
  color: #e0e0e0;
  background-color: #010101;
  padding: 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.policy-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 30px;
  /* background-color: #0a0a0a; */
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Header */
.policy-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #1a1a1a;
}

.policy-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.policy-meta {
  font-size: 14px;
  color: #999999;
  line-height: 1.6;
}

/* .policy-meta strong {
  color: #cccccc;
  font-weight: 600;
} */

/* Content Sections */
.policy-content {
  color: #d0d0d0;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

/* Headings */
h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #1a1a1a;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #f5f5f5;
  margin-bottom: 16px;
  margin-top: 30px;
}

/* Paragraphs */
p {
  margin-bottom: 16px;
  font-size: 15px;
  color: #d0d0d0;
}

/* Lists */
ul,
ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

ul li,
ol li {
  margin-bottom: 12px;
  padding-left: 8px;
  font-size: 15px;
  color: #d0d0d0;
  line-height: 1.7;
}

ul {
  list-style-type: disc;
}

ul ul {
  margin-top: 8px;
  margin-bottom: 8px;
  list-style-type: circle;
}

ol {
  list-style-type: decimal;
}

/* Nested lists */
ul li ul {
  margin-left: 20px;
}

/* Strong/Bold text */
strong {
  font-weight: 600;
  color: #ffffff;
}

/* Emphasis/Italic */
em {
  font-style: italic;
  color: #b0b0b0;
}

/* Code and inline code */
code {
  background-color: #1a1a1a;
  color: #ff6b6b;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
}

/* Links */
a {
  color: #4099ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 500;
}

a strong {
  color: #4099ff;
}

/* Highlights */
.highlight {
  background-color: #1a1a1a;
  padding: 16px;
  border-radius: 6px;
  border-left: 4px solid #ff6b6b;
  margin-bottom: 20px;
}

.highlight strong {
  color: #ff6b6b;
}

/* Special emphasis for important terms */
.definition-term {
  color: #ffd700;
  font-weight: 600;
}

/* Blockquote */
blockquote {
  border-left: 4px solid #333333;
  padding-left: 20px;
  margin: 20px 0;
  color: #999999;
  font-style: italic;
}

/* Horizontal Rule */
hr {
  border: none;
  border-top: 1px solid #1a1a1a;
  margin: 30px 0;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #0a0a0a;
  border-radius: 8px;
  overflow: hidden;
}

table th,
table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #1a1a1a;
}

table th {
  background-color: #1a1a1a;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

table td {
  color: #d0d0d0;
  font-size: 14px;
}

table tr:last-child td {
  border-bottom: none;
}

table a {
  word-break: break-all;
  /* Inherits link styles from global a selector */
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .policy-container {
    padding: 30px 20px;
    border-radius: 8px;
  }

  .policy-title {
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  p,
  ul li,
  ol li {
    font-size: 14px;
  }

  table {
    font-size: 12px;
  }

  table th,
  table td {
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .policy-container {
    padding: 20px 15px;
  }

  .policy-title {
    font-size: 22px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }
}

/* Print Styles */
@media print {
  body {
    background-color: white;
    color: black;
  }

  .policy-container {
    box-shadow: none;
    background-color: white;
  }

  .policy-title,
  h2,
  h3,
  strong {
    color: black;
  }

  p,
  ul li,
  ol li {
    color: black;
  }
}
