/* -- Signatures Widget -------------------------------------------- */

.signatures-widget {
    padding: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
}

/* Top row: left counter + right stat cards */
.signatures-top {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.signatures-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.signatures-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 120px;
}

/* Counter */
.signatures-counter {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.signatures-total {
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: var(--e-global-color-ebe57ad);
}

.signatures-label {
    font-size: 1rem;
    font-weight: 700;
}

.signatures-goal-label {
    font-size: 0.875rem;
    margin: 0 !important;
    opacity: 0.75;
}

/* Progress bar */
.signatures-bar-wrap {
    height: 8px;
    border-radius: 99px;
    overflow: hidden;
    width: 100%;
    background: #f0f0f0;
    margin-top: 2px;
}

.signatures-bar-fill {
    height: 100%;
    border-radius: 99px;
    width: 0%;
    background: var(--e-global-color-ebe57ad);
    /* No transition here - JS handles it to avoid double-animation */
}

/* Stat cards - fill the full height of signatures-right */
.signatures-meta-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 0 14px;
    border-radius: 8px;
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex: 1;
}

.signatures-meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    opacity: 0.5;
}

.signatures-meta-val {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Mobile - stack left and right vertically */
@media (max-width: 480px) {

    .signatures-top {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .signatures-right {
        width: 100%;
        flex-direction: row;
    }

    .signatures-meta-card {
        flex: 1;
        padding: 10px 14px;
    }

    .signatures-total {
        font-size: 2.25rem;
    }
}
