 :root {
    --am_logo_link: 1;
--am_bg: #eef4fb;
--am_color: #ffffff;
--am_link_color: #00A2FD;
--am_link_hover_color: #3f7fb0;
--am_btn_color: #0242C5;
--am_btn_hover_color: #ff8a80;
--am_text_color: #10223a;
--am_logo_align: center;
--am_max_width: 1520;
--am_max_width_px: 1520px;
--am_logo_width: auto;
--am_logo_width_px: auto;
--am_font_size: 14;
--am_font_size_px: 14px;
--am_font_family: Roboto;
--am_login_layout: layout-login-sidebar.phtml;
--am_login_bg: none;
--am_login_bg_color: #eef4fb;
--am_login_legend_padding_top: calc(3em + 2000px);
--am_login_header_display: block;
--am_menu_color: #00A2FD;
--am_menu_dashboard: icon;
--am_dashboard_layout: one-col;
--am_identity_align: left;
--am_identity_type: full_name;
--am_sm_size: 18;
--am_sm_size_px: 18px;
--am_sm_color: #9f9f9f;
--am_login_legend_bg: url('/data/public/6a09e25bdb622.png') #141414 center 1em no-repeat;
--am_login_logo_align: center;
--am_login_logo_width: 150;
--am_login_logo_width_px: 150px;
--am_login_logo_height: 150;
--am_dashboard_brand_name: Tools GroupBuy;
--am_dashboard_title: Premium Tools Sharing Service;
--am_dashboard_tagline: Access to premium tools with top notch support;
--am_dashboard_help_text: Hello we are here to help you;
--am_custom_images_base_url: https://app.toolsgroupbuy.com/images;
--am_login_sidebar_whatsapp_group_url: http://wa.me/+923353252195;
--am_login_sidebar_whatsapp_channel_url: https://whatsapp.com/channel/0029Vb7uWEy89inqQiO6J415;
--am_login_sidebar_youtube_url: https://www.youtube.com/@toolsgb;
--am_login_sidebar_facebook_url: https://www.facebook.com/toolsgroupbuy;
--am_login_sidebar_tiktok_url: https://tiktok.com/toolsgb;
--am_login_sidebar_instagram_url: https://www.instagram.com/toolsgb;
--am_login_sidebar_intro_html: Hello;
--am_login_sidebar_quick_link_1_title: Helpdesk;
--am_login_sidebar_quick_link_2_title: Knowledgebase;
--am_login_sidebar_quick_link_3_title: Blog;
--am_login_sidebar_quick_link_4_title: Updates;
--am_login_sidebar_quick_link_5_title: Home;
--am_sidebar_bg_start: #002250;
--am_sidebar_bg_end: #10242F;
--am_sidebar_border_color: #bcaaa4;
--am_sidebar_brand_bg: #2a333c;
--am_sidebar_brand_text_color: #FFFFFF;
--am_sidebar_logo_bg: #dee7ec;
--am_sidebar_logo_text_color: #2a333c;
--am_sidebar_section_title_color: #8FA0B5;
--am_sidebar_menu_text_color: #DCE5EE;
--am_sidebar_menu_hover_bg: #334155;
--am_sidebar_menu_hover_text_color: #FFFFFF;
--am_sidebar_menu_active_bg: #374151;
--am_sidebar_menu_active_text_color: #FFFFFF;
--am_sidebar_menu_bullet_color: #00A2FD;
--am_sidebar_profile_bg: #14314B;
--am_sidebar_avatar_bg: #00A2FD;
--am_sidebar_avatar_text_color: #FFFFFF;
--am_sidebar_profile_name_color: #FFFFFF;
--am_sidebar_profile_name_hover_color: #00A2FD;
--am_sidebar_logout_color: #AEBFD0;
--am_sidebar_logout_hover_color: #FFFFFF;
--am_header_logo: 7;
--am_login_sidebar: <h2 data-end="5038" data-start="4502">TOOLS GROUP BUY</h2>

<p data-end="5038" data-start="4502">Tools GroupBuy gives freelancers, SEO professionals, marketers, students, agencies, and small business owners affordable access to the premium digital tools&nbsp;from one secure dashboard. After login, you can use tools based on your active subscription. Our system is built to make premium tools easier to access, easier to manage, and easier to use without wasting money on multiple expensive subscriptions.</p>

<p data-end="5146" data-start="5040"></p>;
--am_login_logo: 10;
--am_gravatar: 1;
--am_body_finish_out: <!-- WhatsApp Chat Button -->
<a href="https://wa.me/923353252195" target="_blank" 
   style="position:fixed; bottom:20px; right:20px; background:#25D366; color:#fff; padding:12px 15px; border-radius:50px; text-decoration:none; font-size:18px; z-index:9999; box-shadow:0 2px 10px rgba(0,0,0,0.2);">
   💬 Chat on WhatsApp
</a>

<script>
(function() {
  var script = document.createElement('script');
  script.src = 'https://access.mypanel.pk/notifications/widget.js?site_key=f8a17c8734170e0a8264e649cfdf3675';
  script.async = true;
  document.head.appendChild(script);
})();
</script>;
--am_body_finish_in: <!-- WhatsApp Chat Button -->
<a href="https://wa.me/923353252195" target="_blank" 
   style="position:fixed; bottom:20px; right:20px; background:#25D366; color:#fff; padding:12px 15px; border-radius:50px; text-decoration:none; font-size:18px; z-index:9999; box-shadow:0 2px 10px rgba(0,0,0,0.2);">
   💬 Chat on WhatsApp
</a>

<script>
(function() {
  var script = document.createElement('script');
  script.src = 'https://access.mypanel.pk/notifications/widget.js?site_key=f8a17c8734170e0a8264e649cfdf3675';
  script.async = true;
  document.head.appendChild(script);
})();
</script>;
--am_header_path: 6a09e0e2f0433.png;
--am_login_logo_path: 6a09e25bdb622.png;
--am_link_color_a99: #00A2FD99;
--am_checkmark_background_image: url('');

    --v4-sidebar-bg-start: var(--am_sidebar_bg_start);
    --v4-sidebar-bg-end: var(--am_sidebar_bg_end);
    --v4-sidebar-bg: linear-gradient(180deg, var(--v4-sidebar-bg-start) 0%, var(--v4-sidebar-bg-end) 100%);
    --v4-sidebar-border: var(--am_sidebar_border_color);
    --v4-sidebar-brand-bg: var(--am_sidebar_brand_bg);
    --v4-sidebar-brand-text: var(--am_sidebar_brand_text_color);
    --v4-sidebar-logo-bg: var(--am_sidebar_logo_bg);
    --v4-sidebar-logo-text: var(--am_sidebar_logo_text_color);
    --v4-sidebar-section-title: var(--am_sidebar_section_title_color);
    --v4-sidebar-menu-text: var(--am_sidebar_menu_text_color);
    --v4-sidebar-menu-hover-bg: var(--am_sidebar_menu_hover_bg);
    --v4-sidebar-menu-hover-text: var(--am_sidebar_menu_hover_text_color);
    --v4-sidebar-menu-active-bg: var(--am_sidebar_menu_active_bg);
    --v4-sidebar-menu-active-text: var(--am_sidebar_menu_active_text_color);
    --v4-sidebar-menu-bullet: var(--am_sidebar_menu_bullet_color);
    --v4-sidebar-profile-bg: var(--am_sidebar_profile_bg);
    --v4-sidebar-avatar-bg: var(--am_sidebar_avatar_bg);
    --v4-sidebar-avatar-text: var(--am_sidebar_avatar_text_color);
    --v4-sidebar-profile-name: var(--am_sidebar_profile_name_color);
    --v4-sidebar-profile-name-hover: var(--am_sidebar_profile_name_hover_color);
    --v4-sidebar-logout-color: var(--am_sidebar_logout_color);
    --v4-sidebar-logout-hover-color: var(--am_sidebar_logout_hover_color);
    --v4-card-bg: #ffffff;
    --v4-card-alt: #F8FAFC;
    --v4-border: #E5E7EB;
    --v4-text: #111827;
    --v4-muted: #6B7280;
    --v4-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
    --v4-blue: var(--am_link_color);
    --v4-blue-soft: var(--am_menu_color);
    --v4-btn-color: var(--am_btn_color);
    --v4-btn-hover-color: var(--am_btn_hover_color);
    --v4-menu-color: var(--am_menu_color);
    --v4-link-color: var(--am_link_color);
    --v4-link-hover-color: var(--am_link_hover_color);
}

