
body {
      margin: 0;
      font-family: 'Segoe UI', sans-serif;
    }

    .wrapper {
      display: grid;
      grid-template-columns: 300px 1fr;
      height: 100vh;
    }
    .wrapper.sidebar-open {
      grid-template-columns: 250px 1fr;
    }
   .btn-success{
    padding-bottom: 5px ;
   }
    .sidebar {
    background-color: #51686c;
    color: white;
    padding: 1rem 0; /* Remove left/right padding for full width */
    display: flex;
    flex-direction: column;
    align-items: stretch; /* Stretch children to full width */
    width: 100%;
    min-width: 220px; /* Optional: set a min width for sidebar */
    box-sizing: border-box;
} 
   .profile-logo {
    width: 99px;
    height: 99px;
    border-radius: 5%;
    object-fit: cover;
    display: block;
    margin: 20px auto 0.5rem auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

    .profile-info {
      text-align: center;
      margin-bottom: 1.5rem;
    }

    .sidebar h6 {

      margin: 0;
      font-size: 14px;
      text-align: center;
    }

    .sidebar p {

      font-style: italic;
      font-size: 12px;
      margin-bottom: 1.5rem;
      text-align: center;
    }

.sidebar ul {

    width: 100%; /* Ensure ul fills sidebar */
    padding: 0;
    margin: 0;
    margin-top: 20px;
}


.sidebar ul li {
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 100%; /* Ensure li fills ul */
    box-sizing: border-box;
}

.sidebar ul li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    color: #ccc;
    background: #2a2a40;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar ul li.active a,
.sidebar ul li a:hover {
    background: #4f46e5;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
}

    .version {
      margin-top: auto;
      background: #fff;
      color: #000;
      padding: 0.5rem 1rem;
      font-weight: bold;
    }

    .content {
      padding: 1.5rem 1rem;
      margin: 5px auto;
      width: 100%;
      box-sizing: border-box;
     font-size: 1rem;
      max-width: 750px;
      background-color: #f8f9fa;
    }

    .header {
      background-color: #005d5d;
      color: white;
      padding: 0.75rem 1rem;
      font-weight: bold;
      font-size: 1.25rem;
      transition: margin-left 0.3s, width 0.3s;
    
    }

    .header-title {
      margin: 0;
      text-align: center;
      flex-grow: 1;
      color: white;
    }
  
/* Hamburger menu icon: hidden by default, visible only on mobile */

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  z-index: 1100;
}

@media (max-width: 768px) {

  .popup-sms {
    padding: 8px 12px;
    font-size: 0.95rem;
    border-radius: 6px;
    max-width: 95vw;
  }
  .header {
    position: relative;
  }
  .hamburger {
    display: block;
  }
  .profile-logo {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 20px auto 1.5rem auto;
    box-shadow: none;
    
}
} 

.popup-sms {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: #e63104;
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(79,70,229,0.15);
  font-size: 1.1rem;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.7s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px) translateX(-50%);}
  to { opacity: 1; transform: translateY(0) translateX(-50%);}
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 18px 20px;
    box-sizing: border-box;
    height: 100%;
    overflow: hidden;
}

form h5, form h3 {
    margin-top: 32px;
    margin-bottom: 18px;
    font-weight: 600;
    color: #005d5d;
    letter-spacing: 1px;
}

.form-label {
    font-weight: 500;
    color: #51686c;
    margin-bottom: 6px;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid #bfcad6;
    padding: 6px 10px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: #135895;
    box-shadow: 0 0 0 2px rgba(79,70,229,0.1);
}

input[type="file"].form-control {
    padding: 6px 0;
}

.btn-primary {
    background: #4f46e5;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 18px;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #005d5d;
}

.row.mb-3 {
    margin-bottom: 22px;
}

textarea.form-control {
    resize: vertical;
}

