.medical-wizard-wrapper {
  max-width: 1200px;
  margin: 30px auto;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
}

/* Breadcrumb Navigation Bar */
.medical-breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8fafc;
  padding: 14px 20px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.medical-back-btn {
  background: #0f172a;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}
.medical-back-btn:hover { background: #1e293b; }

.medical-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}

.crumb-item {
  color: #64748b;
  cursor: pointer;
}
.crumb-item.active {
  color: #0284c7;
}

.crumb-separator {
  color: #94a3b8;
  font-size: 12px;
}

/* Step Headers */
.wizard-step-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0f172a;
}

/* Responsive Grid Layout */
.medical-wizard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.grid-models {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Card Elements */
.wizard-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wizard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

.wizard-card-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.wizard-card-img.img-small img {
  height: 160px;
}

.wizard-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wizard-card-body h3, .wizard-card-body h4 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #0f172a;
}

.wizard-card-body p {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 16px;
  flex: 1;
}

/* Next / Action Buttons */
.wizard-next-btn, .wizard-btn {
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.wizard-next-btn {
  background: #0284c7;
  color: #ffffff;
  width: 100%;
}
.wizard-next-btn:hover { background: #0369a1; }

.dept-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-dept-page {
  background: #1e293b;
  color: #ffffff;
  width: 100%;
}
.btn-dept-page:hover { background: #334155; }

.btn-model-target {
  background: #059669;
  color: #ffffff;
  width: 100%;
}
.btn-model-target:hover { background: #047857; }

.no-data {
  color: #64748b;
  font-style: italic;
}