html,
body {
    background: #EFF6FE;
    font-size: var(--am_font_size_px);
}

body.am-theme-v4 {
    color: var(--v4-text);
    font-family: var(--am_font_family), sans-serif;
}

body.am-theme-v4 a {
    text-decoration: none;
}

.am-theme-v4 .am-demo,
.am-theme-v4 .am-maintenance {
    position: relative;
    z-index: 20;
}

.am-theme-v4 .am-account-toolbar,
.am-theme-v4 .am-tabs-wrapper {
    display: none;
}

.am-theme-v4 .am-dashboard-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    min-height: 100vh;
}

.am-theme-v4 .am-dashboard-sidebar {
    position: sticky;
    top: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100vh;
    padding: 16px 12px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    background: var(--v4-sidebar-bg);
    border-right: 1px solid var(--v4-sidebar-border);
}

.am-theme-v4 .am-dashboard-sidebar::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.am-theme-v4 .am-sidebar-brand,
.am-theme-v4 .am-sidebar-profile {
    border-radius: 18px;
    border: 1px solid var(--v4-sidebar-border);
}

.am-theme-v4 .am-sidebar-brand {
    background: var(--v4-sidebar-brand-bg);
}

.am-theme-v4 .am-sidebar-profile {
    background: var(--v4-sidebar-profile-bg);
}

.am-theme-v4 .am-sidebar-brand-link,
.am-theme-v4 .am-public-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.am-theme-v4 .am-brand-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.am-theme-v4 .am-sidebar-brand .am-brand-logo,
.am-theme-v4 .am-sidebar-brand .am-brand-mark {
    padding: 8px;
    border-radius: 14px;
    background: var(--v4-sidebar-logo-bg);
}

.am-theme-v4 .am-brand-logo img {
    display: block;
    max-width: 150px;
    max-height: 44px;
    width: auto;
    height: auto;
}

.am-theme-v4 .am-sidebar-brand {
    padding: 12px 12px;
}

.am-theme-v4 .am-brand-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 42px;
    color: var(--v4-sidebar-logo-text);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.am-theme-v4 .am-brand-mark::before,
.am-theme-v4 .am-brand-mark::after {
    content: "";
    position: absolute;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--v4-link-color), var(--v4-menu-color));
}

.am-theme-v4 .am-brand-mark::before {
    width: 22px;
    height: 22px;
    left: 4px;
    top: 10px;
    clip-path: polygon(0 0, 100% 0, 64% 50%, 100% 100%, 0 100%, 36% 50%);
}

.am-theme-v4 .am-brand-mark::after {
    width: 16px;
    height: 16px;
    right: 9px;
    top: 6px;
    clip-path: polygon(0 0, 100% 0, 100% 34%, 48% 34%, 100% 100%, 48% 100%, 0 52%);
}

.am-theme-v4 .am-brand-mark span {
    position: relative;
    z-index: 1;
}

.am-theme-v4 .am-brand-text {
    color: var(--v4-sidebar-brand-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
}

.am-theme-v4 .am-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.am-theme-v4 ul.am-sidebar-menu,
.am-theme-v4 ul.am-sidebar-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.am-theme-v4 ul.am-sidebar-menu {
    display: grid;
    gap: 1px;
}

.am-theme-v4 .am-sidebar-section-title {
    margin: 0 10px 4px;
    color: var(--v4-sidebar-section-title);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.am-theme-v4 ul.am-sidebar-menu > li > a,
.am-theme-v4 ul.am-sidebar-menu ul a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    color: var(--v4-sidebar-menu-text);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.am-theme-v4 ul.am-sidebar-menu > li.active > a {
    background: var(--v4-sidebar-menu-active-bg);
    color: var(--v4-sidebar-menu-active-text);
}

.am-theme-v4 ul.am-sidebar-menu > li > a:hover,
.am-theme-v4 ul.am-sidebar-menu ul a:hover {
    background: var(--v4-sidebar-menu-hover-bg);
    color: var(--v4-sidebar-menu-hover-text);
}

.am-theme-v4 .am-sidebar-menu-bullet {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--v4-sidebar-menu-bullet) 95%, transparent);
    background: color-mix(in srgb, var(--v4-sidebar-menu-bullet) 22%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--v4-sidebar-menu-bullet) 8%, transparent);
}

.am-theme-v4 ul.am-sidebar-menu > li.active > a .am-sidebar-menu-bullet,
.am-theme-v4 ul.am-sidebar-menu > li > a:hover .am-sidebar-menu-bullet {
    background: currentColor;
}

.am-theme-v4 ul.am-sidebar-menu ul {
    margin-top: 6px;
    padding-left: 10px;
    display: grid;
    gap: 6px;
}

.am-theme-v4 .am-sidebar-profile {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--v4-sidebar-border);
}

.am-theme-v4 .am-sidebar-avatar-link {
    display: inline-flex;
    flex: 0 0 auto;
    text-decoration: none;
}

.am-theme-v4 .am-sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--v4-sidebar-avatar-text);
    font-size: 13px;
    font-weight: 700;
    background: var(--v4-sidebar-avatar-bg);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--v4-sidebar-avatar-bg) 40%, transparent);
    transition: transform .15s ease, box-shadow .15s ease;
}

.am-theme-v4 .am-sidebar-avatar-link:hover .am-sidebar-avatar {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--v4-sidebar-avatar-bg) 35%, transparent);
}

.am-theme-v4 .am-sidebar-profile-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 2px;
    line-height: 1.2;
    flex: 1 1 auto;
}

.am-theme-v4 a.am-sidebar-user-name {
    color: var(--v4-sidebar-profile-name) !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
    text-decoration: none;
    transition: color .15s ease;
}

.am-theme-v4 a.am-sidebar-user-name:hover {
    color: var(--v4-sidebar-profile-name-hover) !important;
}

.am-theme-v4 .am-sidebar-logout-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--v4-sidebar-logout-color);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    align-self: flex-start;
    transition: color .15s ease;
}

.am-theme-v4 .am-sidebar-logout-link::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/><polyline points='16 17 21 12 16 7'/><line x1='21' y1='12' x2='9' y2='12'/></svg>") no-repeat center / contain;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/><polyline points='16 17 21 12 16 7'/><line x1='21' y1='12' x2='9' y2='12'/></svg>") no-repeat center / contain;
}

.am-theme-v4 .am-sidebar-logout-link:hover {
    color: var(--v4-sidebar-logout-hover-color);
}

.am-theme-v4 .am-dashboard-main {
    padding: 24px;
}

.am-theme-v4 .am-dashboard-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid var(--v4-border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--v4-shadow);
}

.am-theme-v4 .am-dashboard-title {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.am-theme-v4 .am-dashboard-tagline {
    margin: 6px 0 0;
    color: var(--v4-muted);
    font-size: 13px;
    line-height: 1.5;
}

.am-theme-v4 .am-dashboard-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.am-theme-v4 .am-sidebar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--v4-border);
    border-radius: 14px;
    background: #ffffff;
}

.am-theme-v4 .am-sidebar-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    margin: 4px auto;
    background: var(--v4-text);
    border-radius: 999px;
}

.am-theme-v4 .am-dashboard-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 300px;
    width: min(360px, 100%);
    padding: 0 14px;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid var(--v4-border);
    background: #ffffff;
    color: var(--v4-muted);
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.04);
}

.am-theme-v4 .am-dashboard-search:focus-within {
    border-color: color-mix(in srgb, var(--v4-link-color) 28%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--v4-link-color) 10%, transparent);
}

.am-theme-v4 .am-dashboard-search input {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--v4-text);
    font-size: 13px;
    outline: none;
}

.am-theme-v4 .am-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
}

.am-theme-v4 .am-dashboard-grid-single {
    grid-template-columns: 1fr;
}

.am-theme-v4 .am-dashboard-content-card,
.am-theme-v4 .am-dashboard-aside-card,
.am-theme-v4 .am-widget,
.am-theme-v4 .am-input-filter-wrapper,
.am-theme-v4 .member-subscriptions-no {
    border: 1px solid var(--v4-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--v4-shadow);
}

.am-theme-v4 .am-dashboard-content-card {
    padding: 18px;
}

.am-theme-v4 .am-dashboard-grid-single .am-dashboard-content-card {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.am-theme-v4 .am-dashboard-aside-card {
    padding: 18px;
    position: sticky;
    top: 24px;
}

.am-theme-v4 .am-dashboard-aside-head h2,
.am-theme-v4 .am-widget > h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.03em;
    color: var(--v4-text);
}

