 :root {
    --css_variables:placeholder;
    --am_font_family: Arial, Helvetica, Clean, sans-serif;
    --v4-sidebar-bg: linear-gradient(180deg, #14253b 0%, #0e1c2f 100%);
    --v4-sidebar-border: rgba(255, 255, 255, 0.08);
    --v4-card-bg: #ffffff;
    --v4-card-alt: #f6f9fd;
    --v4-border: #d9e3ef;
    --v4-text: #10223a;
    --v4-muted: #66758a;
    --v4-shadow: 0 18px 40px rgba(16, 34, 58, 0.08);
    --v4-blue: #00A2FD;
    --v4-blue-soft: #5dc9ff;
}

html,
body {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    font-size: var(--am_font_size_px);
    font-family: var(--am_font_family, Arial, Helvetica, Clean, sans-serif);
}

body.am-theme-v4 {
    color: var(--v4-text);
    font-family: var(--am_font_family, Arial, Helvetica, Clean, 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: 280px 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: 22px;
    height: 100vh;
    padding: 24px 18px;
    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;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--v4-sidebar-border);
}

.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-brand-logo img {
    display: block;
    max-width: 150px;
    max-height: 44px;
    width: auto;
    height: auto;
}

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

.am-theme-v4 .am-brand-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 42px;
    color: #79c5ef;
    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, #57bbea, #294767);
}

.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: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;
}

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

.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 12px 10px;
    color: rgba(150, 172, 204, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    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: 12px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.am-theme-v4 ul.am-sidebar-menu > li.active > a,
.am-theme-v4 ul.am-sidebar-menu > li > a:hover,
.am-theme-v4 ul.am-sidebar-menu ul a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.am-theme-v4 .am-sidebar-menu-bullet {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    border: 2px solid rgba(70, 180, 255, 0.95);
    background: rgba(70, 180, 255, 0.22);
    box-shadow: 0 0 0 3px rgba(70, 180, 255, 0.08);
}

.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: #3fb3ff;
}

.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: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.am-theme-v4 .am-sidebar-profile-main {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--v4-sidebar-border);
}

.am-theme-v4 .am-sidebar-profile-main > div:last-child {
    min-width: 0;
}

.am-theme-v4 .am-sidebar-avatar {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #4da3ff, #2380f8);
}

.am-theme-v4 .am-sidebar-user-name {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.am-theme-v4 .am-sidebar-profile-link,
.am-theme-v4 .am-sidebar-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.am-theme-v4 .am-sidebar-profile-link {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.76);
    justify-content: flex-start;
    padding: 0;
    min-height: auto;
    line-height: 1.2;
}

.am-theme-v4 .am-sidebar-logout {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    min-height: 44px;
}

.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;
}

.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: 10px;
    min-width: 320px;
    padding: 0 14px;
    min-height: 44px;
    border-radius: 14px;
    border: 1px solid var(--v4-border);
    background: #ffffff;
    color: var(--v4-muted);
}

.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-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
    gap: 18px;
}

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

.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-body {
    margin-top: 16px;
}

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

.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 #cfe0f2;
    background: #f8fbff;
    color: #2a4f77;
    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 #cfe0f2;
    background: #f8fbff;
    color: #2a4f77;
    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: rgba(0, 162, 253, 0.28);
    background: #e7f5ff;
    color: var(--v4-blue);
}

.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 #e4edf7;
}

.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(2, minmax(0, 1fr));
    gap: 12px;
}

.am-theme-v4 .am-subscription-card {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #dfeaf6;
}

.am-theme-v4 .am-subscription-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
}

.am-theme-v4 .am-subscription-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #e7f5ff;
    color: var(--v4-blue);
    font-size: 16px;
    font-weight: 800;
}

.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.5;
}

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

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

.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: block;
    overflow: hidden;
    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;
}

.am-theme-v4 .am-resource-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 162, 253, 0.3);
}

.am-theme-v4 .am-resource-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    padding: 10px 18px;
    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: 40px;
    padding: 12px 16px;
    background: var(--v4-blue);
}

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

.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 #e4edf7;
}

.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-blue);
    border-color: var(--v4-blue);
    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: #0091e4;
    border-color: #0091e4;
}

.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, rgba(0, 162, 253, 0.14) 0%, rgba(0, 162, 253, 0) 34%), linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.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(16, 34, 58, 0.08);
}

.am-page-login.am-theme-v4 .am-footer .am-footer-content-wrapper {
    background: transparent;
    color: rgba(16, 34, 58, 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(16, 34, 58, 0.34);
}

.am-page-login.am-theme-v4 .am-login-layout-with-sidebar {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 48px;
    max-width: 1040px;
    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;
    display: flex;
    align-items: center;
    max-width: 460px;
}

.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(16, 34, 58, 0.08);
    box-shadow: 0 22px 54px rgba(16, 34, 58, 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: #f8fbff;
    border: 1px solid #d7e3ef;
    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 rgba(0, 162, 253, 0.18);
    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: #8a99ad;
}

.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(102, 117, 138, 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, #7f59ff 0%, #5b8dff 45%, #00a2fd 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 {
    filter: brightness(1.05);
}

.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: 0 0 360px;
    display: flex;
    align-items: stretch;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-card {
    width: 100%;
    min-height: 100%;
    padding: 30px 28px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f4f9ff 0%, #e8f3ff 100%);
    border: 1px solid rgba(0, 162, 253, 0.14);
    box-shadow: 0 22px 54px rgba(16, 34, 58, 0.1);
    color: var(--v4-muted);
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-icon {
    margin-bottom: 28px;
}

.am-page-login.am-theme-v4 .am-v4-login-sidebar-icon .am-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 162, 253, 0.14), rgba(93, 201, 255, 0.28));
    color: var(--v4-blue);
    box-shadow: 0 12px 26px rgba(0, 162, 253, 0.18);
}

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

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

.am-page-login.am-theme-v4 .am-v4-login-sidebar-extra {
    margin-top: 20px;
    color: var(--v4-muted);
}

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

@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: 320px;
    }

    .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-sidebar-toggle {
        display: inline-block;
    }

    .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;
    }
}

@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: 460px;
        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-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 #member-subscriptions {
        grid-template-columns: 1fr;
    }

    .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));
    }
}

@media (max-width: 640px) {
    .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;
    }
}
