@import url("/assets/css/app.css");

body {
  position: relative;
  padding-top: 5%;
  padding-bottom: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  line-height: 1.6;
}

.logo {
  width: 100px;
  height: 50px;
  position: fixed;
  left: 25px;
  top: 10px;
}

.cp {
  width: 60%;
  color: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

h1 {
  color: var(--color-black);
  border-bottom: 2px solid var(--light-dark-color);
  padding-bottom: 10px;
  align-self: center;
}

h2 {
  color: var(--color-black);
  margin-top: 25px;
}

h3 {
  color: var(--color-black);
}

.last-updated {
  color: var(--color-black-opacity);
  font-style: italic;
  margin-bottom: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: var(--border-radius);
}

ul {
  padding-left: 20px;
}

th,
td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}
/* 
      .contact-info {
        background-color: var(--main-color);
        padding: 20px;
        border-radius: 5px;
        margin-top: 30px;
      } */

a {
  color: var(--main-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.category-table {
  margin: 25px 0;
}

.browser-links {
  margin: 15px 0;
}

.footer {
  width: 100%;
  height: 35px;
  border: none;
  margin-top: 50px;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .cp {
    width: 75%;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .logo {
    width: 80px;
    height: 40px;
    left: 15px;
    top: 15px;
  }

  .cp {
    width: 85%;
  }

  .browser-links {
    flex-direction: column;
    gap: 5px;
  }

  .browser-links a {
    padding: 8px;
    background: var(--light-dark-color0);
    border-radius: var(--border-radius);
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  body {
    padding-top: 60px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .logo {
    width: 60px;
    height: 30px;
    left: 10px;
    top: 10px;
  }

  .cp {
    width: 100%;
  }

  h1 {
    font-size: 1.6rem;
    padding-bottom: 8px;
  }

  h2 {
    font-size: 1.3rem;
    margin-top: 20px;
  }

  h3 {
    font-size: 1.1rem;
  }

  th,
  td {
    padding: 8px;
  }

  ul {
    padding-left: 15px;
  }

  li {
    font-size: 0.9rem;
  }

  .category-table {
    margin: 15px 0;
  }
}

/* Improve table scrolling on mobile */
@media screen and (max-width: 600px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  table::-webkit-scrollbar {
    height: 4px;
  }

  table::-webkit-scrollbar-thumb {
    background: var(--light-dark-color);
    border-radius: var(--border-radius);
  }
}