.am-theme-v4 .am-dashboard-aside-head p {
    margin: 6px 0 0;
    color: var(--v4-muted);
    font-size: 12px;
    line-height: 1.5;
}

.am-theme-v4 .am-dashboard-aside-body,
.am-theme-v4 .am-widget > .am-block {
    margin-top: 14px;
}

.am-theme-v4 .am-dashboard-empty-state {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    background: var(--v4-card-alt);
    color: var(--v4-muted);
    font-size: 12px;
}

.am-theme-v4 .am-layout-two-coll,
.am-theme-v4 .am-layout-two-coll .am-coll-left,
.am-theme-v4 .am-layout-two-coll .am-coll-right {
    float: none;
    width: auto;
}

.am-theme-v4 .am-layout-two-coll .am-coll-left .am-coll-content,
.am-theme-v4 .am-layout-two-coll .am-coll-right .am-coll-content {
    margin: 0;
}

.am-theme-v4 .am-layout-two-coll {
    display: grid;
    gap: 18px;
}

.am-theme-v4 .am-widget {
    padding: 18px;
}

.am-theme-v4 .am-widget + .am-widget {
    margin-top: 18px;
}

.am-theme-v4 .am-widget > h2 {
    margin-bottom: 14px;
}

.am-theme-v4 .am-v4-dashboard {
    display: grid;
    gap: 18px;
}

.am-theme-v4 .am-v4-welcome-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 150px 16px 20px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--v4-link-color) 18%, transparent);
    background-color: #ffffff;
    background-image: var(--v4-box-icon-url);
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 120px 60px;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
}

.am-theme-v4 .am-v4-welcome-banner-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.am-theme-v4 .am-v4-welcome-banner-copy strong {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--v4-text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.am-theme-v4 .am-v4-welcome-hand {
    display: inline-block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex: 0 0 auto;
}

.am-theme-v4 .am-v4-welcome-banner-copy span {
    color: var(--v4-muted);
    font-size: 13px;
    line-height: 1.5;
}

.am-theme-v4 .am-v4-welcome-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-left: auto;
    width: min(760px, 100%);
}

.am-theme-v4 .am-v4-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 18px;
    align-items: start;
}

.am-theme-v4 .am-widget.am-v4-panel {
    margin: 0;
    padding: 20px;
    overflow: hidden;
}

.am-theme-v4 .am-v4-panel-head h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: var(--v4-text);
}

.am-theme-v4 .am-v4-panel-head p {
    margin: 6px 0 0;
    color: var(--v4-muted);
    font-size: 12px;
    line-height: 1.5;
}

.am-theme-v4 .am-v4-panel-head-split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.am-theme-v4 .am-v4-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.am-theme-v4 .am-v4-panel-body {
    margin-top: 16px;
    min-width: 0;
}

.am-theme-v4 .am-v4-panel-body-tight {
    margin-top: 12px;
}

.am-theme-v4 .am-v4-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
}

.am-theme-v4 .am-v4-stat-card {
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--v4-border);
}

.am-theme-v4 .am-v4-stat-card strong {
    color: var(--v4-text);
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.am-theme-v4 .am-v4-stat-card span {
    color: var(--v4-muted);
    font-size: 11px;
    line-height: 1.4;
}

.am-theme-v4 .am-v4-library-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.am-theme-v4 .am-v4-tools-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.am-theme-v4 .am-v4-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.am-theme-v4 .am-v4-filter-pill {
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #E5E7EB;
    background: #F8FAFC;
    color: #111827;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.am-theme-v4 .am-v4-filter-pill.is-active,
.am-theme-v4 .am-v4-filter-pill:hover {
    border-color: var(--v4-link-color);
    background: color-mix(in srgb, var(--v4-link-color) 6%, transparent);
    color: var(--v4-link-color);
}

.am-theme-v4 .am-v4-alert-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.am-theme-v4 .am-v4-alert-card {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    background: var(--v4-card-alt);
    border: 1px solid #E5E7EB;
    min-width: 0;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.am-theme-v4 .am-v4-alert-card:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--v4-link-color) 25%, transparent);
    box-shadow: 0 10px 20px rgba(17, 24, 39, 0.06);
}

.am-theme-v4 .am-v4-alert-title {
    color: var(--v4-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.am-theme-v4 .am-v4-alert-meta {
    color: var(--v4-muted);
    font-size: 11px;
    line-height: 1.55;
}

.am-theme-v4 .am-input-filter-wrapper {
    margin-bottom: 14px;
    padding: 10px 12px;
}

.am-theme-v4 .am-input-filter-wrapper .am-input-filter-inner-wrapper {
    background: #ffffff;
}

.am-theme-v4 .am-input-filter-wrapper input[type=text].am-input-filter {
    font-size: 13px;
    color: var(--v4-text);
}

.am-theme-v4 #member-subscriptions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.am-theme-v4 .am-v4-subscriptions-panel #member-subscriptions {
    grid-template-columns: 1fr;
}

.am-theme-v4 .am-subscription-card {
    display: grid;
    gap: 8px;
    align-content: start;
    min-height: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
}

.am-theme-v4 .am-subscription-card-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
}

.am-theme-v4 .am-subscription-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #F0F9FA;
    color: var(--v4-blue);
    font-size: 14px;
    font-weight: 800;
    flex: 0 0 34px;
}

.am-theme-v4 .am-subscription-card-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.am-theme-v4 .am-subscription-card-title,
.am-theme-v4 .am-subscription-card-title a {
    color: var(--v4-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.am-theme-v4 .am-subscription-card-meta {
    color: var(--v4-muted);
    font-size: 11px;
    line-height: 1.4;
}

.am-theme-v4 .am-subscription-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}

.am-theme-v4 .am-subscription-card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--v4-border);
    color: var(--v4-text);
    font-size: 10px;
    font-weight: 700;
}

.am-theme-v4 .am-v4-help-copy {
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--v4-link-color) 18%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--v4-link-color) 8%, white) 0%, color-mix(in srgb, var(--v4-link-color) 4%, white) 100%);
    color: var(--v4-text);
    font-size: 13px;
    line-height: 1.7;
}

.am-theme-v4 .am-v4-alerts-panel > * + * {
    margin-top: 14px;
}

.am-theme-v4 .am-v4-alert-widget-title {
    margin: 0;
    color: var(--v4-text);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
}

.am-theme-v4 .am-v4-alert-widget-body {
    margin-top: 12px;
    color: var(--v4-text);
    font-size: 13px;
    line-height: 1.7;
}

.am-theme-v4 .am-v4-alert-widget-body > :first-child {
    margin-top: 0;
}

.am-theme-v4 .am-v4-alert-widget-body > :last-child {
    margin-bottom: 0;
}

.am-theme-v4 #member-resources {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 220px));
    justify-content: flex-start;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.am-theme-v4 #member-resources > li,
.am-theme-v4 .am-resource-card {
    min-width: 0;
}

.am-theme-v4 .am-resource-card {
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid var(--v4-border);
    background: #ffffff;
    box-shadow: var(--v4-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    padding: 18px;
}

.am-theme-v4 .am-resource-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--v4-btn-hover-color) 36%, transparent);
    box-shadow: 0 18px 34px color-mix(in srgb, var(--v4-btn-hover-color) 22%, transparent);
}

.am-theme-v4 .am-resource-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0;
    background: #ffffff;
}

.am-theme-v4 .am-resource-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.am-theme-v4 .am-resource-card-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 30px;
    padding: 10px 16px;
    background: var(--v4-btn-color);
    border-radius: 12px;
}

.am-theme-v4 .am-resource-card:hover .am-resource-card-footer {
    background: var(--v4-btn-hover-color);
}

.am-theme-v4 .am-resource-card-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
}

.am-theme-v4 .am-list-resources-desc {
    display: none;
}

.am-theme-v4 .am-list-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.am-theme-v4 .am-list-links li a {
    display: block;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--v4-card-alt);
    color: var(--v4-text);
    font-size: 13px;
    font-weight: 600;
}

.am-theme-v4 .am-dashboard-aside .am-coll-right {
    width: auto;
    float: none;
}

.am-theme-v4 .am-dashboard-aside .am-coll-right .am-coll-content {
    margin: 0;
}