@media (max-width: 768px) {
   .container {
    padding: 8px 10px;
    height: auto;
    font-size: 0.95rem;
    margin: 8px auto;
    width: 100%;
    max-width: 480px; /* suitable for most phones */
    box-sizing: border-box;
}

    .row > [class^="col-"] {
        margin-bottom: 14px;
    }
}
    /* Mobile styles */@media (max-width: 768px) {

  .wrapper {
     
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    
  }

  .header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding:50px 10px;
  }

  .header-title {
    flex: 1;
    text-align: left;
    font-size: 20px;
    margin: 0;
    color: white;
  }
    }
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    width: 260px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: left 0.3s;
  }
  .sidebar.sidebar-open {
    left: 0;
  }
  .content {
    margin-left: 0 !important;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    transition: margin-left 0.3s, width 0.3s;
    max-width: 380px;
    height: 100%;

  }

  .sidebar h6 {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .hamburger {
    display: block;
  }
  .sidebar.open {
    left: 0; /* Show sidebar when open */
  }

  .sidebar h6 {
    font-size: 12px;
  }


  .sidebar ul {
    margin-top: 10px;
    width: 100%;
  }

  .sidebar ul li {
    width: 100%;
    padding: 0 10px;
    box-shadow: none;
  }

  .sidebar ul li a {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    background: #2a2a40;
    color: #ccc;
    border-radius: 8px;
    margin-bottom: 0px;
    text-align: left;
    box-sizing: border-box;
    position: static;
  }

  .sidebar ul li.active a,
  .sidebar ul li a:hover {
    background: #4f46e5;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
  }

  .sidebar .profile-info {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .version {
    display: none;
  }

  .header {
    font-size: 1rem;
    padding: 0.5rem 6px;
  }
}

.profile-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 24px;
  margin: 40px auto;
  max-width: 700px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.profile-pic img {
  width: 110px;
  height: 150px;
  border-radius: 10%;
  object-fit: cover;
  border: 3px solid #085e76;
  background: #eee;
}

.profile-name h2 {
  margin: 0;
  font-size: 2rem;
  color: #005d5d;
}

.profile-name .username {
  color: #51686c;
  font-size: 1rem;
}

.edit-btn {
  margin-left: auto;
  padding: 8px 18px;
  font-size: 1rem;
  border-radius: 8px;
  background: #055b6a;
  color: #fff;
  border: none;
  transition: background 0.2s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.edit-btn:hover {
  background: #021e1e;
}

.profile-section {
  margin-bottom: 28px;
}

.profile-section h4 {
  background-color: white;
  padding: 12px 16px;
  color: #07536b;
  font-size: 1.2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sign_up_info{
  background-color: #7bcaca46;
  border-radius: 10px;
  border-left: #005d5d 2px solid;
  padding: 10px;
}
.sign_up_info h4 {
  color: #014f4f;
}
.personal_info h4 {
  color: #d97d04;
}
.occupation_skills h4 {
  color: #4c4b4a;
}
.personal_info{
  background-color: #fdab4e34;
  border-radius: 10px;
  border-left: #ef8a05 2px solid;
  padding: 10px;
}
.occupation_skills{
  background-color: #bec0bf77;
  border-radius: 10px;
  border-left: #5c5b5a 2px solid;
  padding: 10px;
}

@media (max-width: 768px) {
  .profile-card {
    padding: 16px 6px;
  }
  .profile-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    color:white;
  }
  .edit-btn {
    margin: 0 auto;
  }
}
.member-table th, .member-table td {
  vertical-align: middle;
  font-size: 15px;
  white-space:nowrap;
  
}
.member-table th {
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  padding: 12px 16px;
}
.member-table td select.form-select {
  min-width: 120px;
}
.table-profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4f46e5;
  background: #eee;
}

.status-Approved {

  background: #0dc42e;
  color: #fff;
}
.status-Pending {

  background: #ffc107;
  color: #333;
}
.status-Canceled {

  background: #dc3545;
  color: #fff;
}

.badge {

  padding: 6px 14px;
  border-radius: 12px;
  font-size: 0.95em;
  font-weight: 500;
  color: #ffff;
}

.filter-form .form-select,
.filter-form .form-control {
  border-radius: 8px;
}

.filter-form .btn {
  border-radius: 8px;
}

@media (max-width: 768px) {
  .table-responsive {
    font-size: 13px;
  }
  .table-profile-pic {
    width: 32px;
    height: 32px;
  }
}