html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/* Custom styles for the staff scheduler application */
.badge {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35em 0.65em;
}

.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  margin-bottom: 1.5rem;
}

.card-header {
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  padding: 0.75rem 1.25rem;
}

.footer {
  background-color: #f8f9fa;
  padding: 1rem 0;
}

/* Time slot grid styling */
.time-slot {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.time-slot:hover {
  background-color: #f8f9fa;
}

.time-slot.selected {
  background-color: #cfe2ff;
  border-color: #9ec5fe;
}

.time-slot.unavailable {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Appointment list styling */
.appointment-item {
  border-left: 3px solid #6ea8fe;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.appointment-item.cancelled {
  border-left-color: #dc3545;
}

.appointment-item.completed {
  border-left-color: #198754;
}

/* Dashboard stats styling */
.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: 500;
  color: #212529;
}

.stat-card .stat-label {
  font-size: 1rem;
  color: #6c757d;
  margin-bottom: 0;
}

/* Form styling enhancements */
.form-label {
  font-weight: 500;
}

.form-control:focus {
  border-color: #86b7fe;
}

/* Staff cards styling */
.staff-card .card-body {
  padding: 1.25rem;
}

.staff-card img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

/* Customer search results styling */
.customer-search-result {
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
  cursor: pointer;
}

.customer-search-result:hover {
  background-color: #f8f9fa;
}

.customer-search-result:last-child {
  border-bottom: none;
}

/* Loading spinner styles */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}

.spinner-overlay.show {
    visibility: visible;
    opacity: 1;
}

.spinner-container {
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    color: #0d6efd;
}

.spinner-text {
    margin-top: 1rem;
    font-weight: 500;
    color: #212529;
}