﻿.steps-container {
    padding: 16px;
}

.step-item {
    display: flex;
    position: relative;
    transition: all 0.3s ease;
}

    .step-item.clickable {
        cursor: pointer;
    }

        .step-item.clickable:hover .step-indicator {
            transform: scale(1.1);
        }

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #161B22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #C9D1D9;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-item.active .step-indicator {
    background: #FF6B00;
    border-color: #FF6B00;
    color: white;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.2);
}

.step-item.completed .step-indicator {
    background: #56D364;
    border-color: #56D364;
    color: white;
}

.step-content {
    flex: 1;
    padding: 0 16px;
}

.step-title {
    font-weight: 600;
    font-size: 1rem;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.step-item.active .step-title {
    color: #0366d6;
}

.step-item.completed .step-title {
    color: #28a745;
}
    
.step-description {
    font-size: 0.875rem;
    color: #C9D1D9;
    margin-bottom: 8px;
}

.step-expanded-content {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.5), rgba(13, 17, 23, 0.25));
    border-radius: 0.5rem;
    border: 1px solid #30363D;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.steps-vertical .step-item {
    margin-bottom: 32px;
}

    .steps-vertical .step-item:not(:last-child)::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 45px;
        width: 2px;
        height: calc(100% + 1rem);
        background: #161B22;
        z-index: 1;
    }

    .steps-vertical .step-item.completed:not(:last-child)::before {
        background: #28a745;
    }

.steps-horizontal {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
}

    .steps-horizontal .step-item {
        flex-direction: column;
        align-items: center;
        flex: 1;
        min-width: 150px;
        text-align: center;
    }

    .steps-horizontal .step-content {
        padding: 8px 8px 0;
    }

    .steps-horizontal .step-connector {
        position: absolute;
        top: 20px;
        left: calc(50% + 20px);
        width: calc(100% - 40px);
        height: 2px;
        background: #161B22;
        z-index: 1;
    }

    .steps-horizontal .step-item:last-child .step-connector {
        display: none;
    }

    .steps-horizontal .step-item.completed .step-connector {
        background: #28a745;
    }

.steps-dotted .step-indicator {
    width: 16px;
    height: 16px;
    background: #d1d5db;
}

.steps-dotted.steps-vertical .step-item:not(:last-child)::before {
    left: 8px;
    top: 20px;
}

.steps-dotted .step-item.active .step-indicator {
    width: 20px;
    height: 20px;
    background: #0366d6;
}

.steps-dotted .step-item.completed .step-indicator {
    background: #28a745;
}

@media (max-width: 768px) {
    .steps-horizontal {
        flex-direction: column;
    }

        .steps-horizontal .step-item {
            flex-direction: row;
            text-align: left;
        }

        .steps-horizontal .step-connector {
            display: none;
        }
}
