*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

img {
  display: block;
  width: 100%;
  max-width: 1500px;
}

body {
  background: #e9c46a;
  color: #FFD700;
  width: 95%;
  max-width: 1500px;
  margin: 0 auto;
}

section {
  margin: 5rem 2rem;
}

/* Navigation Styles */

header {
  background: #264653;
  text-align: center;
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 95%;
  max-width: 1500px;
}

.logo {
  font-size: 1.25rem;
  margin: 1rem;
  text-transform: uppercase;
}

nav {
  position: absolute;
  top: 100%;
  left: 0;
  text-align: left;
  background: #264653;
  width: 100%;
  height: 100vh;
  padding-top: 2rem;
  display: none;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  position: absolute;
  top: 0;
  left: 0;
  margin-left: 1em;
  height: 100%;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: white;
  height: 2px;
  width: 2em;
  border-radius: 2px;
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}

.nav-toggle-label span::before {
  bottom: 7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  margin-bottom: 1.5em;
  margin-left: 1em;
}

nav a {
  color: #FFD700;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  color: #ffa98e;
}

.nav-toggle:checked ~ nav {
  display: block;
}



/* Section Staff Two */

.section-staff-two {
  margin: 7rem 2rem 0;
}

.header {
  font-family: "Baskervville SC", serif;
  font-weight: 600;
  font-style: normal;
  color: #38160d;
  font-size: 2.5rem;
  text-align: center;
}

.header1 {
  font-family: "Baskervville SC", serif;
  font-weight: 500;
  font-style: normal;
  color: #38160d;
  font-size: 1.7rem;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 0;
}

.header2 {
  font-family: "Baskervville SC";
  font-weight: 500;
  font-style: normal;
  color: #38160d;
  font-size: 1.7rem;
  text-align: center;
  margin-top: 1rem;
}

.section-staff-two-paragraph {
  color: #2b054f;
  font-size: 1.1rem;
  font-family: "Merienda", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  width: 90%;
  max-width: 700px;
  line-height: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.doctors-directory-btn {
  background: #264653;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 2rem;
  text-decoration: none;
  color: white;
  display: flex;
  justify-content: center;
  width: 35%;
  margin: 0rem 30rem;
  text-align: center;
}

.doctors-directory-btn:hover {
  background: white;
  color: #264653;
  transition: 0.5s;
  
}


@media (min-width: 900px) {
    .nav-toggle-label {
      display: none;
    }
    
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 1rem;
      background: #264653;
    }

    .header2{
      margin-top: 3rem;
    }
    
    nav {
      all: unset;
      display: flex;
      justify-content: space-around;
      align-items: center;
      margin-right: 1em;
    }
    
    nav ul {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
     nav li { 
      margin-bottom: 0;
      padding: 0;
    }

    .section-staff-two-paragraph {
        margin: auto;
      }
    
    
  
  }



  @media (max-width: 900px) {

    .section-staff-two-paragraph {
        margin: auto;
    }

    .doctors-directory-btn {
        margin: 3rem;
        width: 75%;
    }
  }


  













  

  .section-staff-two-table {
    border: 1px solid #264653;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 80%;
    table-layout: fixed;
  }
  
  .section-staff-two-table caption {
    color: #2b054f;
    font-family: "Merienda", cursive;
    margin: .5em 0 .75em;
    font-size: 1.3rem;
  }
  
  .section-staff-two-table tr {
    background-color:cornsilk;
    border: solid 1px tan;
    padding: 1em;
  }
  
  .section-staff-two-table th,
  .section-staff-two-table td {
    color: #2b054f;
    font-family: "Merienda";
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .625em;
    text-align: center;
  }
  
  .section-staff-two-table th {
    color: #2b054f;
    font-family: "Merienda";
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  
  @media screen and (max-width: 600px) {
    .section-staff-two-table {
      border: 0;
    }
  
    .section-staff-two-table caption {
      font-size: 1.3em;
    }
    
    .section-staff-two-table thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    .section-staff-two-table tr {
      border-bottom: 3px solid #ddd;
      display: block;
      margin-bottom: .625em;
    }
    
    .section-staff-two-table td {
      border-bottom: 1px solid #ddd;
      display: block;
      font-size: .8em;
      text-align: right;
    }
    
    .section-staff-two-table td::before {
      /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    .section-staff-two-table td:last-child {
      border-bottom: 0;
    }
  }


  
  /* Table Badge styling (basic examples) */
  .badge {
    display: inline-block;
    padding: .35em .65em;
    font-size: .75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
  }
  .bg-secondary { background-color: #264653;}
  .bg-info { background-color: #17a2b8;}
  .text-dark { color: #212529 !important;}
  .bg-success { background-color: #28a745;}
  .bg-warning { background-color: #ffc107;}
  .bg-danger { background-color: #dc3545;}
  .bg-light { background-color: #f8f9fa;}
  .text-dark { color: #343a40 !important; }
  .btn { display: inline-block; font-weight: 400; color: #212529; text-align: center; vertical-align: middle; user-select: none; background-color: transparent; border: 1px solid transparent; padding: 0.375rem 0.75rem; font-size: 1rem; line-height: 1.5; border-radius: 0.25rem; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
  .btn-sm { padding: 0.25rem 0.5rem; font-size: .875rem; line-height: 1.5; border-radius: 0.2rem; }
  .btn-success { color: #fff; background-color: #28a745; border-color: #28a745; }
  .btn-primary { color: #fff; background-color: #007bff; border-color: #007bff; }
  .btn-warning { color: #212529; background-color: #ffc107; border-color: #ffc107; }
  .btn-danger { color: #fff; background-color: #dc3545; border-color: #dc3545; }
  .btn:disabled { opacity: .65; }
  .text-center { text-align: center !important; }
  .btn-update-status { margin-right: 5px; margin-bottom: 5px;}

  /* Target forms inside the management table cells */
.section-staff-two-table td form {
  display: inline-block; /* Ensure forms behave like inline blocks */
  vertical-align: middle; /* Align buttons vertically if heights differ slightly */
}

/* Add space AFTER each form within the same table cell */
.section-staff-two-table td form + form {
  margin-left: 10px; /* Adjust pixel value as needed for desired spacing */
}