/* Interactive Steps Widget Styles */
.mrs-interactive-steps-widget {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header */
.mrs-steps-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.mrs-steps-main-title {
    font-size: 28px;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

.mrs-steps-counter {
    font-size: 16px;
    color: #64748b;
    font-weight: 500;
}

.mrs-steps-current {
    font-weight: 700;
    color: #dc2626;
}

/* Progress Bar */
.mrs-steps-progress-container {
    margin-bottom: 30px;
}

.mrs-steps-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.mrs-steps-progress-fill {
    height: 100%;
    background-color: #dc2626;
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* Navigation */
.mrs-steps-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0 10px;
}

.mrs-steps-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 8px;
    border-radius: 8px;
    min-width: 80px;
    text-align: center;
}

.mrs-steps-nav-item:not(.active) {
    background-color: transparent !important;
}

.mrs-steps-nav-item:hover {
    background-color: #fef2f2 !important;
    transform: translateY(-2px);
}

.mrs-steps-nav-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #323232;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    background-color: #e2e8f0;
}

.mrs-steps-nav-item.active .mrs-steps-nav-number {
    background-color: #dc2626 !important;
    color: white;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.mrs-steps-nav-label {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.3;
}

.mrs-steps-nav-item.active .mrs-steps-nav-label {
    color: #dc2626;
    font-weight: 600;
}

/* Content */
.mrs-steps-content-container {
    position: relative;
    min-height: 250px;
    margin-bottom: 30px;
}

.mrs-steps-content {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.5s ease-in-out;
}

.mrs-steps-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mrs-steps-content-icon {
    margin-bottom: 20px;
}

.mrs-steps-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #fef2f2;
    margin-bottom: 20px;
}

.mrs-steps-icon-circle i {
    font-size: 32px;
    color: #dc2626;
}

.mrs-steps-content-number {
    margin-bottom: 20px;
}

.mrs-steps-number-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #dc2626;
    color: white;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.mrs-steps-content-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.mrs-steps-content-description {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mrs-steps-content-details {
    margin-top: 30px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.mrs-steps-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.mrs-steps-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    min-width: 120px;
    justify-content: center;
}

.mrs-steps-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #e2e8f0;
    color: #64748b;
}

.mrs-steps-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mrs-steps-btn-prev {
    background-color: #f1f5f9;
    color: #475569;
}

.mrs-steps-btn-next {
    background-color: #dc2626;
    color: white;
}

.mrs-steps-btn-next:not(:disabled):hover {
    background-color: #b91c1c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mrs-interactive-steps-widget {
        padding: 15px;
    }
    
    .mrs-steps-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .mrs-steps-main-title {
        font-size: 24px;
    }
    
    .mrs-steps-navigation {
        gap: 5px;
        padding: 0;
    }
    
    .mrs-steps-nav-item {
        min-width: 60px;
        padding: 5px;
    }
    
    .mrs-steps-nav-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .mrs-steps-nav-label {
        font-size: 10px;
    }
    
    .mrs-steps-content {
        padding: 30px 15px;
    }
    
    .mrs-steps-content-title {
        font-size: 24px;
    }
    
    .mrs-steps-content-description {
        font-size: 16px;
    }
    
    .mrs-steps-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .mrs-steps-icon-circle i {
        font-size: 24px;
    }
    
    .mrs-steps-number-circle {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .mrs-steps-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .mrs-steps-btn {
        width: 100%;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .mrs-steps-navigation {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 5px 10px 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .mrs-steps-nav-item {
        flex-shrink: 0;
        min-width: 55px;
    }
    
    .mrs-steps-nav-label {
        display: none;
    }
    
    .mrs-steps-content-title {
        font-size: 20px;
    }
    
    .mrs-steps-content-description {
        font-size: 14px;
    }
}

/* Animations */
.mrs-steps-nav-item.animate-in {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .mrs-steps-content {
        background-color: #1e293b;
        color: #e2e8f0;
    }
    
    .mrs-steps-content-title {
        color: #f1f5f9;
    }
    
    .mrs-steps-content-description {
        color: #cbd5e1;
    }
}