:root {
    /* Cores primárias modernas */
    --primary-blue: #2563eb; /* Azul mais vibrante e atual */
    --primary-blue-hover: #4e73d8; /* Tom para hover */
    --secondary-gray: #64748b; /* Cinza mais suave e moderno */
    
    /* Cores de suporte */
    --dark-blue: #1e40af; /* Para textos ou elementos escuros */
    --light-blue: #93c5fd; /* Para highlights ou fundos claros */
    
    /* Gradientes modernos */
    --gradient-blue: linear-gradient(135deg, #6a9ff5 0%, #4c7de7 100%);
    --gradient-blue-hover: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-gray: linear-gradient(135deg, #64748b 0%, #475569 100%);
    
    /* Sombras mais sutis e modernas */
    --shadow-primary: 0 4px 6px -1px rgba(59, 130, 246, 0.1), 0 2px 4px -1px rgba(59, 130, 246, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(59, 130, 246, 0.1), 0 4px 6px -2px rgba(59, 130, 246, 0.05);
    
    /* Transições */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Bordas */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
  }
  
  /* Estilos base para botões */
  .btn {
    font-weight: bold;
    border-radius: var(--radius-lg);
    padding: 12px 24px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: var(--transition-base);
  }
  
  /* Estados comuns para botões */
  .btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    position: relative;
  }
  .btn:disabled::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
  }
  
  /* Botão Primário */
  .btn-primary {
    background: var(--gradient-blue);
    box-shadow: var(--shadow-primary);
    color: white;
  }
  .btn-primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 151, 247, 0.4);
  }
  .btn-primary:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(85, 151, 247, 0.3);
  }
  .btn-primary:disabled {
    /* Utilizando a cor light-blue para indicar estado desabilitado */
    background: var(--light-blue);
  }
  
  /* Botão Secundário */
  .btn-secondary {
    background: var(--gradient-gray);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.2);
    color: white;
  }
  .btn-secondary:not(:disabled):hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #5a6268 0%, #4a5056 100%);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
  }
  .btn-secondary:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(108, 117, 125, 0.2);
  }
  .btn-secondary:disabled {
    background: linear-gradient(135deg, #9fa6ad 0%, #868e96 100%);
  }
  
  /* Efeito de brilho para botões não desabilitados */
  .btn:not(:disabled):hover::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
    animation: shine 1.5s;
  }
  
  @keyframes shine {
    100% { left: 100%; }
  }
  
  .gradient-header {
  background: linear-gradient(135deg, #E0F7FA 0%, #B2EBF2 50%, #4DD0E1 100%);
  }
  
  .procedure-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .procedure-card:hover {
    transform: translateY(-3px);
  }
  .procedure-card.selected {
    border: 2px solid var(--primary-blue);
    background-color: #f0f8ff;
  }
  .check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--primary-blue);
  }
  .selected .check-icon {
    opacity: 1;
  }
  
  /* Layout Principal */
  body {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    background-attachment: fixed;
  }
  
  /* Passos */
  .step-indicators .step {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-bottom: 3px solid #dee2e6;
    color: var(--secondary-gray);
    transition: var(--transition-base);
  }
  .step-indicators .step.active {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 500;
  }
  .step-content {
    display: none;
    animation: fadeIn 0.3s;
  }
  .step-content.active {
    display: block;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* Botões de Horário (Time Slot) */
  .btn-time-slot {
    min-width: 80px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    margin: 2px;
    border: none;
    /* background-color: var(--light-blue); */
    color: white;
  }
  .btn-time-slot:hover {
    background-color: var(--primary-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  }
  .btn-time-slot:active {
    background-color: var(--dark-blue);
    transform: translateY(0);
  }
  .btn-time-slot:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
  }
  /* Estados para botões ativos e modificados */
  .btn-time-slot.active,
  .btn-time-slot.btn-primary {
    background: var(--gradient-blue);
    color: white;
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.3);
  }
  /* Botões desabilitados */
  .btn-time-slot.disabled {
    background-color: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
  }
  /* Efeito de onda ao clicar */
  .btn-time-slot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  }
  .btn-time-slot:active::after {
    width: 200px;
    height: 200px;
    opacity: 1;
  }
  
  /* Container e agrupamentos de horários */
  .time-slot-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 12px;
  }
  .time-slot-group {
    margin-bottom: 20px;
  }
  .time-slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .time-slot-date {
    font-weight: 600;
    color: #333;
  }
  .btn-toggle-horarios {
    font-size: 0.875rem;
    color: var(--primary-blue);
    transition: var(--transition-base);
  }
  .btn-toggle-horarios:hover {
    text-decoration: none;
    opacity: 0.8;
  }
  .btn-toggle-horarios i {
    transition: transform 0.2s ease;
  }
  .btn-toggle-horarios.expanded i {
    transform: rotate(180deg);
  }
  .extra-slot {
    display: none;
  }
  .horarios-container {
    margin-top: 1rem;
  }
  
  /* Utilitários */
  .d-flex.flex-wrap.gap-2 {
    gap: 0.75rem !important;
  }
  .hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15)!important;
  }
  .transition-all {
    transition: var(--transition-base);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .time-slot-btn:hover {
    background-color: var(--primary-blue);
    color: white !important;
  }
  
  /* Responsividade */
  @media (max-width: 576px) {
    .time-slot-container {
      grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    .btn-time-slot {
      min-width: 70px;
      padding: 6px 8px;
      font-size: 0.875rem;
    }
  }
  