.btn-responsive {
  /* Layout & Sizing */
  display: inline-block;
  padding: 0.8em 1.8em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  
  /* Responsive Typography */
  /* This scales the font between 16px and 20px based on screen width */
  font-size: 1em;
  font-weight: 600;
  font-family: sans-serif;

  /* Colors */
  background-color: #002661;
  color: white;

  /* Shadow for depth */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

  /* Ensure it doesn't get too wide on small screens */
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  width: 350px;
}

/* Hover & Active States */
.btn-responsive a:hover {

  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
   color: #eeb12b;
}

.btn-responsive a {
  transform: translateY(0);
  color: #fff;
}

/* Mobile Specific: Optional full-width on very small screens */
@media (max-width: 480px) {
  .btn-responsive {
    display: block;
    width: 100%;
  }
}


.tabs-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 20px auto;
  font-family: sans-serif;
}

/* Hide the actual radio inputs */
input[type="radio"] {
  display: none;
}

/* Style the Labels (The Tabs) */
label {
  padding: 15px 25px;
  background: #f1f1f1;
  cursor: pointer;
  font-weight: bold;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  flex-grow: 1; /* Makes tabs fill the width on mobile */
  text-align: center;
}

label:hover {
  background: #e2e2e2;
}

/* Style for Active Tab */
input[type="radio"]:checked + label {
  background: #fff;
  color: #007bff;
  border-bottom: 2px solid #007bff;
}

/* Hide all content panes by default */
.tab-content {
  display: none;
  width: 100%;
  padding: 20px;
  background: #fff;
  order: 1; /* Forces content to appear below the labels */
  border: 1px solid #eee;
  border-top: none;
}

/* Show content when radio is checked */
input[type="radio"]:checked + label + .tab-content {
  display: block;
}

/* Responsive adjustment for small screens */
@media (max-width: 480px) {
  label {
    padding: 10px;
    font-size: 0.9rem;
  }
}


.table-container {
  margin: 20px auto;
  max-width: 1200px;
  padding: 0 15px;
  
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.responsive-table thead tr {
  background-color: #007bff;
  color: white;
  text-align: left;
}

.responsive-table th, 
.responsive-table td {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  color: #000;
}

/* Status Badge Styles */
.badge {
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.85em;
}
.active { background: #e1f7ec; color: #0e7043; }
.pending { background: #fff4e5; color: #8c5a1a; }

/* --- RESPONSIVE MOBILE VIEW --- */
@media (max-width: 768px) {
  .responsive-table thead {
    display: none; /* Hide headers on mobile */
  }

  .responsive-table tr {
    display: block; /* Turn rows into cards */
    margin-bottom: 15px;
    border: 1px solid #ddd;
  }

  .responsive-table td {
    display: block; /* Stack cells vertically */
    text-align: right;
    font-size: 0.9em;
    position: relative;
    padding-left: 50%; /* Make room for the data-label */
  }

  /* Insert the header text using the data-label attribute */
  .responsive-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    width: 45%;
    text-align: left;
    font-weight: bold;
    color: #555;
  }
}