/* Account pages — live states on top of the design (site header/footer stay the theme's). */
#main-content.dfc-main { background: #fafafa !important; }
#main-content.dfc-main::before { display: none; }
#dfc-root.dfc-account { background: #fafafa !important; width: 100%; }
#dfc-root .dash-greet h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
#dfc-root .acct-tabs a { text-decoration: none; }

/* Downloads */
#dfc-root .dfc-dl-files { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
#dfc-root a.dl-btn { color: #fff; text-decoration: none; }
#dfc-root .dl-list { display: block; }

/* Licenses */
#dfc-root .lic-card:last-child { margin-bottom: 0; }
#dfc-root a.lic-btn { text-decoration: none; }
#dfc-root a.lic-btn.primary { color: #fff; }
#dfc-root .lic-renew:first-child { margin-top: 0; }
#dfc-root .dfc-children { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
#dfc-root .dfc-children .k { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin-bottom: 10px; }
#dfc-root .dfc-child { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
#dfc-root .dfc-child .lic-name { font-size: 14px; }
#dfc-root .lo-btn { text-decoration: none; }
#dfc-root a.lo-btn { color: #fff; }
#dfc-root a.lo-btn.ghost { color: var(--ink-2); }
#dfc-root .lo-table td { white-space: nowrap; }
#dfc-root .lic-order-view .sub-back,
#dfc-root .lic-manage-view .sub-back,
#dfc-root .lic-upgrade-view .sub-back,
#dfc-root .sub-transactions .sub-back { text-decoration: none; }
#dfc-root .ms-deact { text-decoration: none; }
#dfc-root .edd_errors { margin-bottom: 16px; }

/* Purchase history */
#dfc-root .ph-actions a { text-decoration: none; }
#dfc-root .ph-complete { text-decoration: none; }
#dfc-root .dfc-pagination { margin-top: 18px; text-align: center; }
#dfc-root .dfc-pagination .page-numbers { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); background: #fff; margin: 0 3px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
#dfc-root .dfc-pagination .page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }

/* Subscriptions */

/* Account details */
#dfc-root .dfc-profile-form .acct-sec:first-of-type { margin-top: 18px; }
#dfc-root .dfc-emails ul { margin: 0; }
#dfc-root .dfc-emails li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; font-size: 14px; }
#dfc-root .acct-card .edd-alert, #dfc-root .acct-card .edd_success, #dfc-root .acct-card .edd_errors { margin-bottom: 18px; }

/* Logged out */
#dfc-root .dfc-login-card legend { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
#dfc-root .dfc-login-card #edd_login_form p { margin-bottom: 16px; }
#dfc-root .dfc-login-card .edd-login-remember label { display: flex; align-items: center; gap: 8px; font-weight: 500; }
#dfc-root .dfc-login-card .edd-login-remember input { width: auto; height: auto; }
#dfc-root .dfc-login-card #edd_login_submit { width: 100%; height: 52px; font-size: 16px; font-weight: 700; }
#dfc-root .dfc-login-card .edd-lost-password a { color: var(--purple); font-weight: 600; font-size: 14px; }
