/* Schritt-Anzeige für NFC-Formular */

.nfc-steps-container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 20px;
}

.nfc-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 10px 0;
}

.nfc-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Linien zwischen den Schritten */
.nfc-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 24px; /* Mitte des Kreises (60px / 2) */
    left: calc(50% + 20px); /* Rechts vom Kreis-Mittelpunkt */
    width: calc(100% - 40px); /* Breite bis zum nächsten Kreis */
    height: 4px;
    background: #e0e0e0;
    z-index: -1;
}

/* Erste Linie grün wenn Schritt 1 abgeschlossen */
.nfc-step:nth-child(1).completed::after {
    background: #4caf50;
}

/* Zweite Linie grün wenn Schritt 2 abgeschlossen */
.nfc-step:nth-child(2).completed::after {
    background: #4caf50;
}

.nfc-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nfc-step.active .nfc-step-circle {
    background: #ef770b;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.nfc-step.completed .nfc-step-circle {
    background: #4caf50;
    color: white;
}

.nfc-step-label {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    max-width: 150px;
}

.nfc-step.active .nfc-step-label {
    color: #ef770b;
    font-weight: 600;
}

.nfc-step.completed .nfc-step-label {
    color: #4caf50;
}

.nfc-step-icon {
    font-size: 28px;
}

/* Checkmark Animation */
.nfc-step-checkmark {
    display: none;
}

.nfc-step.completed .nfc-step-checkmark {
    display: inline;
    animation: checkmark-pop 0.3s ease;
}

.nfc-step.completed .nfc-step-number {
    display: none;
}

@keyframes checkmark-pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nfc-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    /* Horizontale Linien ausblenden */
    .nfc-step:not(:last-child)::after {
        display: none;
    }
    
    .nfc-step {
        width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .nfc-step-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .nfc-step-label {
        text-align: left;
        max-width: none;
    }
}
