﻿body {
}

.app-progress-bar-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

.app-progress-step {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    font-weight: 500;
    padding: 0.5rem 0.2rem;
    position: relative;
    background-color: #f8f9fa;
    color: #212529;
    border-right: 1px solid #dee2e6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
    font-size: clamp(0.55rem, 1.5vw, 0.8rem);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .app-progress-step:hover:not(.active) {
        background-color: #e9ecef;
    }

    .app-progress-step:last-child {
        border-right: none;
    }

    .app-progress-step.active {
        background-color: #007bff;
        color: white;
        font-weight: bold;
        cursor: default;
    }

.step-label {
    font-size: clamp(0.55rem, 1.5vw, 0.8rem);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-checkmark,
.step-checkmark-placeholder {
    font-size: clamp(0.7rem, 2vw, 1rem);
    line-height: 1;
    height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-checkmark {
    color: #28a745;
}

.app-progress-step.active .step-checkmark {
    color: white;
}

/* Medium screens */
@media (max-width: 600px) {
    .app-progress-step {
        padding: 0.4rem 0.15rem;
        font-size: 0.6rem;
        min-height: 60px;
    }

    .step-label {
        font-size: 0.6rem;
    }

    .step-checkmark {
        font-size: 0.75rem;
    }
}

/* iPhone screens */
@media (max-width: 430px) {
    .app-progress-step {
        font-size: 0.38rem;
        padding: 0.3rem 0.1rem;
        min-height: 55px;
    }

    .step-label {
        font-size: 0.48rem;
    }

    .step-checkmark {
        font-size: 0.7rem;
    }
}
