:root {
  --primary: #6c63ff;
  --primary-dark: #5a52d5;
  --surface: #f8f9fa;
  --text-muted: #6c757d;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--surface);
}

/* Navbar */
.navbar-brand {
  font-weight: 700;
  color: var(--primary) !important;
  font-size: 1.4rem;
}

.navbar .nav-link.active {
  color: var(--primary) !important;
  font-weight: 600;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  border-radius: 12px;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
  transform: translateY(-1px);
  transition: all .2s ease;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Business card */
.business-card .business-cover {
  height: 120px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  width: 100%;
  background: linear-gradient(135deg, #6c63ff22, #6c63ff44);
}

.business-card .business-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-top: -28px;
}

/* Time slots */
.slot-btn {
  min-width: 80px;
  font-size: .85rem;
}

.slot-btn.selected {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Calendar */
.mini-cal .day-cell {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  font-size: .85rem;
}

.mini-cal .day-cell:hover,
.mini-cal .day-cell.selected {
  background-color: var(--primary);
  color: #fff;
}

.mini-cal .day-cell.today {
  font-weight: 700;
  border: 2px solid var(--primary);
}

.mini-cal .day-cell.disabled {
  color: #ccc;
  cursor: default;
}

/* Status badges */
.badge-pending   { background-color: #ffc107; color: #000; }
.badge-confirmed { background-color: #198754; }
.badge-cancelled { background-color: #dc3545; }
.badge-completed { background-color: #0d6efd; }

/* Bottom nav (mobile) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -1px 8px rgba(0,0,0,.08);
  display: flex;
  justify-content: space-around;
  padding: .5rem 0;
  z-index: 1000;
}

.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: .7rem;
  color: var(--text-muted);
  text-decoration: none;
  gap: 2px;
}

.bottom-nav a.active {
  color: var(--primary);
}

.bottom-nav a i {
  font-size: 1.3rem;
}

/* Page padding for bottom nav */
@media (max-width: 768px) {
  main { padding-bottom: 72px; }
}

/* Auth pages */
.auth-card {
  max-width: 420px;
  margin: 0 auto;
}

/* Notification dot */
.notif-dot {
  width: 8px;
  height: 8px;
  background: #dc3545;
  border-radius: 50%;
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
}

/* Backoffice sidebar */
.sidebar {
  min-height: calc(100vh - 56px);
  background: #fff;
  border-right: 1px solid #e9ecef;
}

.sidebar .nav-link {
  color: #495057;
  border-radius: 8px;
  padding: .6rem 1rem;
  margin-bottom: 2px;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
  background: #f0eeff;
  color: var(--primary);
}

.sidebar .nav-link i {
  width: 22px;
}
