/* ===== Header Image ===== */
header {
  background-color: #333;
  text-align: center;
  margin-bottom: 20px;
}

header img {
  width: 1250px;
  max-height: 250px;
  object-fit: cover;
  max-width: 100%;
}

/* ===== Container ===== */
.container {
  padding: 40px;
  max-width: 1250px;
  margin: auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-top: -20px;
}

.container h1 {
  color: #222;
  margin-bottom: 20px;
  text-align: center;
  font-size: 28px;
}

/* ===== Table Styles ===== */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  table-layout: fixed;
  word-wrap: break-word;
}

thead tr {
  background-color: #004e9b;
  color: white;
}

thead th {
  padding: 12px;
  text-align: left;
}

tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

tbody td {
  padding: 12px;
  vertical-align: middle;
  word-break: break-word;
}

/* ===== Link and Button Styles ===== */
a {
  color: #0074d9;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.share-links a {
  margin-right: 8px;
  display: inline-block;
}

/* Mobile button style (used in table actions) */
.mobile-button {
  background-color: #0074d9;
  color: white !important;
  padding: 6px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  margin-right: 5px;
  display: inline-block;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.mobile-button:hover {
  background-color: #005fa3;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px; /* new position on the right */
  z-index: 1000;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {

  /* Container padding smaller on mobile */
  .container {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Header image responsive */
  header img {
    width: 100%;
    height: auto;
  }

  /* Table becomes responsive cards */
  table thead {
    display: none;
  }

  table, tbody, tr, td {
    display: block;
    width: 100%;
  }

  tr {
    margin-bottom: 15px;
    background: #f5f5f5;
    padding: 12px;
    border-radius: 8px;
  }

  td {
    padding: 8px 12px;
    text-align: right;
    position: relative;
    padding-left: 50%;
    border: none;
    word-break: break-word;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    padding-left: 15px;
    font-weight: bold;
    text-align: left;
  }

  /* Share links block on mobile */
  .share-links a {
    display: inline-block;
    margin-bottom: 5px;
  }
}
