/* Cookies Policy Page Styles */
.cookies-policy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #1a1a2e;
  color: #ffffff;
}

/* Header */
.policy-header {
  padding: 40px 100px;
  background: linear-gradient(
    180deg,
    rgba(0, 71, 187, 0.4) 0%,
    rgba(65, 182, 230, 0) 100%
  );
  text-align: center;
}

.policy-logo {
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.policy-logo svg {
  width: 174px;
  height: auto;
  transition: opacity 0.3s ease;
}

.policy-logo a:hover svg {
  opacity: 0.8;
}

/* Main Content */
.policy-content {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  width: 100%;
}

.policy-title {
  font-family: "Jura", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #3984ff 0%, #41b6e6 49.479%, #ffed00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.policy-body {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
}

.policy-body h2 {
  font-family: "Jura", sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #41b6e6;
  margin-top: 40px;
  margin-bottom: 20px;
}

.policy-body h3 {
  font-family: "Jura", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #41b6e6;
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-body p {
  margin-bottom: 20px;
}

.policy-body ul,
.policy-body ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.policy-body li {
  margin-bottom: 10px;
}

.policy-body a {
  color: #41b6e6;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.policy-body a:hover {
  color: #ffed00;
}

/* Tables */
.policy-body table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  background-color: rgba(26, 26, 46, 0.5);
  border: 1px solid #41b6e6;
}

.policy-body table thead {
  background-color: rgba(57, 132, 255, 0.2);
}

.policy-body table th {
  padding: 12px 15px;
  text-align: left;
  font-weight: 700;
  color: #41b6e6;
  border-bottom: 2px solid #41b6e6;
}

.policy-body table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(65, 182, 230, 0.3);
  color: #ffffff;
}

.policy-body table tbody tr:last-child td {
  border-bottom: none;
}

.policy-body table tbody tr:hover {
  background-color: rgba(57, 132, 255, 0.1);
}

.policy-body table code {
  background-color: rgba(57, 132, 255, 0.2);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  color: #ffed00;
}

/* Responsive Design */
@media (max-width: 768px) {
  .policy-header {
    padding: 30px 20px;
  }

  .policy-logo svg {
    width: 130px;
  }

  .policy-content {
    padding: 40px 20px;
  }

  .policy-title {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .policy-body {
    font-size: 14px;
  }

  .policy-body h2 {
    font-size: 24px;
    margin-top: 30px;
  }

  .policy-body h3 {
    font-size: 20px;
    margin-top: 20px;
  }

  /* Make tables responsive on tablets */
  .policy-body table {
    font-size: 13px;
  }

  .policy-body table th,
  .policy-body table td {
    padding: 10px 12px;
  }
}

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

  .policy-logo svg {
    width: 100px;
  }

  .policy-content {
    padding: 30px 15px;
  }

  .policy-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .policy-body h2 {
    font-size: 20px;
  }

  .policy-body h3 {
    font-size: 18px;
  }

  /* Make tables scroll horizontally on mobile */
  .policy-body table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .policy-body table thead,
  .policy-body table tbody,
  .policy-body table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
  }

  .policy-body table th,
  .policy-body table td {
    padding: 8px 10px;
  }
}
