/**
 * File: assets/css/frontend/account-part4.css
 * Purpose: Split piece of a larger source file (1.0.191 file-size programme; cascade/build order unchanged). Continuation part 4 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-empty__icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 12px;
    background: var(--hdf-engine-color-surface-subtle);
    color: var(--hdf-engine-color-text-muted);
}

.hdf-account-empty h2 {
    font-size: 1rem;
}

.hdf-account-empty p {
    margin: 5px 0 0;
    color: var(--hdf-engine-color-text-muted);
    font-size: .76rem;
    line-height: 1.55;
}

.hdf-account-login {
    max-width: 760px;
    margin: clamp(22px, 5vw, 70px) auto;
    padding: clamp(30px, 6vw, 62px);
    text-align: center;
}

.hdf-account-login__icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--hdf-engine-color-primary-strong) 28%, var(--hdf-engine-color-border));
    border-radius: 22px;
    background: var(--hdf-engine-color-surface-selected);
    color: var(--hdf-engine-color-primary-strong);
}

.hdf-account-login__icon .hdf-account-icon {
    width: 34px;
    height: 34px;
}

.hdf-account-login h1 {
    max-width: 580px;
    margin: 0 auto;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.hdf-account-login__copy {
    max-width: 600px;
    margin: 16px auto 0;
    color: var(--hdf-engine-color-text-muted);
    line-height: 1.7;
}

.hdf-account-login__benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin: 24px 0;
}

.hdf-account-login__benefits > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 7px 11px;
    border: 1px solid var(--hdf-engine-color-border-subtle);
    border-radius: var(--hdf-engine-radius-pill, 999px);
    background: var(--hdf-engine-color-surface-subtle);
    font-size: .75rem;
    font-weight: 700;
}

.hdf-account-login__benefits .hdf-account-icon {
    width: 15px;
    height: 15px;
    color: var(--hdf-engine-color-primary-strong);
}

.hdf-account-login__actions {
    justify-content: center;
}

.hdf-account-login__browse {
    display: inline-flex;
    gap: 8px;
    margin-top: 20px;
    color: var(--hdf-engine-color-primary-strong);
    font-size: .78rem;
    font-weight: 750;
    text-decoration: none;
}

.hdf-account-notice {
    margin-bottom: var(--hdf-account-gap);
    padding: 15px 18px;
    border-color: var(--hdf-engine-color-warning-border);
    background: var(--hdf-engine-color-warning-soft);
    color: var(--hdf-engine-color-warning-text);
    font-size: .82rem;
}

.hdf-receipt-downloads {
    margin: 20px 0;
    padding: 18px;
    border: 1px solid var(--hdf-engine-color-border);
    border-radius: 12px;
    background: var(--hdf-engine-color-surface);
}

.hdf-receipt-downloads h2 {
    margin-top: 0;
}

.hdf-account-claim {
    margin: 16px 0;
}

.hdf-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: var(--hdf-engine-radius-md, 8px);
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
}

.hdf-button--primary {
    border-color: var(--hdf-engine-color-primary-strong);
    background: var(--hdf-engine-color-primary-strong);
    color: var(--hdf-engine-color-surface);
}

.hdf-button--secondary {
    border-color: var(--hdf-engine-color-border);
    background: var(--hdf-engine-color-surface);
    color: var(--hdf-engine-color-text);
}

.hdf-button:hover,
.hdf-button:focus-visible {
    filter: brightness(.96);
}

.hdf-button[disabled] {
    cursor: wait;
    opacity: .55;
}

.hdf-account-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.hdf-account-pagination a,
.hdf-account-pagination span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 6px 12px;
    border: 1px solid var(--hdf-engine-color-border);
    border-radius: var(--hdf-engine-radius-sm, 6px);
    font-size: .76rem;
}

.hdf-account-pagination a {
    background: var(--hdf-engine-color-surface);
    font-weight: 700;
    text-decoration: none;
}

.hdf-account-pagination a:focus-visible,
.hdf-account-nav-toggle:focus-visible,
.hdf-account a:focus-visible,
.hdf-account button:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--hdf-engine-color-primary) 48%, transparent);
    outline-offset: 2px;
}

@media (max-width: 1080px) {
    .hdf-account-hero {
        align-items: flex-start;
    }

    .hdf-account-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hdf-account-metric:last-child {
        grid-column: 1 / -1;
    }

    .hdf-account-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .hdf-account-library {
        display: grid;
        grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
        gap: 0 24px;
    }

    .hdf-account-library > p {
        grid-column: 1;
    }

    .hdf-account-library nav {
        grid-row: 1 / span 3;
        grid-column: 2;
        margin: 0;
    }

    .hdf-account-library__browse {
        width: fit-content;
    }
}

