﻿/* Telekom Scale Design System Variables */
:root {
    --workflow-spacing: 2.5rem;
    --workflow-branch-height: 7.25rem;
    --workflow-connection-color: #e5e7eb;
    --workflow-item-min-width: 200px;
}

/* Container für den gesamten Workflow */
.workflow-container {
    padding: 2rem;
    margin-top: var(--workflow-branch-height);
    font-family: 'TeleNeoWeb', sans-serif;
}

/* Horizontale Sequenz der Workflow-Items */
.workflow-sequence {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--workflow-spacing);
    position: relative;
}

    /* Horizontale Verbindungslinie */
    .workflow-sequence::before {
        content: '';
        position: absolute;
        top: 50%;
        left: var(--workflow-item-min-width);
        right: var(--workflow-item-min-width);
        height: 2px;
        background-color: var(--workflow-connection-color);
        z-index: 0;
    }

/* Einzelne Workflow-Items */
.workflow-item {
    background: white;
    border: 1px solid var(--workflow-connection-color);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    min-width: var(--workflow-item-min-width);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Branch Container */
.workflow-branch {
    position: absolute;
    top: calc(-1 * var(--workflow-branch-height));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    /* Vertikale Verbindungslinie für Branches */
    .workflow-branch::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        width: 2px;
        height: 2rem;
        background-color: var(--workflow-connection-color);
        transform: translateX(-50%);
    }

/* Titel der Workflow-Items */
.workflow-title {
    font-size: 1rem;
    font-weight: 600;
    color: #191919;
    margin: 0 0 0.75rem 0;
}

/* Status Liste */
.workflow-status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Status Items */
.status-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: #262626;
}

    .status-item::before {
        content: '';
        display: inline-block;
        width: 0.75rem;
        height: 0.75rem;
        border-radius: 50%;
        margin-right: 0.5rem;
    }

/* Status Varianten */
.status-active::before {
    background-color: #00b388; /* Telekom Scale success green */
}

.status-warning::before {
    background-color: #ffb600; /* Telekom Scale warning yellow */
}

.status-error::before {
    background-color: #e20074; /* Telekom Scale error magenta */
}

.status-info::before {
    background-color: #0054a6; /* Telekom Scale info blue */
}