.am-theme-v4 .am-dashboard-aside .am-widget {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.am-theme-v4 .am-dashboard-aside .am-widget + .am-widget {
    margin-top: 14px;
}

.am-theme-v4 .am-dashboard-aside .am-widget > h2 {
    margin-bottom: 8px;
    font-size: 14px;
}

.am-theme-v4 .am-dashboard-aside .am-widget > .am-block {
    margin-top: 0;
    padding: 14px;
    border-radius: 14px;
    background: var(--v4-card-alt);
    border: 1px solid #E5E7EB;
    min-width: 0;
}

.am-theme-v4 .am-body-content input,
.am-theme-v4 .am-body-content textarea,
.am-theme-v4 .am-body-content select,
.am-theme-v4 .am-body-content button {
    font-size: 13px;
}

.am-theme-v4 .am-body-content a.button,
.am-theme-v4 .am-body-content button,
.am-theme-v4 .am-body-content input[type="button"],
.am-theme-v4 .am-body-content input[type="submit"] {
    background: var(--v4-btn-color);
    border-color: var(--v4-btn-color);
    color: #ffffff;
    border-radius: 12px;
}

.am-theme-v4 .am-body-content a.button:hover,
.am-theme-v4 .am-body-content button:hover,
.am-theme-v4 .am-body-content input[type="button"]:hover,
.am-theme-v4 .am-body-content input[type="submit"]:hover {
    background: var(--v4-btn-color);
    border-color: var(--v4-btn-color);
}

.am-theme-v4 .am-public-brand {
    padding: 20px 0;
}

.am-theme-v4 .am-layout.am-common {
    background: transparent;
}

.am-theme-v4 .am-header,
.am-theme-v4 .am-header-line,
.am-theme-v4 .am-body,
.am-theme-v4 .am-body .am-body-content-wrapper {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.am-theme-v4 .am-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.am-theme-v4 .am-main {
    max-width: var(--am_max_width_px);
}

.am-theme-v4 .am-footer .am-footer-content-wrapper {
    background: transparent;
    color: var(--v4-muted);
}

.am-page-login.am-theme-v4 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top left, color-mix(in srgb, var(--v4-menu-color) 14%, transparent) 0%, color-mix(in srgb, var(--v4-menu-color) 0%, transparent) 34%), #EFF6FE;
}

.am-page-login.am-theme-v4 .am-layout {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.am-page-login.am-theme-v4 .am-header {
    display: none;
}

.am-page-login.am-theme-v4 .am-body,
.am-page-login.am-theme-v4 .am-body .am-body-content-wrapper,
.am-page-login.am-theme-v4 .am-body-content {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    margin: 0;
}

.am-page-login.am-theme-v4 .am-body-content-wrapper {
    width: 100%;
    max-width: 1160px;
    padding: 32px 24px 40px;
}

.am-page-login.am-theme-v4 .am-footer {
    background: transparent;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.am-page-login.am-theme-v4 .am-footer .am-footer-content-wrapper {
    background: transparent;
    color: rgba(17, 24, 39, 0.46);
    height: auto;
    font-size: 12px;
}

.am-page-login.am-theme-v4 .am-footer-actions {
    display: none;
}

.am-page-login.am-theme-v4 .am-credits {
    color: rgba(17, 24, 39, 0.34);
}

.am-page-login.am-theme-v4 .am-login-layout-with-sidebar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 32px;
    max-width: 1160px;
    min-height: calc(100vh - 140px);
    margin: 0 auto;
}

.am-page-login.am-theme-v4 .am-login-layout-with-sidebar_form,
.am-page-login.am-theme-v4 .am-login-layout-with-sidebar_sidebar {
    width: auto;
    float: none;
}

.am-page-login.am-theme-v4 .am-login-layout-with-sidebar_clear {
    display: none;
}

.am-page-login.am-theme-v4 .am-v4-login-form-column {
    flex: 1 1 420px;
    display: flex;
    align-items: center;
    max-width: 440px;
}

.am-page-login.am-theme-v4 .am-v4-login-form-card {
    width: 100%;
    padding: 28px 26px 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.96) 100%);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 22px 54px rgba(17, 24, 39, 0.12);
}

.am-page-login.am-theme-v4 .am-v4-login-form-head {
    margin-bottom: 24px;
}

.am-page-login.am-theme-v4 .am-v4-login-title {
    margin: 0 0 8px;
    color: var(--v4-text);
    font-size: 31px;
    font-weight: 700;
    line-height: 1.15;
}

.am-page-login.am-theme-v4 .am-v4-login-subtitle {
    margin: 0;
    color: var(--v4-muted);
    font-size: 14px;
    line-height: 1.5;
}

.am-page-login.am-theme-v4 .am-login-form-wrapper,
.am-page-login.am-theme-v4 .am-sendpass-form-wrapper {
    margin-top: 0;
}

.am-page-login.am-theme-v4 .am-auth-form,
.am-page-login.am-theme-v4 .am-auth-form form,
.am-page-login.am-theme-v4 .am-form,
.am-page-login.am-theme-v4 .am-login-form,
.am-page-login.am-theme-v4 .am-sendpass-form,
.am-page-login.am-theme-v4 .am-login-form-wrapper .am-form,
.am-page-login.am-theme-v4 .am-sendpass-form-wrapper .am-form {
    width: 100%;
    max-width: none;
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.am-page-login.am-theme-v4 .am-auth-form form,
.am-page-login.am-theme-v4 form {
    overflow: visible;
}

.am-page-login.am-theme-v4 .am-auth-form legend,
.am-page-login.am-theme-v4 form legend {
    display: none;
}

.am-page-login.am-theme-v4 .am-auth-form fieldset,
.am-page-login.am-theme-v4 form fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.am-page-login.am-theme-v4 .am-auth-form div.am-row,
.am-page-login.am-theme-v4 .am-auth-form div.am-row-wide {
    display: block;
    margin-bottom: 16px;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
}

.am-page-login.am-theme-v4 .am-auth-form div.am-row div.am-element,
.am-page-login.am-theme-v4 .am-auth-form div.am-row div.am-element-title {
    width: 100%;
    float: none;
    margin: 0;
    padding: 0;
}

.am-page-login.am-theme-v4 .am-auth-form div.am-row div.am-element-title {
    display: none;
}

.am-page-login.am-theme-v4 .am-body-content input[type="text"],
.am-page-login.am-theme-v4 .am-body-content input[type="password"],
.am-page-login.am-theme-v4 .am-body-content input[type="email"],
.am-page-login.am-theme-v4 .am-body-content select,
.am-page-login.am-theme-v4 .am-body-content textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 16px;
    box-sizing: border-box;
    background-color: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    color: var(--v4-text);
    font-size: 14px;
    line-height: 46px;
    box-shadow: none;
}

.am-page-login.am-theme-v4 .am-auth-form input[name=login],
.am-page-login.am-theme-v4 .am-auth-form input[name=amember_login],
.am-page-login.am-theme-v4 .am-auth-form input[name=amember_pass] {
    background-position: 12px center;
    padding-left: 42px;
}

.am-page-login.am-theme-v4 .am-body-content input[type="text"]:focus,
.am-page-login.am-theme-v4 .am-body-content input[type="password"]:focus,
.am-page-login.am-theme-v4 .am-body-content input[type="email"]:focus,
.am-page-login.am-theme-v4 .am-body-content select:focus,
.am-page-login.am-theme-v4 .am-body-content textarea:focus {
    border-color: var(--v4-blue-soft);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--v4-menu-color) 18%, transparent);
    outline: none;
}

.am-page-login.am-theme-v4 .am-body-content input::placeholder,
.am-page-login.am-theme-v4 .am-body-content textarea::placeholder {
    color: #9CA3AF;
}

.am-page-login.am-theme-v4 .am-pass-reveal-wrapper {
    position: relative;
}

.am-page-login.am-theme-v4 .am-pass-reveal-btn {
    right: 12px;
    color: rgba(107, 114, 128, 0.75);
}

.am-page-login.am-theme-v4 .am-row-sendpass-notice .am-element {
    color: var(--v4-muted);
    font-size: 13px;
    line-height: 1.6;
}

.am-page-login.am-theme-v4 .am-row-buttons {
    margin-top: 18px;
    margin-bottom: 0;
}

.am-page-login.am-theme-v4 .am-row-buttons .am-element {
    display: block;
}

.am-page-login.am-theme-v4 .am-body-content input[type="submit"],
.am-page-login.am-theme-v4 .am-body-content button[type="submit"] {
    width: 100%;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--v4-btn-color) 0%, var(--v4-btn-color) 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    cursor: pointer;
    box-shadow: none;
}

.am-page-login.am-theme-v4 .am-body-content input[type="submit"]:hover,
.am-page-login.am-theme-v4 .am-body-content button[type="submit"]:hover {
    background: var(--v4-btn-color);
}

