html, body {
    height: 100%;
    margin: 0;
}

.page {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.footer {
    padding: 10px 0;
}

.wizard-container,
.progress-container {
    width: 100%;
    max-width: 1400px;       /* mehr Luft auf großen Displays */
    margin: 0 auto;
    padding: 0 1.5rem;       /* sauberer Abstand zum Rand */
}


/* Wizard visibility handling */
.wizard-stage {
    flex: 1;
    display: flex;
    align-items: center;      /* vertical center */
    justify-content: center;  /* horizontal center */
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

/* Model tile interaction */
.model-tile {
    cursor: pointer;
}

.model-tile .card {
    transition: transform .08s ease-in-out;
}

.model-tile:hover .card {
    transform: translateY(-1px);
}

/* Small muted footer text */
.muted-small {
    font-size: 0.925rem;
}


/* Progress im unteren Drittel */
.progress-stage {
	display: flex;
    justify-content: center;
    padding-bottom: 1.5rem;
}

/* Optional: leichte optische Abgrenzung */
.progress-stage .progress {
    height: 10px;
}



#modelSelect,
label[for="modelSelect"],
#modelSelect + .form-text {
    display: none !important;
}

#allVersionsAccordion {
    display: none !important;
}


/* -------------------------------------------------
   Mobile optimizations for small screens
   ------------------------------------------------- */
@media (max-width: 768px) {

    /* Remove max width and add padding */
    .wizard-container,
    .progress-container {
        max-width: 100%;
        padding: 0 0.75rem;
    }

    /* Wizard content should not be vertically centered on small screens */
    .wizard-stage {
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 1rem;
    }

    /* Make cards full width */
    .model-tile {
        width: 100%;
    }

    .model-tile .card {
        width: 100%;
        margin-bottom: 0.75rem;
    }

    /* Reduce card padding */
    .card-body {
        padding: 0.75rem;
    }

    /* Reduce heading size inside cards */
    .card-title {
        font-size: 1rem;
    }

    /* Progress bar bigger for touch */
    .progress-stage .progress {
        height: 14px;
    }

    /* Move restart button to bottom right */
    .restart-btn {
        top: auto;
        bottom: 1rem;
        left: auto;
        right: 1rem;
    }

    /* Footer text smaller */
    .muted-small {
        font-size: 0.8rem;
    }
}


/* -------------------------------------------------
   Application header styling
   ------------------------------------------------- */
.app-header {
    background-color: #f8f9fa;       /* Bootstrap light gray */
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 0;
}

/* Headline scaling */
.app-header h1 {
    font-size: 1.5rem;
}

/* More spacing on large screens */
@media (min-width: 1200px) {
    .app-header {
        padding: 1.25rem 0;
    }

    .app-header h1 {
        font-size: 1.75rem;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .app-header h1 {
        font-size: 1.25rem;
    }

    .app-header .text-end {
        text-align: left !important;
    }
}
