body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
}

.card {
  border-radius: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-header {
  border-radius: 0;
  font-weight: 500;
}

.btn-dark {
  background-color: #343a40;
  border-color: #343a40;
}

.btn-dark:hover {
  background-color: #23272b;
  border-color: #1d2124;
}

.form-control,
.form-select {
  border-radius: 0;
  border: 1px solid #ced4da;
  padding: 10px 12px;
}

.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 2px rgba(52, 58, 64, 0.2);
  border-color: #343a40;
}

.progress {
  background-color: #e9ecef;
  border-radius: 0;
}

.progress-bar {
  border-radius: 0;
}

.bg-gray-700 {
  background-color: #495057 !important;
}

.bg-gray-600 {
  background-color: #6c757d !important;
}

.status-timeline {
  position: relative;
  padding: 20px 0;
}

.timeline-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: #dee2e6;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 2px solid #dee2e6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.timeline-step.completed .timeline-dot {
  border-color: #343a40;
  background: #343a40;
  color: white;
  font-size: 12px;
}

.timeline-step.active .timeline-dot {
  border-color: #495057;
  background: #495057;
  color: white;
}

.timeline-label {
  font-size: 0.8rem;
  color: #6c757d;
  text-align: center;
}

@media (max-width: 768px) {
  .timeline-progress {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-progress::before {
    width: 2px;
    height: 100%;
    top: 0;
    left: 11px;
  }

  .timeline-step {
    flex-direction: row;
    margin-bottom: 20px;
  }

  .timeline-dot {
    margin-right: 15px;
    margin-bottom: 0;
  }
}

.alert {
  border-radius: 0;
  border: none;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

.protocolo-modal {
  border: 0;
  background: #0f172a;
  color: #e2e8f0;
}

.protocolo-modal .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, #111827, #0b1220);
}

.protocolo-modal .modal-title {
  font-weight: 700;
  letter-spacing: 0.3px;
}

.protocolo-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.protocolo-modal .btn-close:disabled {
  opacity: 0.3;
}

.protocolo-modal .modal-body {
  background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.1), transparent 55%);
}

.protocolo-lead {
  color: #cbd5f5;
}

.protocolo-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.6);
  padding: 14px 16px;
}

.protocolo-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
}

.protocolo-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #38bdf8;
  margin-top: 4px;
}

.protocolo-modal .modal-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.protocolo-modal .btn-secondary {
  background: #1f2937;
  border-color: #1f2937;
}
