/* Storm Midnight: aMember Pro theme matching stormproxies.com
   Loaded after amember.css. Page chrome is always dark; content colors come from the
   variables below and switch with the "Content Style" setting (body.sp-dark / body.sp-light). */

@font-face{font-family:Inter;font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/inter.woff2) format("woff2")}

.sp-theme{
  --red:#ff2d3d;--red2:#ff5a66;--ok:#2ee59d;
  --page:#070b12;
  --s1:rgba(255,255,255,.04);   /* cards / forms */
  --s2:rgba(255,255,255,.07);   /* table stripes, hovers */
  --line:rgba(255,255,255,.1);
  --tx:#e8edf5;--mu:#94a0b3;--head:#fff;
  --in:#121a26;--in-tx:#e8edf5;--in-line:rgba(255,255,255,.14);
  --wrap-bg:transparent;
}
.sp-theme.sp-light{
  --s1:#ffffff;--s2:#f5f7fa;--line:#e3e7ee;
  --tx:#1a2130;--mu:#5b6576;--head:#0b1020;
  --in:#f4f6f9;--in-tx:#111827;--in-line:#d9dee7;
  --wrap-bg:#ffffff;
}

/* ---------- base ---------- */
html,body{background:var(--page)!important}
body.sp-theme{margin:0;font-size:15px;-webkit-font-smoothing:antialiased}
.sp-theme .am-common,.sp-theme .am-body,.sp-theme .am-body-content{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--tx)}
.sp-theme .am-common a,.sp-theme .am-body-content a{color:var(--red2);text-decoration-color:rgba(255,90,102,.5);text-underline-offset:3px}
.sp-theme.sp-light .am-body-content a{color:#d81b2b}
.sp-theme .am-body-content h1{font-size:clamp(26px,3.4vw,38px);line-height:1.15;letter-spacing:-.03em;font-weight:800;color:var(--head);margin:0 0 18px}
.sp-theme .am-body-content h2{font-size:18px;font-weight:700;color:var(--head)}
.sp-theme .am-body-content h3{color:var(--head)}
.sp-theme .am-layout{min-height:100vh;display:flex;flex-direction:column;margin:0;background:none}
.sp-theme .am-main{max-width:1120px;box-sizing:border-box}

/* ---------- top bar (always dark) ---------- */
.sp-top{position:sticky;top:0;z-index:50;background:rgba(7,11,18,.96);border-bottom:1px solid rgba(255,255,255,.1);font-family:Inter,system-ui,sans-serif}
.sp-wrap{max-width:1120px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.sp-top .sp-wrap{display:flex;align-items:center;height:66px;gap:20px}
.sp-logo img{display:block;height:30px;width:auto}
.sp-nav{margin-left:auto;display:flex;align-items:center;gap:4px;font-size:14.5px;white-space:nowrap}
.sp-nav a{color:#c9d2df!important;text-decoration:none!important;padding:9px 12px;border-radius:10px}
.sp-nav a:hover{color:#fff!important;background:rgba(255,255,255,.05)}
.sp-nav a.sp-btn{background:var(--red);color:#fff!important;font-weight:700;padding:9px 18px;border-radius:999px;margin-left:8px;box-shadow:0 8px 24px -8px var(--red)}
.sp-nt{display:none}
.sp-burger{display:none}

/* ---------- header band (keeps the admin "header" HTML) ---------- */
.sp-theme .am-header.sp-band{background:#0b1320 url(../img/hero-sm.webp) center/cover;position:relative;border:0}
.sp-theme .am-header.sp-band:after{content:"";position:absolute;inset:0;background:linear-gradient(rgba(7,11,18,.55),var(--page))}
.sp-theme .am-header.sp-band .am-header-content-wrapper{position:relative;z-index:1;background:none;border:0;padding:0}
.sp-theme .am-header .am-header-content{padding:26px 20px 8px;text-align:left}
.sp-theme .am-header .am-header-content-content{display:block;float:none;color:#c9d2df;font-family:Inter,system-ui,sans-serif}
.sp-theme .am-header .am-header-content-content:empty{display:none}
.sp-theme .am-header .am-header-content-content a{color:#fff}
.sp-theme .am-header-line{display:none}

/* ---------- body / content wrapper ---------- */
.sp-theme .am-body{flex:1;background:none}
.sp-theme .am-body .am-body-content-wrapper{background:var(--wrap-bg);border:0;box-shadow:none;border-radius:22px;margin:18px auto 64px;padding:10px 20px 30px}
.sp-theme.sp-light .am-body .am-body-content-wrapper{padding:28px 32px 36px;box-shadow:0 30px 80px -40px #000}
.sp-theme .am-body-content{min-height:320px}

/* ---------- member menu tabs ---------- */
.sp-theme ul.am-tabs{background:var(--s1);border:1px solid var(--line);border-radius:14px;padding:4px;overflow:visible}
.sp-theme ul.am-tabs>li{background:none;border:0}
.sp-theme ul.am-tabs a{color:var(--tx)!important;border:0!important;border-radius:10px;text-decoration:none!important;font-weight:600}
.sp-theme ul.am-tabs li.active,.sp-theme ul.am-tabs li.normal:hover{background:none}
.sp-theme ul.am-tabs li.active>a{background:var(--red)!important;color:#fff!important}
.sp-theme ul.am-tabs li.normal>a:hover{background:var(--s2)!important}
/* hover like the main website: no aMember text-shadow (it looked blurry), text stays crisp */
.sp-theme ul.am-tabs a,.sp-theme ul.am-tabs a:hover,.sp-theme ul.am-tabs li.active>a{text-shadow:none!important}
.sp-theme ul.am-tabs li.normal>a:hover{color:var(--head)!important;border-color:transparent!important;background-image:none!important}
.sp-theme ul.am-tabs .has-children ul a:hover{background:var(--s2)!important;color:var(--head)!important}
.sp-theme ul.am-tabs .has-children ul{background:var(--page);border:1px solid var(--line);border-radius:12px;box-shadow:0 20px 50px -20px #000}
.sp-theme.sp-light ul.am-tabs .has-children ul{background:#fff}
.sp-theme .am-account-toolbar .am-account-toolbar-items{background:var(--s1)}
.sp-theme .am-user-identity-block,.sp-theme .am-user-identity-block a{color:var(--mu)}
.sp-theme .am-tabs-narrow-dashboard::before,.sp-theme .am-tabs-narrow-switch::before{color:var(--mu)}

/* ---------- blocks, dashboard, info ---------- */
.sp-theme .am-block,.sp-theme .am-block-nodata,.sp-theme .am-active-invoice,.sp-theme .am-receipt,.sp-theme .am-invoice-summary{background:var(--s1);border:1px solid var(--line);border-radius:16px;box-shadow:none;color:var(--tx)}
.sp-theme .am-layout-two-coll{background:none;border:0;box-shadow:none;overflow:hidden;margin-top:1.6em}
.sp-theme .am-layout-two-coll .am-layout-two-coll-top,.sp-theme .am-layout-two-coll .am-layout-two-coll-bottom{display:none}
.sp-theme .am-info{background:var(--s1);border:1px solid var(--line);border-left:3px solid var(--ok);border-radius:12px;color:var(--tx)}
.sp-theme div.am-errors ul,.sp-theme ul.am-error,.sp-theme ul.am-errors{background:rgba(255,45,61,.1);border:1px solid rgba(255,45,61,.4);border-radius:12px;color:var(--tx)}
.sp-theme span.am-error,.sp-theme .am-error{color:var(--red2)}
.sp-theme .am-common hr{background:var(--line);border:0;height:1px}
.sp-theme .am-receipt td,.sp-theme .am-receipt td.am-receipt-total{background:none;border:none;color:var(--tx)}
.sp-theme .am-invoice-summary .am-invoice-summary-item{border-bottom:1px solid var(--line)}
.sp-theme .am-invoice-summary .am-invoice-summary-item-num{color:var(--mu)}

/* ---------- forms ---------- */
.sp-theme .am-form form{background:var(--s1);border:1px solid var(--line);border-radius:18px;box-shadow:none}
.sp-theme .am-form fieldset legend{background:none;border-bottom:1px solid var(--line);color:var(--head);font-weight:700}
.sp-theme .am-form div.am-row{border-color:var(--line)}
.sp-theme .am-form div.am-element-title,.sp-theme .am-form div.am-element-title label{color:var(--tx);font-weight:600}
.sp-theme .am-form .comment,.sp-theme .am-form div.am-element-title .comment{color:var(--mu)}
.sp-theme .am-form-container .am-form-sidebar-sidebar{background:var(--s1);border:1px solid var(--line);border-radius:16px;box-shadow:none}
.sp-theme .am-body-content input,.sp-theme .am-body-content textarea,.sp-theme .am-body-content select,.sp-theme .am-body-content button,
.sp-theme .am-popup input,.sp-theme .am-popup textarea,.sp-theme .am-popup select,.sp-theme .am-popup button{font-family:Inter,system-ui,sans-serif}
.sp-theme .am-body-content select,.sp-theme .am-body-content textarea,.sp-theme .am-body-content input[type=text],.sp-theme .am-body-content input[type=password],.sp-theme .am-body-content input[type=email],.sp-theme .am-body-content input[type=number],
.sp-theme .am-popup select,.sp-theme .am-popup textarea,.sp-theme .am-popup input[type=text],.sp-theme .am-popup input[type=password]{
  color:var(--in-tx);background-color:var(--in);border:1px solid var(--in-line);border-radius:10px;padding:.55em .8em;height:auto;box-shadow:none}
.sp-theme .am-body-content textarea:focus,.sp-theme .am-body-content input[type=text]:focus,.sp-theme .am-body-content input[type=password]:focus,.sp-theme .am-body-content input[type=email]:focus,.sp-theme .am-body-content select:focus,
.sp-theme .am-popup textarea:focus,.sp-theme .am-popup input[type=text]:focus,.sp-theme .am-popup input[type=password]:focus,.sp-theme .am-popup select:focus{
  border-color:var(--red2);box-shadow:0 0 0 3px rgba(255,45,61,.18)!important;outline:0;background-color:var(--in)}
.sp-theme .am-body-content input::placeholder,.sp-theme .am-body-content textarea::placeholder{color:var(--mu);opacity:.8}

/* buttons */
.sp-theme .am-body-content a.button,.sp-theme .am-body-content button,.sp-theme .am-body-content input[type=button],.sp-theme .am-body-content input[type=submit],
.sp-theme .am-popup a.button,.sp-theme .am-popup button,.sp-theme .am-popup input[type=button],.sp-theme .am-popup input[type=submit]{
  color:#fff!important;background:var(--red);border:1px solid var(--red);border-radius:999px;padding:.6em 1.6em;font-weight:700;text-decoration:none;cursor:pointer;
  box-shadow:0 8px 24px -10px var(--red);transition:transform .15s,box-shadow .15s}
.sp-theme .am-body-content a.button:hover,.sp-theme .am-body-content button:hover,.sp-theme .am-body-content input[type=button]:hover,.sp-theme .am-body-content input[type=submit]:hover,
.sp-theme .am-popup button:hover,.sp-theme .am-popup input[type=submit]:hover{background:var(--red);transform:translateY(-1px);box-shadow:0 12px 30px -10px var(--red)}
.sp-theme .am-body-content input[type=submit]:disabled,.sp-theme .am-body-content button:disabled,.sp-theme .am-popup input[type=submit]:disabled{background:var(--s2);border-color:var(--line);color:var(--mu)!important;box-shadow:none;transform:none}
.sp-theme .am-cta-signup{font-size:1.1rem;padding:.6em 2.4em}
.sp-theme .input-file,.sp-theme .input-file.hover{border:0;border-radius:10px;background:var(--in)}
.sp-theme .input-file .input-file-button,.sp-theme .upload-control .upload-control-upload.upload-control-upload-single{color:#fff;background:var(--red);border:0;text-shadow:none;border-radius:999px}

/* radio / checkbox */
.sp-theme .am-form input[type=radio],.sp-theme .am-form input[type=checkbox]{-webkit-appearance:none;appearance:none;width:1.05em;height:1.05em;margin:0 .35em 0 0;border:1px solid var(--in-line);background-color:var(--in);vertical-align:middle;cursor:pointer;box-sizing:border-box;outline:0}
.sp-theme .am-form input[type=radio]{border-radius:50%}
.sp-theme .am-form input[type=checkbox]{border-radius:4px}
.sp-theme .am-form input[type=radio]:checked{border:.32em solid var(--red);background-color:#fff}
.sp-theme .am-form input[type=checkbox]:checked{background:var(--red) url(../img/checkmark.svg) center/contain no-repeat;border-color:var(--red)}

/* signup: products & payment systems */
.sp-theme .am-product-title{color:var(--head);font-weight:700}
.sp-theme .am-product-terms{color:var(--ok);font-weight:600}
.sp-theme .am-product-desc,.sp-theme .am-paysystem-desc{color:var(--mu)}
.sp-theme .am-pass-indicator-bar{background:var(--mu)}
.sp-theme .am-form .StripeElement{box-sizing:border-box;padding:.6em .8em;border:1px solid var(--in-line);border-radius:10px;background-color:#f4f6f9}
.sp-theme .am-form .StripeElement--focus{border-color:var(--red2);box-shadow:0 0 0 3px rgba(255,45,61,.18)!important}

/* ---------- login ---------- */
.sp-theme .am-auth-form form{border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 30px 80px -40px #000;background:var(--s1)}
.sp-theme .am-auth-form fieldset{border:0}
.sp-theme .am-auth-form form legend{background:none;border:0;padding:1.2em 1.2em 1.4em;color:var(--head);font-size:1.3em;font-weight:800}
.sp-theme.am-page-login .am-auth-form div.am-row,.sp-theme .am-auth-form div.am-row{background:none}
.sp-theme .am-signup-link,.sp-theme .am-form-login-switch{color:var(--mu)}
.sp-theme .am-login-layout-with-sidebar .am-login-layout-with-sidebar_sidebar{background:var(--s1);border:1px solid var(--line);border-radius:16px;color:var(--tx);box-shadow:none}

/* ---------- grids / tables ---------- */
.sp-theme .am-grid-container{box-shadow:none;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.sp-theme .am-grid-container table{width:100%;border-collapse:collapse}
.sp-theme .am-body-content .am-grid th a{color:var(--mu)!important;text-decoration:none}
.sp-theme .am-grid-container th,.sp-theme .am-grid-container td{padding:11px 14px;text-align:left}
.sp-theme .am-grid th,.sp-theme .am-grid th:last-child{background:var(--s2);border:none;color:var(--mu);font-size:.85em;text-transform:uppercase;letter-spacing:.05em}
.sp-theme .am-grid th a,.sp-theme .am-grid th a.sorted-asc,.sp-theme .am-grid th a.sorted-desc{color:var(--mu)}
.sp-theme .am-grid tr.am-grid-row>td{background:var(--s1);border-color:var(--line);color:var(--tx)}
.sp-theme .am-grid tr.am-grid-row.odd td{background-color:var(--s2)}
.sp-theme .am-filter-wrap{border:1px solid var(--line);background:var(--s1);color:var(--tx);border-radius:12px}
.sp-theme .am-filter-wrap form.filter input,.sp-theme .am-filter-wrap form.filter select{background-color:var(--in);color:var(--in-tx)}
.sp-theme .am-input-filter-wrapper{border:1px solid var(--line);border-radius:10px}
.sp-theme .am-input-filter-wrapper.am-input-filter-wrapper_focus{background:var(--s2);box-shadow:none}
.sp-theme .am-input-filter-wrapper .am-input-filter-inner-wrapper,.sp-theme .am-input-filter-wrapper input[type=text].am-input-filter:focus{background:transparent;box-shadow:none!important;border:0}
.sp-theme .am-pagination a,.sp-theme .am-pagination span{border-radius:8px}

/* ---------- popup ---------- */
.sp-theme .am-popup{background:#0e1520;border:1px solid var(--line);border-radius:16px;color:var(--tx)}
.sp-theme.sp-light .am-popup{background:#fff}
.sp-theme .am-popup .am-popup-header{background:none;color:var(--head);border-bottom:1px solid var(--line)}
.sp-theme .am-popup .am-popup-close-icon:after{color:var(--mu)}
.sp-theme .am-popup .am-form form{background:none;border:0}

/* ---------- helpdesk / affiliate / cart / self-service ---------- */
.sp-theme .am-helpdesk-message{box-shadow:none;border:1px solid var(--line);border-radius:14px;background:var(--s1)}
.sp-theme .am-helpdesk-message.am-helpdesk-message-outbound{background:none}
.sp-theme .am-helpdesk-ticket-actions-container{border:1px solid var(--line)}
.sp-theme .am-helpdesk-reply-panel,.sp-theme .am-helpdesk-ticket-action.am-helpdesk-action-active,.sp-theme .am-helpdesk-message-action.am-helpdesk-action-active{background:var(--s2)}
.sp-theme .am-aff-banner-preview{box-shadow:none;background:var(--s1);border:1px solid var(--line);border-radius:14px}
.sp-theme .am-aff-banner-preview-info textarea{background:var(--in);color:var(--in-tx);border-radius:10px}
.sp-theme .am-copy-to-clipboard-highlight{background:var(--s2)}
.sp-theme .am-cart .am-cart-product.am-cart-product-brief,.sp-theme .am-ss-product,.sp-theme #cart-basket{background:var(--s1);border:1px solid var(--line);border-radius:14px;box-shadow:none!important}
.sp-theme .am-cart .am-cart-product .am-cart-product-content-add-container,.sp-theme .am-ss-product-add-container{background:var(--s2)}
.sp-theme .am-basket .am-basket-row,.sp-theme .am-basket .am-basket-row-head,.sp-theme .am-cart-checkout .am-cart-checkout-c,
.sp-theme .am-cart-checkout .am-cart-checkout-paysys,.sp-theme .am-cart-checkout .am-cart-checkout-paysys .am-cart-checkout-paysys-item{border-color:var(--line)}
.sp-theme .am-cart-checkout .am-cart-checkout-paysys div.active,.sp-theme .am-cart-checkout .am-cart-checkout-paysys div:hover{background-color:var(--s2)}
.sp-theme .am-cart-qty-el{border:1px solid var(--red)}
.sp-theme .am-flash-mask{background:var(--s2)}

/* ---------- Storm custom content (kept from the old "stormproxies" theme) ---------- */
.sp-theme .gray{color:var(--mu)}
.sp-theme .bgred{background-color:var(--red);padding:12px 16px;margin-bottom:10px;color:#fff;font-size:16px;border-radius:12px}
.sp-theme .bgred a{color:#fff!important;font-weight:700}
.sp-theme ul.am-widget-list li{margin-bottom:5px}
.sp-theme .am-body-content img{max-width:100%;height:auto}

/* ---------- fixes found on the live member area (v6.5.1) ---------- */
/* member menu: aMember floats the <li>s, so turn the bar into a wrapping flex row */
.sp-theme .am-tabs-wrapper{margin:6px 0 22px}
.sp-theme ul.am-tabs{display:flex;flex-wrap:wrap;align-items:center;gap:2px;height:auto;margin:0}
.sp-theme ul.am-tabs>li{float:none;margin:0}
.sp-theme ul.am-tabs>li>a{padding:9px 14px;font-size:14.5px;line-height:1.3}
.sp-theme .am-body-content-top:after{content:"";display:block;clear:both}
/* dashboard tab: a plain menu button with a home icon (same size/look as the other tabs) */
.sp-theme ul.am-tabs #menu-member{font-size:0!important;background-image:none!important;border:0!important;box-shadow:none!important;display:flex;align-items:center;justify-content:center;width:auto!important;height:35px!important;min-height:0!important;padding:0 14px!important;box-sizing:border-box;line-height:1.3}
.sp-theme ul.am-tabs #menu-member::before{content:""!important;display:block!important;width:16px;height:16px;margin:0!important;background:currentColor!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6 1.8 11.2l1.3 1.5L5 11.1V21h5.5v-6h3v6H19v-9.9l1.9 1.6 1.3-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.6 1.8 11.2l1.3 1.5L5 11.1V21h5.5v-6h3v6H19v-9.9l1.9 1.6 1.3-1.5z'/%3E%3C/svg%3E") center/contain no-repeat}
.sp-theme .am-body-content h1{clear:both;font-size:clamp(24px,2.6vw,30px);margin:6px 0 16px}
.sp-theme .am-user-identity-block{margin-bottom:12px}
/* separate stacked package blocks on the proxy pages (each block starts with an h1) */
.sp-theme .am-body-content-content>h1~h1{margin-top:34px;padding-top:26px;border-top:1px solid var(--line)}

/* fields never grow wider than their column (padding stays inside the width) */
.sp-theme .am-body-content input,.sp-theme .am-body-content textarea,.sp-theme .am-body-content select{box-sizing:border-box;max-width:100%}
.sp-theme .am-body-content textarea{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13.5px;line-height:1.6}

/* proxy panel plugin (fixed 1000px / 400px inline columns) */
.sp-theme .am-body-content div[style*="width:1000px"],.sp-theme .am-body-content div[style*="width: 1000px"]{max-width:100%}
.sp-theme .am-body-content div[style*="width:400px"],.sp-theme .am-body-content div[style*="width: 400px"]{max-width:calc(50% - 20px);box-sizing:border-box}
.sp-theme .am-body-content div[style*="width:400px"] textarea,.sp-theme .am-body-content div[style*="width: 400px"] textarea{width:100%!important;margin:0 0 10px!important}
.sp-theme .am-body-content form[id^="admin_form_"]{margin:0}
.sp-theme .am-body-content form[id^="admin_form_"] input[type=radio]{margin:0 .45em 0 0;vertical-align:-2px;accent-color:var(--red)}
.sp-theme .am-body-content form[id^="admin_form_"] input[type=submit]{margin-top:14px}

/* signup: rows without a label (intro text, buttons) use the full width */
.sp-theme .am-form div.am-row:not(:has(.am-element-title)):not(:has(input[type=submit])) div.am-element{margin-left:0}
.sp-theme .am-form div.am-row{padding-top:.4em;padding-bottom:.4em}
.sp-theme .am-signup-form input[type=radio]{accent-color:var(--red)}
@media (min-width:700px){
  .sp-theme .am-form div.am-row div.am-element-title{width:24%}
  .sp-theme .am-form div.am-row div.am-element{margin-left:26%}
}

@media (max-width:860px){
  .sp-theme .am-body-content div[style*="width:400px"],.sp-theme .am-body-content div[style*="width: 400px"]{float:none!important;width:auto!important;max-width:100%;margin-left:0!important;display:block!important}
  .sp-theme ul.am-tabs>li>a{padding:8px 11px;font-size:14px}
}

/* username + Logout sit inside the right end of the menu bar (desktop) */
@media (min-width:861px){
  .sp-theme .am-body-content-top{position:relative}
  .sp-theme .am-body-content-top .am-account-toolbar{position:absolute;top:5px;right:6px;z-index:2;margin:0;float:none}
  .sp-theme .am-account-toolbar .am-account-toolbar-items{background:none;display:flex;align-items:center}
  .sp-theme .am-body-content-top ul.am-tabs{padding-right:230px}
  .sp-theme .am-user-identity-block{float:none;margin:0;display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px;color:var(--mu)}
  .sp-theme .am-user-identity-block a{display:inline-flex;align-items:center;height:35px;box-sizing:border-box;padding:0 14px;border-radius:10px;border:1px solid var(--line);color:var(--tx)!important;text-decoration:none!important;font-weight:600;font-size:14.5px}
  .sp-theme .am-user-identity-block a:hover{background:var(--s2);color:var(--head)!important}
}

/* ---------- login page: one centered card on the dark page ---------- */
.sp-theme.am-page-login .am-body .am-body-content-wrapper{background:transparent;box-shadow:none;padding:0}
.sp-theme .am-auth-form,.sp-theme.am-page-login .am-auth-form{max-width:430px!important;width:100%;margin:48px auto 0}
.sp-theme .am-auth-form form{width:100%;box-sizing:border-box}
.sp-theme .am-auth-form form{background:#fff;border:0;border-radius:22px;box-shadow:0 40px 90px -40px #000;color:#1a2130}
.sp-theme .am-auth-form fieldset{border:0;margin:0;padding:0 0 26px}
.sp-theme .am-auth-form form legend{font-family:Inter,system-ui,sans-serif;display:block;width:100%!important;max-width:100%;margin:0!important;float:none;text-indent:0!important;box-sizing:border-box;text-align:center;padding:30px 28px 10px;color:#0b1020;font-size:22px;font-weight:800;letter-spacing:-.02em}
.sp-theme .am-auth-form div.am-row{display:block;padding:8px 28px!important;border:0!important;background:none}
.sp-theme .am-auth-form div.am-row div.am-element-title{float:none!important;width:auto!important;text-align:left!important;padding:0 0 6px!important;margin:0!important}
.sp-theme .am-auth-form div.am-row div.am-element-title label{color:#1a2130;font-weight:600;font-size:14px}
.sp-theme .am-auth-form div.am-row div.am-element{float:none!important;margin-left:0!important;padding:0!important;width:auto!important}
.sp-theme .am-auth-form input[type=text],.sp-theme .am-auth-form input[type=password]{width:100%!important;height:46px;background-color:#f4f6f9;color:#111827;border:1px solid #d9dee7}
.sp-theme .am-auth-form input[type=text],.sp-theme .am-auth-form input[type=password]{padding-left:2.5em!important;background-position:.85em center!important}
.sp-theme .am-auth-form #amember-pass{padding-right:2.6em!important}
.sp-theme .am-auth-form .am-row-recaptcha .am-element{display:flex!important;justify-content:center}
.sp-theme .am-auth-form .am-row-buttons .am-element{display:flex!important;flex-direction:column;align-items:stretch;gap:14px;padding-top:6px!important}
.sp-theme .am-auth-form .am-row-buttons input[type=submit]{width:100%;height:46px;font-size:16px}
.sp-theme .am-auth-form .am-form-login-switch-wrapper{display:block;text-align:center;margin:0}
.sp-theme .am-auth-form .am-form-login-switch{color:#d81b2b!important;font-size:14px}
.sp-theme.am-page-login .am-signup-link{max-width:430px;margin:18px auto 0;text-align:center;color:#94a0b3}
.sp-theme.am-page-login .am-signup-link a{color:#fff!important;font-weight:600}

/* no aMember text-shadow on any button (looked blurry) */
.sp-theme input[type=submit],.sp-theme input[type=button],.sp-theme button,.sp-theme a.button{text-shadow:none!important}

/* ---------- two-row member menu (desktop) ----------
   Row 1: Home, Add/Renew, Profile, Affiliate, Credits (+ username/Logout pinned right)
   Row 2: "My proxies" + the three service pages as pill buttons. Pure reordering of aMember's own menu. */
@media (min-width:861px){
  .sp-theme ul.am-tabs{row-gap:0}
  .sp-theme ul.am-tabs>li{order:1}
  .sp-theme ul.am-tabs::after{content:"";order:2;flex-basis:100%;height:1px;background:transparent;margin:6px 0 8px;display:block}
  .sp-theme ul.am-tabs{background-image:linear-gradient(var(--line),var(--line));background-repeat:no-repeat;background-size:100% 1px;background-position:0 45px}
  .sp-theme ul.am-tabs::before{content:"My proxies";order:3;display:flex;align-items:center;font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--mu);padding:0 10px 0 10px;height:35px}
  .sp-theme ul.am-tabs>li:has(>#menu-proxies01),.sp-theme ul.am-tabs>li:has(>#menu-proxies02),.sp-theme ul.am-tabs>li:has(>#menu-proxies03){order:4;margin:0 6px 4px 0}
  .sp-theme ul.am-tabs #menu-proxies01,.sp-theme ul.am-tabs #menu-proxies02,.sp-theme ul.am-tabs #menu-proxies03{
    display:inline-flex;align-items:center;gap:8px;height:35px;box-sizing:border-box;padding:0 16px 0 13px!important;border:1px solid var(--line)!important;border-radius:999px!important;font-size:14px}
  .sp-theme ul.am-tabs #menu-proxies01::before,.sp-theme ul.am-tabs #menu-proxies02::before,.sp-theme ul.am-tabs #menu-proxies03::before{content:"";width:16px;height:16px;background:currentColor;flex:none}
  .sp-theme ul.am-tabs #menu-proxies01::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='2'/%3E%3Crect x='3' y='13' width='18' height='7' rx='2'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E") center/contain no-repeat}
  .sp-theme ul.am-tabs #menu-proxies02::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 2 4 4-4 4'/%3E%3Cpath d='M3 11V9a3 3 0 0 1 3-3h15M7 22l-4-4 4-4'/%3E%3Cpath d='M21 13v2a3 3 0 0 1-3 3H3'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m17 2 4 4-4 4'/%3E%3Cpath d='M3 11V9a3 3 0 0 1 3-3h15M7 22l-4-4 4-4'/%3E%3Cpath d='M21 13v2a3 3 0 0 1-3 3H3'/%3E%3C/svg%3E") center/contain no-repeat}
  .sp-theme ul.am-tabs #menu-proxies03::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E") center/contain no-repeat}
  .sp-theme ul.am-tabs li.active>#menu-proxies01,.sp-theme ul.am-tabs li.active>#menu-proxies02,.sp-theme ul.am-tabs li.active>#menu-proxies03{border-color:var(--red)!important}
}

/* ---------- footer ---------- */
.sp-footer{border-top:1px solid rgba(255,255,255,.1);padding:26px 0 30px;color:#94a0b3;font:14px/1.6 Inter,system-ui,sans-serif}
.sp-footer a{color:#94a0b3;text-decoration:none}.sp-footer a:hover{color:#fff}
.sp-footer-row{display:flex;flex-wrap:wrap;gap:10px 24px;justify-content:space-between}
.sp-footer-links{display:flex;flex-wrap:wrap;gap:6px 18px}
.sp-footer-custom{margin-bottom:18px}
.sp-theme .am-footer{display:none}

/* ---------- mobile ---------- */
@media (max-width:860px){
  .sp-burger{display:grid;place-items:center;margin-left:auto;width:42px;height:42px;border-radius:12px;border:1px solid rgba(255,255,255,.14);cursor:pointer}
  .sp-burger span,.sp-burger span:before,.sp-burger span:after{display:block;width:18px;height:2px;background:#fff;border-radius:2px;position:relative}
  .sp-burger span:before,.sp-burger span:after{content:"";position:absolute}.sp-burger span:before{top:-6px}.sp-burger span:after{top:6px}
  .sp-nav{display:none;position:absolute;top:66px;left:0;right:0;flex-direction:column;align-items:stretch;padding:10px 16px 20px;background:#0a0f18;border-bottom:1px solid rgba(255,255,255,.1)}
  .sp-nt:checked~.sp-nav{display:flex}
  .sp-nav a{padding:13px 8px;font-size:16px}
  .sp-nav a.sp-btn{margin:10px 0 0;text-align:center}
  .sp-theme .am-body .am-body-content-wrapper{width:auto;max-width:none;margin:12px 12px 40px;padding:8px 4px 24px;border-radius:18px;box-sizing:border-box}
  .sp-theme.sp-light .am-body .am-body-content-wrapper{padding:20px 16px 28px}
  .sp-logo img{height:26px}
}