.am-page-login.am-theme-v4 .am-form-login-switch-wrapper {
    display: block;
    margin-top: 14px;
    text-align: center;
}

.am-page-login.am-theme-v4 .am-form-login-switch {
    color: var(--v4-blue) !important;
    font-size: 12px;
    font-weight: 600;
}

.am-page-login.am-theme-v4 .am-signup-link {
    margin-top: 14px;
    color: var(--v4-muted);
    font-size: 12px;
    text-align: center;
}

.am-page-login.am-theme-v4 .am-signup-link a {
    color: var(--v4-blue);
    font-weight: 600;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar {
    flex: 1 1 560px;
    display: flex;
    align-items: stretch;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-card {
    width: 100%;
    min-height: calc(100% - 120px);
    margin-bottom: 40px;
    padding: 26px 24px;
    border-radius: 20px;
    background: linear-gradient(180deg, #F8FAFC 0%, #F0F9FA 100%);
    border: 1px solid color-mix(in srgb, var(--v4-menu-color) 14%, transparent);
    box-shadow: 0 22px 54px rgba(17, 24, 39, 0.1);
    color: var(--v4-muted);
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-logo-left {
    text-align: left;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-logo-center {
    text-align: center;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-logo-right {
    text-align: right;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-logo-panel .am-brand-logo img {
    display: block;
    max-width: 100%;
    max-height: 96px;
    width: auto;
    height: auto;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-top {
    display: grid;
    grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-logo-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid color-mix(in srgb, var(--v4-menu-color) 12%, transparent);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-copy-panel {
    min-width: 0;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-copy h2 {
    margin: 0 0 10px;
    color: var(--v4-text);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-copy p {
    margin: 0;
    color: var(--v4-muted);
    font-size: 13px;
    line-height: 1.65;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-copy > :first-child {
    margin-top: 0;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-copy > :last-child {
    margin-bottom: 0;
}

.am-page-login.am-theme-v4 .am-v4-login-quick-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.am-page-login.am-theme-v4 .am-v4-login-quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--v4-link-color) 18%, transparent);
    background: rgba(255, 255, 255, 0.88);
    color: var(--v4-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}

.am-page-login.am-theme-v4 .am-v4-login-quick-link:hover,
.am-page-login.am-theme-v4 .am-v4-login-quick-link:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--v4-link-color) 34%, transparent);
    background: color-mix(in srgb, var(--v4-link-color) 8%, white);
    color: var(--v4-link-color);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--v4-link-color) 12%, transparent);
    outline: none;
}

.am-page-login.am-theme-v4 .am-v4-login-quick-link-static {
    cursor: default;
}

.am-page-login.am-theme-v4 .am-v4-login-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.am-page-login.am-theme-v4 .am-v4-login-feature-card {
    display: grid;
    align-content: start;
    gap: 10px;
    min-width: 0;
    padding: 16px 14px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--v4-menu-color) 14%, transparent);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.05);
}

.am-page-login.am-theme-v4 .am-v4-login-feature-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}

.am-page-login.am-theme-v4 .am-v4-login-feature-media img {
    display: block;
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
}

.am-page-login.am-theme-v4 .am-v4-login-feature-title {
    margin: 0;
    color: var(--v4-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.am-page-login.am-theme-v4 .am-v4-login-feature-text {
    margin: 0;
    color: var(--v4-muted);
    font-size: 12px;
    line-height: 1.55;
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-banner,
.am-page-login.am-theme-v4 .am-v4-login-whatsapp-card {
    display: block;
    margin-top: 24px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--v4-btn-color) 28%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--v4-btn-color) 7%, white), #ffffff);
    box-shadow: 0 16px 34px color-mix(in srgb, var(--v4-btn-color) 12%, transparent);
    color: var(--v4-text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: inherit;
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-banner:hover,
.am-page-login.am-theme-v4 .am-v4-login-whatsapp-banner:focus-visible,
.am-page-login.am-theme-v4 .am-v4-login-whatsapp-card:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--v4-btn-hover-color) 34%, transparent);
    box-shadow: 0 20px 40px color-mix(in srgb, var(--v4-btn-hover-color) 18%, transparent);
    outline: none;
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-card-media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #ffffff;
    color: #25D366;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--v4-btn-color) 12%, transparent);
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-card-media svg {
    display: block;
    width: 32px;
    height: 32px;
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-card-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-card-copy strong {
    color: var(--v4-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.am-page-login.am-theme-v4 .am-v4-login-whatsapp-card-copy span {
    color: var(--v4-muted);
    font-size: 12px;
    line-height: 1.5;
}

.am-page-login.am-theme-v4 .am-v4-login-social-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.am-page-login.am-theme-v4 .am-v4-login-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 68px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--v4-btn-color) 20%, transparent);
    background: rgba(255, 255, 255, 0.9);
    color: var(--v4-btn-color);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
    transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.am-page-login.am-theme-v4 .am-v4-login-social-link:hover {
    transform: translateY(-2px);
    color: var(--v4-btn-hover-color);
    border-color: color-mix(in srgb, var(--v4-btn-hover-color) 30%, transparent);
    background: color-mix(in srgb, var(--v4-btn-hover-color) 8%, white);
    box-shadow: 0 16px 30px color-mix(in srgb, var(--v4-btn-hover-color) 16%, transparent);
}

.am-page-login.am-theme-v4 .am-v4-login-social-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--v4-link-color) 18%, transparent), 0 16px 30px color-mix(in srgb, var(--v4-btn-hover-color) 16%, transparent);
}

.am-page-login.am-theme-v4 .am-v4-login-social-link-whatsapp {
    color: #25D366;
}

.am-page-login.am-theme-v4 .am-v4-login-social-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.am-page-login.am-theme-v4 .am-v4-login-social-link-icon svg,
.am-page-login.am-theme-v4 .am-v4-login-social-link-icon img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.am-theme-v4 .am-auth-form form {
    border-radius: 20px;
    box-shadow: var(--v4-shadow);
}

/* Signup page styling lives in theme.css so v4 remains portable across sites. */
.am-theme-v4.am-page-signup .am-dashboard-grid {
    grid-template-columns: 1fr;
}

.am-theme-v4.am-page-signup .am-dashboard-aside {
    display: none;
}

.am-theme-v4.am-page-signup .am-dashboard-content-card {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.am-theme-v4.am-page-signup .am-v4-signup-card-shell {
    padding: 28px;
    border: 1px solid var(--v4-border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow: 0 22px 50px rgba(17, 24, 39, 0.08);
    overflow: hidden;
}

.am-theme-v4.am-page-signup .am-form legend {
    margin: 0 0 18px;
    color: var(--v4-text);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.am-theme-v4.am-page-signup .am-form div.am-row,
.am-theme-v4.am-page-signup .am-form div.am-row-wide {
    padding: 18px 0;
}

.am-theme-v4.am-page-signup .am-form div.am-row-buttons {
    padding-top: 24px;
}

.am-theme-v4.am-page-signup .am-form div.am-element-title label,
.am-theme-v4.am-page-signup .am-form div.am-element-title {
    font-size: 13px;
    font-weight: 700;
}

.am-theme-v4.am-page-signup .am-form div.am-element input[type="text"],
.am-theme-v4.am-page-signup .am-form div.am-element input[type="email"],
.am-theme-v4.am-page-signup .am-form div.am-element input[type="password"],
.am-theme-v4.am-page-signup .am-form div.am-element input[type="number"],
.am-theme-v4.am-page-signup .am-form div.am-element input[type="tel"],
.am-theme-v4.am-page-signup .am-form div.am-element input[type="url"],
.am-theme-v4.am-page-signup .am-form div.am-element select,
.am-theme-v4.am-page-signup .am-form div.am-element textarea {
    min-height: 50px;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(17, 24, 39, 0.05);
}

.am-theme-v4.am-page-signup .am-form div.am-element textarea {
    min-height: 130px;
    padding: 14px 16px;
}

.am-theme-v4.am-page-signup .am-form div.am-element input[type="submit"],
.am-theme-v4.am-page-signup .am-form div.am-element input[type="button"],
.am-theme-v4.am-page-signup .am-form div.am-element button,
.am-theme-v4.am-page-signup .am-form div.am-element a.button,
.am-theme-v4.am-page-signup .v4-plan-details-btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--v4-btn-color) 0%, var(--v4-btn-color) 100%);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--v4-btn-color) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 800;
}

