@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Body styling */
body {
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center;      /* Center vertically */
    padding: 20px;
    background-color: #ffffff; /* Optional for visual separation */
    gap: 10px; /* Space between text and image */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.indexcontainer {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.indexcontent1 {
    flex: 1 1 60%;
    max-width: 1000px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
}

.ads-left,
.ads-right {
    flex: 0 0 160px;
    min-width: 120px;
    max-width: 180px;
}

.ads-left ins,
.ads-right ins {
    display: block;
    width: 100%;
}


/* Table styling */
.data-table-index {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.data-table-index thead {
    background-color: #e2e8f0;
}

.data-table-index th,
.data-table-index td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.data-table-index tbody tr:hover {
    background-color: #f1f5f9;
    cursor: pointer;
}

/* Bottom logo section */
.bottom-container {
    margin-top: 50px;
    padding: 20px;
    display: flex;
    justify-content: center;
    background-color: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.logo-section .logobottom image {
    display: block;
    width: 80px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.logo-section .logobottom image:hover {
    opacity: 1;
}

.table-container {
    margin: flex;
    padding: flex;
}

/* Filter row styles */
.filter-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    flex-wrap: wrap;
    max-width: 100%;
  }
  
  .filter-input,
  .filter-select {
    padding: 8px;
    font-size: 16px;
    min-width: 180px;
    flex: 1;
    max-width: 300px;
  }
  
  /* Mobile layout: stack filters vertically */
  @media (max-width: 850px) {
    .filter-row {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  
    .filter-input,
    .filter-select {
      width: 90%;
      max-width: none;
    }

    .data-table-index,
    .data-table-index thead,
    .data-table-index tbody,
    .data-table-index th,
    .data-table-index td,
    .data-table-index tr {
      display: block;
      width: 100%;
    }
  
    .ads-left {
        width: 0px;
        display: none;
    }

    .ads-right {
        width: 0px;
        display: none;
    }
    .data-table-index thead {
      display: none; /* Hide table headers */
    }
  
    .data-table-index tr {
      margin-bottom: 15px;
      border: 1px solid #ccc;
      border-radius: 8px;
      padding: 10px;
      background-color: #fff;
    }
  
    .data-table-index td {
      text-align: left;
      padding: 10px 10px;
      position: relative;
      padding-left: 10%;
      border: none;
      border-bottom: 1px solid #eee;
      font-size: 12px;
    }
  
    .data-table-index td::before {
      content: attr(data-label);
      position: absolute;
      left: 10px;
      top: 10px;
      font-weight: bold;
      white-space: nowrap;
      font-size: 12px;
    }
  
    .data-table-index td:last-child {
      border-bottom: none;
    }


  }
  