/* ias-feedback-historic — Mon Compte styles */

.ias-fh-wrap {
    max-width: 760px;
}

/* ── Header page ── */
.ias-fh-header {
    margin-bottom: 1.75rem;
}

.ias-fh-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 .35rem;
    color: #0F1729;
}

.ias-fh-subtitle {
    margin: 0;
    color: #666;
    font-size: .88rem;
}

/* ── Empty state ── */
.ias-fh-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    padding: 3rem 1rem;
    color: #aaa;
    text-align: center;
    font-size: .95rem;
}

.ias-fh-empty-state p {
    margin: 0;
}

/* ── Month block ── */
.ias-fh-month-block {
    margin-bottom: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

/* Month heading button */
.ias-fh-month-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: .85rem 1.1rem;
    background: #f4f4f4;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    color: #0F1729;
    transition: background .15s;
}

.ias-fh-month-heading:hover {
    background: #ececec;
}

.ias-fh-month-heading[aria-expanded="true"] {
    background: #0F1729;
    color: #fff;
}

.ias-fh-month-info {
    display: flex;
    align-items: center;
    gap: .65rem;
}

.ias-fh-month-label {
    font-weight: 700;
    font-size: .95rem;
}

/* Badge — texte blanc sur fond corail (spécificité renforcée contre override Uncode) */
.ias-fh-wrap .ias-fh-month-info .ias-fh-month-count {
    font-size: .72rem;
    font-weight: 600;
    color: #ffffff !important;
    background: #eb5a45;
    border-radius: 20px;
    padding: 2px 9px;
    line-height: 1.7;
    white-space: nowrap;
    text-decoration: none;
}

/* Chevron rotation */
.ias-fh-chevron {
    flex-shrink: 0;
    transition: transform .2s ease;
}

[aria-expanded="true"] > .ias-fh-chevron {
    transform: rotate(180deg);
}

/* ── Entries list ── */
.ias-fh-entries {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: #e0e0e0;
}

/* ── Entry card ── */
.ias-fh-card {
    background: #fff;
}

/* Card toggle button */
.ias-fh-card-toggle {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .75rem 1.1rem;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: .88rem;
    color: #222;
    transition: background .15s;
}

.ias-fh-card-toggle:hover {
    background: #fafafa;
}

.ias-fh-card-toggle[aria-expanded="true"] {
    background: #fff8f7;
    border-bottom: 1px solid #f0e0de;
}

.ias-fh-card-toggle-left {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #666;
    flex-shrink: 0;
}

.ias-fh-card-date {
    font-weight: 500;
    color: #555;
    font-size: .82rem;
    white-space: nowrap;
}

.ias-fh-card-identity {
    flex: 1;
    font-weight: 700;
    color: #0F1729;
    font-size: .9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ── Fields dl ── */
.ias-fh-fields {
    padding: .85rem 1.1rem 1rem;
    background: #fff;
}

.ias-fh-dl {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}

.ias-fh-field-row {
    display: grid;
    grid-template-columns: minmax(160px, 36%) 1fr;
    gap: .4rem .75rem;
    align-items: baseline;
    padding-bottom: .55rem;
    border-bottom: 1px solid #f2f2f2;
}

.ias-fh-field-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ias-fh-field-label {
    font-size: .75rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.ias-fh-field-value {
    font-size: .88rem;
    color: #222;
    margin: 0;
    word-break: break-word;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .ias-fh-card-toggle {
        flex-wrap: wrap;
        gap: .4rem;
    }

    .ias-fh-card-identity {
        width: 100%;
        white-space: normal;
    }

    .ias-fh-field-row {
        grid-template-columns: 1fr;
        gap: .15rem;
    }
}
