/**
 * File: assets/css/frontend/account-part3.css
 * Purpose: Split piece of a larger source file (1.0.191 file-size programme; cascade/build order unchanged). Continuation part 3 of assets/css/frontend/account.css (split for the 300-line standard; cascade order is preserved by the enqueue chain).
 * Scope: Same feature scope as the source file named in the provenance line; not a standalone design source.
 * Package: HyperDAF Engine
 */
.hdf-account-library nav i {
    color: var(--hdf-engine-color-text-disabled);
    font-style: normal;
}

.hdf-account-library__browse {
    width: 100%;
}

.hdf-account-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.hdf-account-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

.hdf-account-table th,
.hdf-account-table td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--hdf-engine-color-border-subtle);
    text-align: left;
    vertical-align: middle;
}

.hdf-account-table th {
    color: var(--hdf-engine-color-text-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.hdf-account-table td {
    font-size: .78rem;
}

.hdf-account-table tbody tr:last-child td {
    border-bottom: 0;
}

.hdf-account-table__action {
    text-align: right !important;
}

.hdf-account-table__action a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hdf-engine-color-primary-strong);
    font-weight: 750;
    text-decoration: none;
}

.hdf-account-status {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: var(--hdf-engine-radius-pill, 999px);
    background: var(--hdf-engine-color-admin-canvas);
    color: var(--hdf-engine-color-text-muted);
    font-size: .68rem;
    font-weight: 750;
}

.hdf-account-status--paid,
.hdf-account-status--partially_refunded {
    background: var(--hdf-engine-color-surface-selected);
    color: var(--hdf-engine-color-success-text);
}

.hdf-account-status--payment_failed,
.hdf-account-status--cancelled,
.hdf-account-status--refunded {
    background: var(--hdf-engine-color-danger-soft);
    color: var(--hdf-engine-color-danger-text);
}

.hdf-account-status--payment_processing,
.hdf-account-status--pending_payment {
    background: var(--hdf-engine-color-warning-soft);
    color: var(--hdf-engine-color-warning-text);
}

.hdf-order-lines,
.hdf-download-list {
    display: grid;
    gap: 10px;
}

.hdf-order-lines article,
.hdf-download-list article {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--hdf-engine-color-border-subtle);
    border-radius: 12px;
    background: var(--hdf-engine-color-surface);
}

.hdf-order-lines article > div,
.hdf-download-list article > div {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 4px;
}

.hdf-order-lines span,
.hdf-download-list article > div > span,
.hdf-account-panel p,
.hdf-account-profile__identity span {
    color: var(--hdf-engine-color-text-muted);
}

.hdf-order-lines article > div > strong,
.hdf-download-list article > div > strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .84rem;
}

.hdf-order-lines article > div > span,
.hdf-download-list article > div > span {
    font-size: .72rem;
}

.hdf-download-list__icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 11px;
    background: var(--hdf-engine-color-surface-selected);
    color: var(--hdf-engine-color-primary-strong);
}

.hdf-download-list__icon .hdf-account-icon {
    width: 18px;
    height: 18px;
}

.hdf-account-order__total {
    font-size: 1.3rem;
    letter-spacing: -.03em;
}

.hdf-account-section-heading {
    margin: 24px 0 13px;
}

.hdf-account-section-heading h3 {
    font-size: 1rem;
}

.hdf-account-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.hdf-account-facts div {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--hdf-engine-color-border-subtle);
    border-radius: 11px;
    background: var(--hdf-engine-color-surface-subtle);
}

.hdf-account-facts dt {
    color: var(--hdf-engine-color-text-muted);
    font-size: .72rem;
}

.hdf-account-facts dd {
    overflow-wrap: anywhere;
    margin: 5px 0 0;
    font-size: .82rem;
    font-weight: 750;
}

.hdf-account-profile__identity {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding: 18px;
    border-radius: 12px;
    background: var(--hdf-engine-color-surface-subtle);
}

.hdf-account-profile__identity .hdf-account-avatar {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
    border-radius: 15px;
    font-size: 1rem;
}

.hdf-account-profile__identity > div {
    display: grid;
    gap: 4px;
}

.hdf-account-profile__identity span {
    font-size: .78rem;
}

.hdf-account-profile__note {
    margin: 18px 0 0 !important;
    font-size: .74rem;
}

.hdf-account-actions,
.hdf-account-login__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hdf-account-empty {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px;
}

