/* ===================== Compare‑Mode Card Variants ===================== */
.compare-container {
    /* max-width: 700px; */
    margin: 0 auto;
}

.btn-equal-width {
    min-width: 80px;
}

.compare-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 50vh;
    width: 40vh;
    padding: 1rem;
    background-color: var(--card-bg-color);
    border: 3px solid var(--card-border-color);
    border-radius: 0.5rem;
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    flex-shrink: 1;
}

.compare-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.compare-card img {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.compare-card .card-body {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    width: 100%;
}

.compare-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--card-text-color);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    border-top: 1px solid var(--card-border-color);
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

/* ===================== Progress Bar Styles ===================== */

.progress-container {
    width: 100%;
    background-color: var(--progress-bg-color);
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--card-border-color);
    margin-top: 1rem;
    margin-left: 0;
    margin-right: 0;
}
.progress-bar {
    height: 30px;
    width: 0%;
    text-align: center;
    line-height: 30px;
    transition: width 0.5s ease-in-out;
}
