/* PinguinAssel v1.2 – opt-in WP User Manager profile/account styling.
   Scoped to the two selected WPUM pages; no edits to WPUM itself. */
body.pasm-wpum-profile #wpum-profile,
body.pasm-wpum-account #main .wpum-template,
body.pasm-wpum-account #main .wpum-account,
body.pasm-wpum-account #main #wpum-account {
    color:#fff !important;
    background:rgba(10,10,14,.80) !important;
    border-radius:12px;
}
body.pasm-wpum-profile #wpum-profile #header-profile-details,
body.pasm-wpum-profile #wpum-profile #profile-tab-content,
body.pasm-wpum-profile #wpum-profile #profile-navigation,
body.pasm-wpum-profile #wpum-profile .profile-navbar,
body.pasm-wpum-account #main .wpum-account .wpum-account-content,
body.pasm-wpum-account #main .wpum-account-tabs,
body.pasm-wpum-account #main .wpum-template {
    background:rgba(10,10,14,.80) !important;
    color:#fff !important;
}
body.pasm-wpum-profile #wpum-profile #header-profile-details,
body.pasm-wpum-profile #wpum-profile #profile-tab-content {
    padding:15px !important;
}
body.pasm-wpum-profile #wpum-profile #header-name-container,
body.pasm-wpum-profile #wpum-profile #header-name-container h2,
body.pasm-wpum-profile #wpum-profile #profile-tab-content,
body.pasm-wpum-profile #wpum-profile #profile-tab-content td,
body.pasm-wpum-profile #wpum-profile #profile-tab-content th,
body.pasm-wpum-profile #wpum-profile #profile-tab-content dt,
body.pasm-wpum-profile #wpum-profile #profile-tab-content dd,
body.pasm-wpum-account #main .wpum-template label,
body.pasm-wpum-account #main .wpum-template p,
body.pasm-wpum-account #main .wpum-template legend,
body.pasm-wpum-account #main .wpum-template h2,
body.pasm-wpum-account #main .wpum-template h3 {
    color:#fff !important;
}
/* WPUM real selectors: profile-navbar a.tab-about.active. */
body.pasm-wpum-profile #wpum-profile .profile-navbar a,
body.pasm-wpum-profile #wpum-profile #profile-navigation a,
body.pasm-wpum-account #main .wpum-template nav a,
body.pasm-wpum-account #main .wpum-template [role='tab'],
body.pasm-wpum-account #main .wpum-template .wpum-tabs a {
    display:inline-block;
    background:rgba(24,24,31,.94) !important;
    border:1px solid rgba(255,255,255,.16) !important;
    border-radius:8px !important;
    color:#fff !important;
    padding:9px 12px;
    text-decoration:none !important;
}
body.pasm-wpum-profile #wpum-profile .profile-navbar a.active,
body.pasm-wpum-account #main .wpum-template [role='tab'][aria-selected='true'],
body.pasm-wpum-account #main .wpum-template .wpum-tabs .active a {
    background:rgba(80,12,25,.48) !important;
    border-color:rgba(255,0,0,.35) !important;
    color:#fff !important;
}
body.pasm-wpum-profile #wpum-profile a,
body.pasm-wpum-account #main .wpum-template a,
body.pasm-wpum-account #main a.wpum-link {
    color:#fff !important;
    transition:color .16s ease;
}
body.pasm-wpum-profile #wpum-profile a:hover,
body.pasm-wpum-profile #wpum-profile a:focus-visible,
body.pasm-wpum-account #main .wpum-template a:hover,
body.pasm-wpum-account #main .wpum-template a:focus-visible {
    color:#ff0000 !important;
}
body.pasm-wpum-profile #wpum-profile .profile-navbar a:hover,
body.pasm-wpum-profile #wpum-profile .profile-navbar a:focus-visible {
    background:rgba(40,15,23,.9) !important;
}
/* Profile tables/fields: remove WPUM bright white backgrounds. */
body.pasm-wpum-profile #wpum-profile #profile-tab-content table,
body.pasm-wpum-profile #wpum-profile #profile-tab-content tr,
body.pasm-wpum-profile #wpum-profile #profile-tab-content td,
body.pasm-wpum-profile #wpum-profile #profile-tab-content th,
body.pasm-wpum-profile #wpum-profile .wpum-field-group,
body.pasm-wpum-profile #wpum-profile .wpum-profile-fields {
    background:transparent !important;
    border-color:rgba(255,255,255,.18) !important;
}
/* Form fields on selected WPUM account page. */
body.pasm-wpum-account #main input:not([type='checkbox']):not([type='radio']):not([type='submit']):not([type='button']),
body.pasm-wpum-account #main textarea,
body.pasm-wpum-account #main select {
    background:rgba(22,22,29,.95) !important;
    color:#fff !important;
    border:1px solid #55515a !important;
    border-radius:7px !important;
}
body.pasm-wpum-account #main input::placeholder,
body.pasm-wpum-account #main textarea::placeholder { color:#c0bbc3 !important; }
body.pasm-wpum-account #main input[type='submit'],
body.pasm-wpum-account #main button[type='submit'] {
    background:#ad0023 !important;
    color:#fff !important;
    border:0 !important;
    border-radius:8px !important;
}
body.pasm-wpum-account #main input[type='submit']:hover,
body.pasm-wpum-account #main button[type='submit']:hover {background:#e00032 !important;}
/* WPUM native profile avatar placement & safe fallback. */
body.pasm-wpum-profile #wpum-profile #header-avatar-container,
body.pasm-wpum-profile #wpum-profile #header-avatar-container a {
    width:110px; height:110px; border-radius:50%;
}
body.pasm-wpum-profile #wpum-profile #header-avatar-container img {
    display:block; width:110px !important; height:110px !important;
    max-width:110px; object-fit:cover; border-radius:50%;
    border:3px solid rgba(255,0,0,.4);
}
body.pasm-wpum-profile #wpum-profile .pasm-profile-avatar-fallback {
    width:110px; height:110px; display:flex; align-items:center; justify-content:center;
    border:3px solid rgba(255,0,0,.4); border-radius:50%;
    background:#38121d; font-size:40px; font-weight:700; color:#fff;
}
@media(max-width:620px) {
    body.pasm-wpum-profile #wpum-profile #header-profile-details,
    body.pasm-wpum-profile #wpum-profile #profile-tab-content {padding:12px !important;}
    body.pasm-wpum-profile #wpum-profile .profile-navbar {display:flex;flex-wrap:wrap;gap:6px;}
}
/* Actual WPUM account.php markup contains .wpum-account-page, .wpum_one_third, .wpum_two_third */
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third,
body.pasm-wpum-account #main .wpum-account-page .wpum_two_third,
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third ul,
body.pasm-wpum-account #main .wpum-account-page .wpum_two_third table,
body.pasm-wpum-account #main .wpum-account-page .wpum_two_third td,
body.pasm-wpum-account #main .wpum-account-page .wpum_two_third th {
    background:transparent !important; color:#fff !important;
}
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third a,
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third li.active a,
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third .active a {
    display:block; color:#fff !important;
    background:#19191f !important; border-radius:8px !important;
    padding:10px 12px; text-decoration:none !important;
}
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third li.active a,
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third .active a {
    border-left:3px solid #ff0000 !important; background:#2b151d !important;
}
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third a:hover,
body.pasm-wpum-account #main .wpum-account-page .wpum_one_third a:focus-visible {
    color:#ff0000 !important;
}
body.pasm-wpum-account #main .wpum-account-page .wpum_two_third form,
body.pasm-wpum-account #main .wpum-account-page .wpum_two_third fieldset,
body.pasm-wpum-account #main .wpum-account-page .wpum_two_third .fieldset,
body.pasm-wpum-account #main .wpum-account-page .wpum_two_third .wpum-form {
    color:#fff !important; background:transparent !important;
}
