/* Workflow Steps Block - Static Styles */
/* Enqueued once per page via block.json "style" declaration */

/* SVG Icon Styles */
.bouw-step-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--wp--preset--color--primary);
    margin-bottom: var(--wp--preset--spacing--sm);
}

.bouw-step-status svg {
    width: 20px;
    height: 20px;
    stroke: var(--wp--preset--color--base, #ffffff);
}

.bouw-duration-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--wp--preset--color--muted);
    margin-right: 0.25rem;
    vertical-align: text-bottom;
}

/* Step card layout */
.bouw-workflow-steps-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--wp--preset--spacing--lg);
}

.bouw-workflow-step {
    position: relative;
    flex: 1;
    min-width: 0;
}

.bouw-step-card {
    background: var(--wp--preset--color--base, #ffffff);
    border-radius: var(--wp--custom--border-radius--lg);
    padding: var(--wp--preset--spacing--lg);
    height: 100%;
}

.bouw-workflow-steps--elevated .bouw-step-card {
    box-shadow: var(--wp--custom--shadow--md);
    transition: transform var(--wp--custom--transition--base),
        box-shadow var(--wp--custom--transition--base);
}

.bouw-workflow-steps--elevated .bouw-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wp--custom--shadow--xl);
}

/* Step number */
.bouw-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--wp--preset--spacing--md);
}

.bouw-step-number--circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base, #ffffff);
    font-weight: 700;
    font-size: 1.25rem;
}

.bouw-step-number--square {
    width: 48px;
    height: 48px;
    border-radius: var(--wp--custom--border-radius--md);
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base, #ffffff);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Step connector */
.bouw-step-connector {
    position: absolute;
    top: 24px;
    right: calc(-1 * var(--wp--preset--spacing--lg) / 2);
    width: var(--wp--preset--spacing--lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bouw-step-connector.bouw-connector-line::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--wp--preset--color--primary);
}

.bouw-step-connector.bouw-connector-arrow::after {
    content: '→';
    color: var(--wp--preset--color--primary);
    font-size: 1.25rem;
}

/* Step body */
.bouw-step-header {
    margin-bottom: var(--wp--preset--spacing--md);
}

.bouw-step-title {
    margin-top: 0;
    margin-bottom: var(--wp--preset--spacing--sm);
}

.bouw-step-description {
    color: var(--wp--preset--color--contrast);
    margin-bottom: var(--wp--preset--spacing--md);
}

/* Duration */
.bouw-step-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--wp--preset--color--contrast);
}

/* Progress bar */
.bouw-workflow-progress {
    margin-top: var(--wp--preset--spacing--xl);
}

.bouw-progress-bar {
    height: 8px;
    background: rgba(0,0,0,0.1);
    border-radius: var(--wp--custom--border-radius--sm);
    overflow: hidden;
    margin-bottom: var(--wp--preset--spacing--sm);
}

.bouw-progress-fill {
    height: 100%;
    background: var(--wp--preset--color--primary);
    border-radius: var(--wp--custom--border-radius--sm);
    transition: width var(--wp--custom--transition--base);
}

.bouw-progress-text {
    font-size: 0.875rem;
    color: var(--wp--preset--color--contrast);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .bouw-workflow-steps-container {
        flex-direction: column;
    }

    .bouw-step-connector {
        display: none;
    }
}
