.progress-indicator > div:last-child {
    position: relative;
}

.progress-bar-container {
    position: absolute;
    top: 24px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-color: #e5e7eb;
    z-index: 0;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, #2563eb, #9333ea);
    transition: width 0.6s ease-in-out;
}

.step-number {
    position: relative;
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #e5e7eb !important;
}

.step-number.bg-gradient-to-br,
.progress-step.active .step-number,
.progress-step.completed .step-number {
    background: linear-gradient(to bottom right, #2563eb, #9333ea) !important;
    background-color: #2563eb !important;
}

.progress-step {
    transition: opacity 0.2s ease;
}

.progress-step:hover:not(.disabled) .step-number {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.progress-step.disabled {
    cursor: not-allowed;
}

.progress-step.disabled:hover .step-number {
    transform: none;
    box-shadow: none;
}

.progress-step.active .step-label {
    color: var(--gray-700);
    font-weight: 600;
}

.collapsible-content {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.collapsible-content.collapsed {
    max-height: 0;
    padding: 0 1rem;
}

.wizard-step {
    animation: fadeIn 0.3s;
}

#retailer-select {
    background-color: white !important;
}

#retailer-select option {
    background-color: white !important;
    color: #1f2937;
    padding: 8px;
}

.error-message,
.success-message {
    animation: slideIn 0.3s;
}

#step-details .overflow-x-auto {
    position: relative;
}

#steps-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f9fafb;
}

#steps-table thead th {
    background-color: #f9fafb;
}

.toggle-switch-bg {
    transition: background-color 0.3s;
}

.toggle-switch-bg.active {
    background-color: #2563eb;
}

.toggle-switch-dot {
    transition: transform 0.3s;
}

.toggle-switch-dot.active {
    transform: translateX(1.5rem);
}

@media (max-width: 768px) {
    .progress-step .step-label {
        font-size: 0.75rem;
    }
    
    table {
        font-size: 0.875rem;
    }
}