.am-theme-v4.am-page-signup .am-form div.am-element input[type="submit"]:hover,
.am-theme-v4.am-page-signup .am-form div.am-element input[type="button"]:hover,
.am-theme-v4.am-page-signup .am-form div.am-element button:hover,
.am-theme-v4.am-page-signup .am-form div.am-element a.button:hover,
.am-theme-v4.am-page-signup .v4-plan-details-btn:hover {
    box-shadow: 0 18px 34px color-mix(in srgb, var(--v4-link-color) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.am-theme-v4.am-page-signup #row-product_id_page-0-0 {
    display: block;
    margin: 4px 0 24px;
    padding: 0 0 6px;
    width: 100%;
    box-sizing: border-box;
}

.am-theme-v4.am-page-signup #row-product_id_page-0-0 > .am-element-title {
    display: none;
}

.am-theme-v4.am-page-signup #row-product_id_page-0-0 > .am-element {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    box-sizing: border-box;
    clear: both !important;
}

.am-theme-v4.am-page-signup .v4-plan-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 370px;
    grid-auto-flow: row;
    gap: 22px;
    align-items: stretch !important;
    justify-items: stretch !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.am-theme-v4.am-page-signup .v4-plan-grid > label {
    grid-column: auto !important;
    grid-row: auto !important;
}

.am-theme-v4.am-page-signup #row-product_id_page-0-0 label {
    position: relative !important;
    display: grid !important;
    grid-template-rows: auto auto auto minmax(132px, 1fr) auto;
    gap: 10px;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    min-height: 370px !important;
    box-sizing: border-box !important;
    padding: 18px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
    box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
}

.am-theme-v4.am-page-signup #row-product_id_page-0-0 label:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--v4-link-color) 45%, transparent);
    box-shadow: 0 22px 44px rgba(17, 24, 39, 0.13);
}

.am-theme-v4.am-page-signup #row-product_id_page-0-0 label.v4-plan-selected {
    border-color: color-mix(in srgb, var(--v4-menu-color) 75%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--v4-menu-color) 12%, transparent), 0 22px 44px rgba(17, 24, 39, 0.13);
}

.am-theme-v4.am-page-signup #row-product_id_page-0-0 label.v4-plan-selected:after {
    content: "";
    position: absolute;
    right: 16px;
    top: 16px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff, var(--v4-menu-color) 38%, var(--v4-link-color) 70%);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--v4-menu-color) 14%, transparent);
}

.am-theme-v4.am-page-signup #row-product_id_page-0-0 input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.am-theme-v4.am-page-signup .am-product-title {
    padding-right: 28px;
    color: var(--v4-text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.am-theme-v4.am-page-signup .am-product-terms {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 7px 11px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--v4-menu-color) 18%, transparent);
    background: color-mix(in srgb, var(--v4-menu-color) 8%, transparent);
    color: var(--v4-menu-color);
    font-weight: 800;
    font-size: 12px;
    line-height: 1.3;
}

.am-theme-v4.am-page-signup .v4-plan-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.am-theme-v4.am-page-signup .v4-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--v4-menu-color) 22%, transparent);
    background: color-mix(in srgb, var(--v4-menu-color) 10%, transparent);
    color: var(--v4-menu-color);
    font-size: 11px;
    font-weight: 800;
}

.am-theme-v4.am-page-signup .v4-plan-pill-bonus {
    border-color: rgba(245, 158, 11, 0.26);
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
}

.am-theme-v4.am-page-signup .v4-plan-scroll {
    min-height: 0;
    overflow: auto;
    padding-right: 8px;
    scrollbar-gutter: stable;
}

.am-theme-v4.am-page-signup .v4-plan-scroll::-webkit-scrollbar {
    width: 6px;
}

.am-theme-v4.am-page-signup .v4-plan-scroll::-webkit-scrollbar-track {
    background: #F0F9FA;
    border-radius: 999px;
}

.am-theme-v4.am-page-signup .v4-plan-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--v4-menu-color), var(--v4-link-color));
    border-radius: 999px;
}

.am-theme-v4.am-page-signup .v4-plan-section-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 8px;
    padding: 8px 10px;
    border: 1px solid var(--v4-border);
    border-radius: 10px;
    background: #F8FAFC;
    color: var(--v4-text);
    font-size: 12px;
    font-weight: 800;
}

.am-theme-v4.am-page-signup .v4-plan-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.am-theme-v4.am-page-signup .v4-plan-list li {
    display: flex;
    gap: 8px;
    color: var(--v4-text);
    font-size: 12px;
    line-height: 1.45;
}

.am-theme-v4.am-page-signup .v4-plan-list li:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--v4-btn-color);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.am-theme-v4.am-page-signup .v4-plan-tip {
    display: none;
}

.am-theme-v4.am-page-signup .v4-plan-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(3px);
}

.am-theme-v4.am-page-signup .v4-plan-modal.is-open {
    display: flex;
}

.am-theme-v4.am-page-signup .v4-plan-modal-card {
    width: min(860px, 94vw);
    max-height: 88vh;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--v4-border);
    box-shadow: 0 28px 70px rgba(17, 24, 39, 0.24);
    padding: 20px;
}

.am-theme-v4.am-page-signup .v4-plan-modal-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 14px;
}

.am-theme-v4.am-page-signup .v4-plan-modal-title {
    margin: 0;
    color: var(--v4-text);
    font-size: 22px;
    font-weight: 800;
}

.am-theme-v4.am-page-signup .v4-plan-modal-close {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 12px;
    background: #ffffff;
    color: var(--v4-muted);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
    font-size: 20px;
    cursor: pointer;
}

.am-theme-v4.am-page-signup .v4-plan-modal-body {
    max-height: 64vh;
    overflow: auto;
    padding-right: 8px;
}

.am-theme-v4.am-page-signup .v4-plan-modal-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px;
}

.am-theme-v4.am-page-signup .v4-plan-modal-grid li {
    border: 1px solid var(--v4-border);
    border-radius: 12px;
    background: #F8FAFC;
    padding: 10px;
    color: var(--v4-text);
    font-size: 13px;
    line-height: 1.4;
}

@media (max-width: 1180px) {
    .am-page-login.am-theme-v4 .am-login-layout-with-sidebar {
        gap: 28px;
        min-height: auto;
    }

    .am-page-login.am-theme-v4 .am-v4-login-sidebar {
        flex-basis: 500px;
    }

    .am-page-login.am-theme-v4 .am-v4-login-sidebar-top {
        grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
    }

    .am-page-login.am-theme-v4 .am-v4-login-social-links {
        gap: 10px;
    }

    .am-theme-v4 .am-dashboard-shell {
        grid-template-columns: 1fr;
    }

    .am-theme-v4 .am-dashboard-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: 280px;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        z-index: 1000;
    }

    .am-theme-v4 .am-dashboard-sidebar.am-sidebar-open {
        transform: translateX(0);
    }

    .am-theme-v4 .am-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .am-theme-v4 .am-dashboard-aside-card {
        position: static;
    }

    .am-theme-v4 .am-v4-overview-grid {
        grid-template-columns: 1fr;
    }

    .am-theme-v4 #member-subscriptions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-theme-v4 .am-v4-welcome-banner {
        flex-direction: column;
        align-items: stretch;
    }

    .am-theme-v4 .am-v4-welcome-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-left: 0;
        width: 100%;
    }

    .am-theme-v4.am-page-signup .v4-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 370px;
    }
}

