/* ==============================
   STAFF / BOOKING SERVICES PAGE
   ============================== */

/* General Page Spacing */
.staff-options {
  background-color: #f8f9fa;
}

/* Card Styling */
.staff-options .card {
  border-radius: 10px;
  overflow: hidden;
}

.staff-options .card-header {
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* Table Styling */
.table {
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.95rem;
}

.table thead th {
  background-color: #343a40;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.table tbody tr td {
  vertical-align: middle;
}

/* Subservice Indentation */
.subservice-row td:first-child {
  color: #adb5bd;
}

.subservice-row td:nth-child(2) {
  padding-left: 2rem !important;
  font-style: italic;
}

.subservice-row i {
  margin-right: 5px;
}

/* Buttons */
.btn-outline-primary,
.btn-outline-danger {
  border-width: 1.5px;
}

.btn-outline-primary:hover {
  background-color: #0d6efd;
  color: white;
}

.btn-outline-danger:hover {
  background-color: #dc3545;
  color: white;
}

/* Responsive Table */
@media (max-width: 768px) {
  .table-responsive {
    border: none;
  }

  .table thead {
    display: none;
  }

  .table tbody tr {
    display: block;
    margin-bottom: 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 0.75rem;
  }

  .table tbody tr td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
  }

  .table tbody tr td::before {
    content: attr(data-label);
    font-weight: 600;
    text-transform: capitalize;
    color: #495057;
  }

  .subservice-row td:nth-child(2) {
    padding-left: 1rem !important;
  }
}

/* Form Improvements */
form .form-select,
form .form-control {
  border-radius: 8px;
}

form button.btn-success {
  border-radius: 8px;
  font-weight: 600;
}

/* Hover effect for cards */
.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.2s ease-in-out;
}

.subservice-row td {
  background-color: #f8f9fa;
}

@media (max-width: 768px) {
  .table-responsive table thead {
    display: none;
  }
  .table-responsive table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.5rem;
  }
  .table-responsive table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
  }
  .table-responsive table td::before {
    content: attr(data-label);
    font-weight: bold;
  }
}
