.card-rounded {
    border-radius: 1rem;
}

.card-header-custom {
    background-color: #24305E;
    color: #fff;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.card-body-custom {
    background-color: #F9F4F2;
    color: #2D2C2B;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.card-header:first-child {
    border-radius: 1rem 1rem 0 0;
}

.nog-niet-gestart {
    color: #A6A19F !important;
    font-weight: 600;
}

.progress {
    height: 3.0em;
    border-radius: 0.5rem;
}

.progress-relative {
    position: relative;
}

.progress-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .8rem;
    pointer-events: none;
    z-index: 2;
}

.progress-bar,
.progress-bar-empty {
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: .6rem;
    height: 4.0em;
    padding: 0;

    /* Remove border-radius if you want square ends, or set as needed */
}

.progress-bar-empty {
    min-width: 0;
    background-color: transparent !important;
    color: #A6A19F !important;
}

.equal-height-row {
    display: flex;
    flex-wrap: wrap;
}

.equal-height-row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.equal-height-row .card {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.equal-height-row .card-body {
    flex: 1;
}

/* Ensure consistent spacing in mobile view */
@media (max-width: 767.98px) {
    .equal-height-row > [class*='col-'] {
        margin-bottom: 1rem; /* Matches Bootstrap's default mb-3 spacing */
    }
    
    /* Remove bottom margin from last item to prevent extra space */
    .equal-height-row > [class*='col-']:last-child {
        margin-bottom: 0;
    }
}