@media (max-width: 900px) {
    .am-page-login.am-theme-v4 .am-layout {
        display: block;
    }

    .am-page-login.am-theme-v4 .am-body-content-wrapper {
        padding: 24px 16px 28px;
    }

    .am-page-login.am-theme-v4 .am-login-layout-with-sidebar {
        flex-direction: column;
        max-width: 680px;
        gap: 20px;
    }

    .am-page-login.am-theme-v4 .am-v4-login-form-column,
    .am-page-login.am-theme-v4 .am-v4-login-sidebar {
        max-width: none;
        flex-basis: auto;
    }

    .am-page-login.am-theme-v4 .am-v4-login-form-card,
    .am-page-login.am-theme-v4 .am-v4-login-sidebar-card {
        padding: 24px 20px;
    }

    .am-page-login.am-theme-v4 .am-v4-login-sidebar-top {
        grid-template-columns: 1fr;
    }

    .am-page-login.am-theme-v4 .am-v4-login-sidebar-logo-panel {
        min-height: 120px;
    }

    .am-page-login.am-theme-v4 .am-v4-login-quick-links {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .am-page-login.am-theme-v4 .am-v4-login-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-page-login.am-theme-v4 .am-v4-login-social-links {
        grid-template-columns: repeat(5, minmax(44px, 1fr));
    }

    .am-page-login.am-theme-v4 .am-v4-login-title {
        font-size: 28px;
    }

    .am-theme-v4 .am-dashboard-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .am-theme-v4 .am-dashboard-toolbar {
        width: 100%;
    }

    .am-theme-v4 .am-dashboard-search {
        min-width: 0;
        width: 100%;
    }

    .am-theme-v4 .am-v4-library-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .am-theme-v4 .am-v4-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-theme-v4 .am-v4-welcome-banner-copy strong {
        font-size: 22px;
    }

    .am-theme-v4.am-page-signup .am-v4-signup-card-shell {
        padding: 22px;
    }

    .am-theme-v4.am-page-signup .am-form div.am-row,
    .am-theme-v4.am-page-signup .am-form div.am-row-wide,
    .am-theme-v4 .am-dashboard-main .am-form div.am-row,
    .am-theme-v4 .am-dashboard-main .am-form div.am-row-wide {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .am-theme-v4 .am-sidebar-toggle {
        display: inline-block;
    }
}

@media (max-width: 640px) {
    .am-page-login.am-theme-v4 .am-v4-login-quick-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .am-page-login.am-theme-v4 .am-v4-login-feature-grid {
        grid-template-columns: 1fr;
    }

    .am-page-login.am-theme-v4 .am-v4-login-social-links {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }

    .am-page-login.am-theme-v4 .am-v4-login-social-link {
        min-height: 58px;
        border-radius: 16px;
    }
}

/* ------------------------------------------------------------
   Modern dashboard form controls (inputs, textareas, selects,
   radios, checkboxes, buttons) and prominent empty states.
   ------------------------------------------------------------ */
.am-theme-v4 .am-dashboard-main input[type="text"],
.am-theme-v4 .am-dashboard-main input[type="email"],
.am-theme-v4 .am-dashboard-main input[type="password"],
.am-theme-v4 .am-dashboard-main input[type="number"],
.am-theme-v4 .am-dashboard-main input[type="tel"],
.am-theme-v4 .am-dashboard-main input[type="url"],
.am-theme-v4 .am-dashboard-main input[type="search"],
.am-theme-v4 .am-dashboard-main select,
.am-theme-v4 .am-dashboard-main textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    color: var(--v4-text);
    font-size: 14px;
    line-height: 1.4;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
    outline: none;
}

.am-theme-v4 .am-dashboard-main textarea {
    min-height: 110px;
    line-height: 1.5;
    resize: vertical;
    padding-top: 12px;
    padding-bottom: 12px;
}

.am-theme-v4 .am-dashboard-main input[type="text"]:focus,
.am-theme-v4 .am-dashboard-main input[type="email"]:focus,
.am-theme-v4 .am-dashboard-main input[type="password"]:focus,
.am-theme-v4 .am-dashboard-main input[type="number"]:focus,
.am-theme-v4 .am-dashboard-main input[type="tel"]:focus,
.am-theme-v4 .am-dashboard-main input[type="url"]:focus,
.am-theme-v4 .am-dashboard-main input[type="search"]:focus,
.am-theme-v4 .am-dashboard-main select:focus,
.am-theme-v4 .am-dashboard-main textarea:focus {
    background: #ffffff;
    border-color: var(--v4-blue-soft);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--v4-menu-color) 18%, transparent);
}

.am-theme-v4 .am-dashboard-main input[type="text"][disabled],
.am-theme-v4 .am-dashboard-main input[disabled],
.am-theme-v4 .am-dashboard-main select[disabled],
.am-theme-v4 .am-dashboard-main textarea[disabled] {
    background: #F1F5F9;
    color: var(--v4-muted);
    cursor: not-allowed;
}

.am-theme-v4 .am-dashboard-main input::placeholder,
.am-theme-v4 .am-dashboard-main textarea::placeholder {
    color: #9CA3AF;
}

.am-theme-v4 .am-dashboard-main label,
.am-theme-v4 .am-dashboard-main .am-element-title {
    color: var(--v4-text);
    font-size: 13px;
    font-weight: 600;
}

.am-theme-v4 .am-dashboard-main div.am-row {
    margin-bottom: 16px;
}

.am-theme-v4 .am-dashboard-main .am-form,
.am-theme-v4 .am-dashboard-main .am-form form,
.am-theme-v4 .am-dashboard-main .am-form fieldset {
    max-width: none;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-row,
.am-theme-v4 .am-dashboard-main .am-form div.am-row-wide {
    display: grid;
    grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid rgba(229, 231, 235, 0.75);
}

.am-theme-v4 .am-dashboard-main .am-form div.am-row:first-of-type,
.am-theme-v4 .am-dashboard-main .am-form div.am-row-wide:first-of-type {
    padding-top: 0;
    border-top: 0;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-row::after,
.am-theme-v4 .am-dashboard-main .am-form div.am-row-wide::after {
    display: none;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-element-title,
.am-theme-v4 .am-dashboard-main .am-form div.am-element {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-element-title {
    text-align: left;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-element-title label {
    display: block;
    color: var(--v4-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-element-title .comment,
.am-theme-v4 .am-dashboard-main .am-form div.am-element > .comment {
    margin-top: 6px;
    color: var(--v4-muted);
    font-size: 12px;
    line-height: 1.55;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-row-buttons,
.am-theme-v4 .am-dashboard-main .am-form div.am-row.am-no-label,
.am-theme-v4 .am-dashboard-main .am-form div.am-row.am-row-wide {
    grid-template-columns: 1fr;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-row-buttons {
    padding-top: 22px;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-row-buttons .am-element {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Modern radio + checkbox */
.am-theme-v4 .am-dashboard-main input[type="radio"],
.am-theme-v4 .am-dashboard-main input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0 8px 0 0;
    vertical-align: middle;
    border: 1.5px solid #D1D5DB;
    background: #ffffff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
    position: relative;
    box-sizing: border-box;
}

.am-theme-v4 .am-dashboard-main input[type="radio"] {
    border-radius: 50%;
}

.am-theme-v4 .am-dashboard-main input[type="checkbox"] {
    border-radius: 5px;
}

.am-theme-v4 .am-dashboard-main input[type="radio"]:hover,
.am-theme-v4 .am-dashboard-main input[type="checkbox"]:hover {
    border-color: var(--v4-blue-soft);
}

.am-theme-v4 .am-dashboard-main input[type="radio"]:focus,
.am-theme-v4 .am-dashboard-main input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--v4-menu-color) 22%, transparent);
}

.am-theme-v4 .am-dashboard-main input[type="radio"]:checked {
    border-color: var(--v4-blue);
    background: radial-gradient(circle, var(--v4-blue) 40%, #ffffff 45%);
}

.am-theme-v4 .am-dashboard-main input[type="checkbox"]:checked {
    border-color: var(--v4-blue);
    background: var(--v4-blue);
}

.am-theme-v4 .am-dashboard-main input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Modern buttons + submits */
.am-theme-v4 .am-dashboard-main button,
.am-theme-v4 .am-dashboard-main input[type="submit"],
.am-theme-v4 .am-dashboard-main input[type="button"],
.am-theme-v4 .am-dashboard-main a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--v4-btn-color) 0%, var(--v4-btn-color) 100%);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--v4-menu-color) 22%, transparent);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    text-decoration: none;
}

.am-theme-v4 .am-dashboard-main .am-form div.am-element input[type="submit"],
.am-theme-v4 .am-dashboard-main .am-form div.am-element input[type="button"],
.am-theme-v4 .am-dashboard-main .am-form div.am-element button,
.am-theme-v4 .am-dashboard-main .am-form div.am-element a.button {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--v4-btn-color) 0%, var(--v4-btn-color) 100%);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--v4-btn-color) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 800;
}

.am-theme-v4 .am-dashboard-main button:hover,
.am-theme-v4 .am-dashboard-main input[type="submit"]:hover,
.am-theme-v4 .am-dashboard-main input[type="button"]:hover,
.am-theme-v4 .am-dashboard-main a.button:hover {
    transform: translateY(-1px);
    background: var(--v4-btn-color);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--v4-btn-color) 20%, transparent);
}

