:root {
    --primary-color: #4e73df;
    --secondary-color: #6c757d;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
  }
  
  body {
    background-color: #f8f9fc;
    font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  
  .sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 10%, #224abe 100%);
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    z-index: 1000;
    transition: all 0.3s;
  }
  
  .sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 0.35rem;
    margin: 0.2rem 0;
  }
  
  .sidebar .nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
  }
  
  .sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
  }
  
  .sidebar .nav-link i {
    margin-right: 0.5rem;
  }
  
  .sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin: 1rem 0;
  }
  
  .sidebar-heading {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    padding: 0.5rem 1rem;
  }
  
  .topbar {
    height: 4.375rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    background-color: #fff;
  }
  
  .card {
    border: none;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
  }
  
  .card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
  }
  
  .icon-circle {
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .bg-primary-light {
    background-color: rgba(78, 115, 223, 0.1);
  }
  
  .bg-success-light {
    background-color: rgba(28, 200, 138, 0.1);
  }
  
  .bg-info-light {
    background-color: rgba(54, 185, 204, 0.1);
  }
  
  .bg-warning-light {
    background-color: rgba(246, 194, 62, 0.1);
  }
  
  .text-primary {
    color: var(--primary-color) !important;
  }
  
  .text-success {
    color: var(--success-color) !important;
  }
  
  .text-info {
    color: var(--info-color) !important;
  }
  
  .text-warning {
    color: var(--warning-color) !important;
  }
  
  .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
  }
  
  .btn-info {
    background-color: var(--info-color);
    border-color: var(--info-color);
  }
  
  .btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
  }
  
  .calendar-day {
    height: 2rem;
    width: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 0.25rem;
  }
  
  .calendar-day:hover {
    background-color: #f2f2f2;
  }
  
  .calendar-day.today {
    background-color: var(--success-color);
    color: white;
  }
  
  .calendar-day.has-events {
    position: relative;
  }
  
  .calendar-day.has-events::after {
    content: "";
    position: absolute;
    bottom: 0.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background-color: var(--primary-color);
  }
  
  .calendar-day.today.has-events::after {
    background-color: white;
  }
  
  .quick-action {
    transition: transform 0.2s;
  }
  
  .quick-action:hover {
    transform: translateY(-5px);
  }
  
  .dropdown-menu {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    border: none;
  }
  
  .dropdown-item:active {
    background-color: var(--primary-color);
  }
  
  @media (max-width: 768px) {
    .sidebar {
      width: 6.5rem !important;
      overflow: hidden;
    }
  
    .sidebar .nav-item .nav-link {
      text-align: center;
      padding: 0.75rem 1rem;
      width: 6.5rem;
    }
  
    .sidebar .nav-item .nav-link span {
      display: none;
    }
  
    .sidebar .nav-item .nav-link i {
      margin-right: 0;
      font-size: 1.1rem;
    }
  
    .sidebar .sidebar-heading {
      text-align: center;
      padding: 0 1rem;
      font-size: 0.65rem;
    }
  
    .sidebar-brand-text {
      display: none;
    }
  }
  
  /* Animações */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .fade-in {
    animation: fadeIn 0.5s ease-in-out;
  }
  
  @keyframes slideInUp {
    from {
      transform: translateY(20px);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  
  .slide-in-up {
    animation: slideInUp 0.5s ease-in-out;
  }
  
  /* Estilos para os slots de horário */
.time-slot {
  display: inline-block;
  padding: 6px 10px;
  margin: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.time-slot:hover {
  background-color: #f8f9fa;
}

.time-slot.selected {
  background-color: #4e73df;
  color: white;
  border-color: #4e73df;
}

.time-slot.sequence-part {
  background-color: #6c8dff;
  color: white;
  border-color: #4e73df;
}

.time-slot.unavailable {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
  cursor: not-allowed;
  opacity: 0.7;
}

.time-slots-container {
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.duration-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #4e73df;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

