/* shadcn UI-like styling for StepLander */

/* Button styles */
.shadcn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  height: 2.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.shadcn-btn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.shadcn-btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

.shadcn-btn-primary {
  background-color: #000000;
  color: #ffffff;
}

.shadcn-btn-primary:hover {
  background-color: #171717;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.shadcn-btn-secondary {
  background-color: #f3f4f6;
  color: #1f2937;
}

.shadcn-btn-secondary:hover {
  background-color: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.shadcn-btn-destructive {
  background-color: #ef4444;
  color: #ffffff;
}

.shadcn-btn-destructive:hover {
  background-color: #dc2626;
}

.shadcn-btn-outline {
  border: 1px solid #e5e7eb;
  background-color: transparent;
  color: #1f2937;
}

.shadcn-btn-outline:hover {
  background-color: #f9fafb;
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.shadcn-btn-ghost {
  background-color: transparent;
  color: #1f2937;
}

.shadcn-btn-ghost:hover {
  background-color: #f9fafb;
}

.shadcn-btn-link {
  background-color: transparent;
  color: #000000;
  text-decoration-line: underline;
  height: auto;
  padding: 0;
}

/* Input styles */
.shadcn-input {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background-color: transparent;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  font-size: 0.875rem;
}

.shadcn-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 1px #000000;
}

.shadcn-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.shadcn-input::placeholder {
  color: #9ca3af;
}

/* Select styles */
.shadcn-select {
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  background-color: transparent;
  padding-left: 0.75rem;
  padding-right: 2rem;
  font-size: 0.875rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.shadcn-select:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 1px #000000;
}

.shadcn-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Alert styles */
.shadcn-alert {
  position: relative;
  width: 100%;
  border-radius: 0.375rem;
  padding: 1rem;
}

.shadcn-alert-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.shadcn-alert-description {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.shadcn-alert-success {
  background-color: #f0fdf4;
  border: 1px solid #dcfce7;
}

.shadcn-alert-success .shadcn-alert-title {
  color: #15803d;
}

.shadcn-alert-success .shadcn-alert-description {
  color: #166534;
}

.shadcn-alert-error {
  background-color: #fef2f2;
  border: 1px solid #fee2e2;
}

.shadcn-alert-error .shadcn-alert-title {
  color: #b91c1c;
}

.shadcn-alert-error .shadcn-alert-description {
  color: #991b1b;
}

.shadcn-alert-warning {
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
}

.shadcn-alert-warning .shadcn-alert-title {
  color: #b45309;
}

.shadcn-alert-warning .shadcn-alert-description {
  color: #92400e;
}

.shadcn-alert-info {
  background-color: #f0f9ff;
  border: 1px solid #e0f2fe;
}

.shadcn-alert-info .shadcn-alert-title {
  color: #0369a1;
}

.shadcn-alert-info .shadcn-alert-description {
  color: #075985;
}

/* Card styles */
.shadcn-card {
  border-radius: 0.5rem;
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.shadcn-card-header {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.shadcn-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}

.shadcn-card-description {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.shadcn-card-content {
  padding: 1.5rem;
}

.shadcn-card-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
  gap: 0.5rem;
}

/* Badge styles */
.shadcn-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.shadcn-badge-primary {
  background-color: #000000;
  color: #ffffff;
}

.shadcn-badge-secondary {
  background-color: #f3f4f6;
  color: #1f2937;
}

.shadcn-badge-destructive {
  background-color: #fef2f2;
  color: #b91c1c;
}

.shadcn-badge-outline {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: #1f2937;
}

/* Avatar styles */
.shadcn-avatar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9999px;
  background-color: #f3f4f6;
}

.shadcn-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shadcn-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #1f2937;
}

/* Tooltip styles */
.shadcn-tooltip {
  position: relative;
  display: inline-block;
}

.shadcn-tooltip-content {
  position: absolute;
  z-index: 50;
  padding: 0.5rem;
  font-size: 0.875rem;
  background-color: #000000;
  color: #ffffff;
  border-radius: 0.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 20rem;
  animation: shadcn-tooltip-slide 0.1s ease-in-out;
}

@keyframes shadcn-tooltip-slide {
  from {
    opacity: 0;
    transform: translateY(0.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}