.am-theme-v4 .am-dashboard-main .am-form div.am-element input[type="submit"]:hover,
.am-theme-v4 .am-dashboard-main .am-form div.am-element input[type="button"]:hover,
.am-theme-v4 .am-dashboard-main .am-form div.am-element button:hover,
.am-theme-v4 .am-dashboard-main .am-form div.am-element a.button:hover {
    box-shadow: 0 18px 34px color-mix(in srgb, var(--v4-link-color) 24%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.am-theme-v4 .am-dashboard-main button:active,
.am-theme-v4 .am-dashboard-main input[type="submit"]:active,
.am-theme-v4 .am-dashboard-main input[type="button"]:active,
.am-theme-v4 .am-dashboard-main a.button:active {
    transform: translateY(0);
}

.am-theme-v4 .am-dashboard-main button[disabled],
.am-theme-v4 .am-dashboard-main input[type="submit"][disabled] {
    background: #D1D5DB;
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: none;
    cursor: not-allowed;
}

/* Modern links inside dashboard content */
.am-theme-v4 .am-dashboard-main .am-dashboard-content-card a:not(.button):not(.am-resource-card):not([class*="am-sidebar"]):not(.am-subscription-card-actions a) {
    color: var(--v4-blue);
    font-weight: 600;
    text-decoration: none;
    transition: color .15s ease;
}

.am-theme-v4 .am-dashboard-main .am-dashboard-content-card a:not(.button):not(.am-resource-card):not([class*="am-sidebar"]):hover {
    color: var(--v4-link-color);
    text-decoration: underline;
}

/* Prominent empty/no-subscriptions banner */
.am-theme-v4 .member-subscriptions-no {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 26px !important;
    border: 1px solid #E5E7EB !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, #F8FAFC 0%, #F0F9FA 100%) !important;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06) !important;
    color: var(--v4-text);
    font-size: 14px;
    line-height: 1.5;
}

.am-theme-v4 .member-subscriptions-no-illu {
    flex: 0 0 auto;
    width: 180px;
    max-width: 32%;
}

.am-theme-v4 .member-subscriptions-no-illu svg {
    display: block;
    width: 100%;
    height: auto;
}

.am-theme-v4 .member-subscriptions-no-content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.am-theme-v4 .member-subscriptions-no h3 {
    margin: 0 0 6px;
    color: var(--v4-text);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.am-theme-v4 .member-subscriptions-no p {
    margin: 0 0 14px;
    color: var(--v4-muted);
    font-size: 13px;
    line-height: 1.55;
}

.am-theme-v4 .member-subscriptions-no-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--v4-btn-color) 0%, var(--v4-btn-color) 100%) !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--v4-menu-color) 25%, transparent);
    transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}

.am-theme-v4 .member-subscriptions-no-cta:hover {
    transform: translateY(-1px);
    background: var(--v4-btn-color) !important;
    border-color: var(--v4-btn-color);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--v4-btn-color) 25%, transparent);
}

.am-theme-v4 .am-v4-alerts-panel .am-v4-panel-body {
    min-height: 0;
}

.am-theme-v4 .am-v4-alerts-panel .am-dashboard-empty-state {
    min-height: 164px;
    place-items: center;
    align-content: center;
    text-align: center;
    border-radius: 18px;
    border: 1px solid #E5E7EB;
    background: linear-gradient(180deg, #F8FAFC 0%, #F0F9FA 100%);
}

.am-theme-v4 .am-v4-alerts-panel .am-dashboard-empty-state strong {
    color: var(--v4-text);
    font-size: 24px;
    line-height: 1;
}

.am-theme-v4 .am-v4-alerts-panel .am-dashboard-empty-state span {
    max-width: 220px;
    line-height: 1.6;
}

.am-theme-v4 .am-sidebar-profile {
    position: sticky;
    bottom: 12px;
    margin-top: auto;
    min-width: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 24px rgba(3, 13, 27, 0.24);
}

.am-theme-v4 .am-sidebar-avatar {
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.am-theme-v4 .am-sidebar-profile-text,
.am-theme-v4 .am-sidebar-user-name,
.am-theme-v4 .am-sidebar-logout-link {
    min-width: 0;
}

.am-theme-v4 .am-sidebar-logout-link {
    white-space: nowrap;
}

.am-theme-v4 .am-subscription-card-actions a,
.am-theme-v4 .am-v4-filter-pill,
.am-theme-v4 .am-v4-tools-count {
    border-width: 1px;
    border-style: solid;
}

.am-theme-v4 .am-subscription-card-actions a {
    border-color: rgba(255, 255, 255, 0.95);
    background: linear-gradient(135deg, var(--v4-btn-color) 0%, var(--v4-btn-color) 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--v4-btn-color) 16%, transparent);
}

.am-theme-v4 .am-subscription-card-actions a:hover {
    background: var(--v4-btn-color);
}

.am-theme-v4 .am-v4-filter-pill,
.am-theme-v4 .am-v4-tools-count {
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.05);
}

.am-theme-v4 .am-v4-filter-pill {
    background: linear-gradient(180deg, #ffffff 0%, #F8FAFC 100%);
}

.am-theme-v4 .am-v4-filter-pill.is-active,
.am-theme-v4 .am-v4-filter-pill:hover {
    border-color: var(--v4-link-color);
    background: color-mix(in srgb, var(--v4-link-color) 6%, transparent);
    color: var(--v4-link-color);
}

@media (max-width: 720px) {
    .am-theme-v4 .member-subscriptions-no {
        flex-direction: column;
        text-align: center;
    }
    .am-theme-v4 .member-subscriptions-no-illu {
        width: 160px;
        max-width: 60%;
    }

    .am-theme-v4 .member-subscriptions-no-content {
        align-items: center;
    }
}

/* Stat cards with icon + accent */
.am-theme-v4 .am-v4-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--v4-border);
}

.am-theme-v4 .am-v4-stat-icon {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: var(--v4-link-color);
    background: color-mix(in srgb, var(--v4-menu-color) 12%, transparent);
}

.am-theme-v4 .am-v4-stat-icon svg {
    width: 22px;
    height: 22px;
}

.am-theme-v4 .am-v4-stat-card--blue .am-v4-stat-icon {
    color: var(--v4-link-color);
    background: color-mix(in srgb, var(--v4-menu-color) 12%, transparent);
}

.am-theme-v4 .am-v4-stat-card--purple .am-v4-stat-icon {
    color: #7c5bff;
    background: rgba(124, 91, 255, 0.12);
}

.am-theme-v4 .am-v4-stat-card--green .am-v4-stat-icon {
    color: var(--v4-link-color);
    background: color-mix(in srgb, var(--v4-menu-color) 12%, transparent);
}

.am-theme-v4 .am-v4-stat-card--orange .am-v4-stat-icon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.14);
}

.am-theme-v4 .am-v4-stat-card--red {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 16px 34px rgba(220, 38, 38, 0.22);
}

.am-theme-v4 .am-v4-stat-card--red .am-v4-stat-icon {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
}

.am-theme-v4 .am-v4-stat-card--red .am-v4-stat-text strong,
.am-theme-v4 .am-v4-stat-card--red .am-v4-stat-text span {
    color: #ffffff;
}

.am-theme-v4 .am-v4-stat-card--red .am-v4-stat-text span {
    opacity: 0.9;
}

.am-theme-v4 .am-v4-stat-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    min-width: 0;
}

.am-theme-v4 .am-v4-stat-text strong {
    color: var(--v4-text);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.am-theme-v4 .am-v4-stat-text span {
    margin-top: 4px;
    color: var(--v4-muted);
    font-size: 11px;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .am-theme-v4 .am-v4-welcome-banner {
        padding: 14px 16px;
    }

    .am-theme-v4 .am-v4-welcome-banner-copy strong {
        font-size: 20px;
    }

    .am-theme-v4 .am-v4-welcome-stats {
        grid-template-columns: 1fr;
    }

    .am-theme-v4 #member-subscriptions {
        grid-template-columns: 1fr;
    }

    .am-theme-v4 .am-dashboard-main {
        padding: 16px;
    }

    .am-theme-v4 .am-dashboard-title {
        font-size: 24px;
    }

    .am-theme-v4 #member-resources {
        grid-template-columns: 1fr;
    }

    .am-theme-v4 .am-v4-stats-grid {
        grid-template-columns: 1fr;
    }

    .am-theme-v4.am-page-signup .am-v4-signup-card-shell {
        padding: 16px;
        border-radius: 18px;
    }

    .am-theme-v4.am-page-signup .v4-plan-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: 390px;
    }

    .am-theme-v4.am-page-signup #row-product_id_page-0-0 label {
        min-height: 390px !important;
    }
}
