/* Overall Completion Card Redesign */

/* The card container - make it compact */
.cell.small-12.medium-12.large-4 > .card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 32px 24px 28px !important;
    min-height: auto !important;
    height: auto !important;
}

/* Hide the original uppercase title at top */
.cell.small-12.medium-12.large-4 > .card > .title {
    display: none !important;
}

/* Progress bar container - remove the massive margins */
.cell.small-12.medium-12.large-4 > .card > .progress-bar {
    margin: 0 auto 20px !important;
    width: 180px !important;
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

/* The SVG ring */
.cell.small-12.medium-12.large-4 > .card > .progress-bar svg {
    width: 180px !important;
    height: 180px !important;
}

/* The SVG path - make the track a light grey ring, not filled */
.cell.small-12.medium-12.large-4 > .card > .progress-bar svg path {
    stroke-width: 6 !important;
    fill: transparent !important;
}

/* Percentage text - center it properly */
.cell.small-12.medium-12.large-4 > .card > .progress-bar .progressbar-text {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-family: Inter, -apple-system, sans-serif !important;
}

/* Hide the "Complete" label inside the ring */
.cell.small-12.medium-12.large-4 > .card > .progress-bar .total-label {
    display: none !important;
}

/* Subtitle "X of 520 questions" - restyle */
.cell.small-12.medium-12.large-4 > .card > .completion-subtitle {
    font-size: 15px !important;
    color: #86868b !important;
    text-align: center !important;
    margin: 0 !important;
    font-family: Inter, -apple-system, sans-serif !important;
    font-weight: 400 !important;
    order: 3 !important;
}

/* Add "Overall Completion" as bold label below the ring via pseudo-element on subtitle */
.cell.small-12.medium-12.large-4 > .card > .completion-subtitle::before {
    content: "Overall Completion" !important;
    display: block !important;
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #1d1d1f !important;
    margin-bottom: 4px !important;
    font-family: Inter, -apple-system, sans-serif !important;
}

/* Also hide the hidden input */
.cell.small-12.medium-12.large-4 > .card > input[type="hidden"] {
    display: none !important;
}