.elementor-309 .elementor-element.elementor-element-f68cd21{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-8f597e0 *//* ================== Capital Chain — Login Page (Final) ================== */

/* --- Brand tokens --- */
:root{
  --cc-bg: #0F1A2F;
  --cc-bg-top: #0B1528;
  --cc-card: #12243E;
  --cc-teal: #00E0E0;
  --cc-teal-weak: rgba(0,224,224,.35);
  --cc-text: #E6F1FF;
  --cc-muted: #9BB0C9;
  --cc-input: #1A2E4D;
  --cc-input-border: #2C4368;
  --cc-shadow: rgba(0,0,0,.55);
}

/* Page background */
body{
  min-height:100vh;
  background:
    radial-gradient(1000px 800px at 15% 5%, rgba(0,224,224,.08), transparent 70%),
    linear-gradient(180deg, var(--cc-bg-top) 0%, var(--cc-bg) 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--cc-bg);
  color: var(--cc-text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Content container */
main.site-main{
  display:flex;
  justify-content:center;
  padding: clamp(24px, 5vw, 64px) 16px;
}

/* Reset any theme panel styles on wrapper */
.affwp-form, .affwp-login-form{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Card */
.affwp-login-form fieldset{
  position: relative;
  border: 0;
  margin: 0;
  padding: clamp(20px, 3vw, 40px);
  max-width: 760px;
  width: min(96vw, 760px);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.015)), var(--cc-card);
  box-shadow: 0 20px 48px var(--cc-shadow), inset 0 1px 0 rgba(255,255,255,.05);
  border-radius: 22px;
  overflow: hidden;         /* prevents any highlight bleed to edges */
}

/* REMOVE the top overlay & legend divider that created two lines */
/* (kept here in case you want to re-enable later)
.affwp-login-form fieldset::before{ ... }
.affwp-login-form legend::after{ ... }
*/

/* Title */
.affwp-login-form legend{
  display:block;
  margin: 0 0 22px 0;
  padding: 0;               /* no underline line */
  border: 0;                /* <- removes the horizontal rule */
  font-family: "Exo 2", Inter, sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: .2px;
  color: var(--cc-text);
  border-bottom: unset;
}

/* Field stack */
.affwp-login-form p{ margin: 0 0 18px 0; }

/* Labels */
.affwp-login-form label{
  display:block; margin:0 0 8px 2px;
  font-size:15px; font-weight:600; color:var(--cc-muted);
}

/* Inputs */
.affwp-login-form input[type="text"],
.affwp-login-form input[type="password"]{
  display:block; width:100%; height:56px;
  border-radius:14px; border:1px solid var(--cc-input-border);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.08)), var(--cc-input);
  color: var(--cc-text); padding:0 18px; outline:none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.affwp-login-form input[type="text"]:focus,
.affwp-login-form input[type="password"]:focus{
  border-color: var(--cc-teal);
  box-shadow: 0 0 0 3px var(--cc-teal-weak);
}

/* Checkbox row */
.affwp-login-form .affwp-user-remember{
  display:inline-flex; align-items:center; gap:10px;
  cursor:pointer; user-select:none; color:var(--cc-muted); font-weight:500;
}
.affwp-login-form input[type="checkbox"]{
  width:18px; height:18px; border-radius:4px; appearance:none;
  background:#0f1d36; border:1px solid var(--cc-input-border); position:relative;
  transition:all .15s ease;
}
.affwp-login-form input[type="checkbox"]:checked{
  background:var(--cc-teal); border-color:var(--cc-teal);
  box-shadow:0 0 8px var(--cc-teal-weak);
}
.affwp-login-form input[type="checkbox"]:checked::after{
  content:""; position:absolute; inset:3px 5px 5px 3px;
  border: solid #072a2a; border-width:0 0 2px 2px; transform:rotate(-45deg);
}

/* CTA button with glow */
.affwp-login-form input[type="submit"].button,
.affwp-login-form input[type="submit"]{
  display:inline-block; font-weight:600; font-size:16px; line-height:1;
  padding:16px 28px; border-radius:22px; color:#062326;
  background:var(--cc-teal); border:0; cursor:pointer;
  box-shadow: 0 12px 24px var(--cc-teal-weak), 0 0 0 1px rgba(0,0,0,.05) inset;
  transition: transform .06s, box-shadow .2s, filter .2s;
}
.affwp-login-form input[type="submit"]:hover{
  filter:brightness(1.05);
  box-shadow: 0 16px 30px rgba(0,224,224,.45), 0 0 0 1px rgba(0,0,0,.05) inset;
}
.affwp-login-form input[type="submit"]:active{ transform: translateY(1px); }

/* Link */
.affwp-login-form .affwp-lost-password a{
  color:var(--cc-teal); text-decoration:none; font-weight:600;
}
.affwp-login-form .affwp-lost-password a:hover{ text-decoration:underline; }

/* Autofill */
.affwp-login-form input:-webkit-autofill{
  -webkit-text-fill-color: var(--cc-text);
  box-shadow: 0 0 0 1000px var(--cc-input) inset;
}

/* Responsiveness */
@media (max-width:480px){
  .affwp-login-form fieldset{ padding:18px; border-radius:16px; }
  .affwp-login-form input[type="text"],
  .affwp-login-form input[type="password"]{ height:52px; }
}


/* Put the legend "inside" the panel – no underline, no full-width bar */
.affwp-form.affwp-login-form fieldset{
  border: 0 !important;
  margin: 0 !important;
  padding: 28px 28px 30px !important;   /* space around the fields */
}

/* Style the legend like a heading inside the box */
.affwp-form.affwp-login-form legend{
  display: block;            /* keep as block but not full-width styled */
  width: auto;               /* undo theme's width:100% feel */
  margin: 0 0 18px 0 !important;
  padding: 0 !important;
  border: 0 !important;      /* removes that 1px bottom border/line */
  line-height: 1.2;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #eaf6ff;            /* match your glass card text */
  background: transparent;
}

/* Some themes insert empty <p> tags after the legend—hide them */
.affwp-form.affwp-login-form legend + p:empty,
.affwp-form.affwp-login-form legend + p:empty + p:empty {
  display: none !important;
}

/* Optional: inputs to match your glass style (if you haven't added already) */
.affwp-form.affwp-login-form input[type="text"],
.affwp-form.affwp-login-form input[type="password"],
.affwp-form.affwp-login-form input[type="email"],
.affwp-form.affwp-login-form textarea{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  color: #eaf6ff;
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.affwp-form.affwp-login-form input:focus,
.affwp-form.affwp-login-form textarea:focus{
  border-color: rgba(0,224,224,.45);
  box-shadow: 0 0 0 3px rgba(0,224,224,.15);
  background: rgba(255,255,255,.07);
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-f68cd21 *//* =========================
   CapitalChain — Affiliate Login
   Targets AffiliateWP markup you shared
   ========================= */

/* ----- Brand tokens ----- */
:root{
  --deep-ocean:#0F1A2F;      /* primary background */
  --neon-circuit:#00E0E0;    /* CTA + interactive */
  --quantum-teal:#00C8C8;    /* hover/secondary accent */
  --crypto-ice:#F0F8FF;      /* light backgrounds, lines */
  --text-on-dark:#EAF5F6;    /* body text on dark */
  --muted:#9FB1B9;           /* muted text */
  --error:#EF4444;
  --radius:14px;
}

/* Optional: give the whole page a deep background (remove if your theme already does) */
body.page-id-4386,      /* update to your page id if you want only on this page */
.page-template-elementor_canvas {
  background: #080e16;
}

/* Center + card layout for the form */
.affwp-login-form{
  max-width: 760px;
  margin: 48px auto 64px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015)),
              var(--deep-ocean);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 36px 30px 28px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  color: var(--text-on-dark);
  font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
}

/* Heading */
.affwp-login-form legend{
  display:block;
  width:100%;
  font-size:28px;
  line-height:1.25;
  font-weight:800;
  margin: 0 0 22px;
  letter-spacing:.2px;
  color: var(--text-on-dark);
  border-bottom:1px solid rgba(255,255,255,.08);
  padding-bottom:14px;
}

/* Field stacks */
.affwp-login-form p{
  margin: 18px 0;
}

/* Labels */
.affwp-login-form label{
  display:block;
  margin: 0 0 8px;
  color: var(--crypto-ice);
  font-weight:700;
  letter-spacing:.2px;
}

/* Inputs */
.affwp-login-form input[type="text"],
.affwp-login-form input[type="password"]{
  width:100%;
  height:48px;
  padding: 0 14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  color: var(--text-on-dark);
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* Focus glow in Neon Circuit */
.affwp-login-form input[type="text"]:focus,
.affwp-login-form input[type="password"]:focus{
  border-color: var(--neon-circuit);
  box-shadow: 0 0 0 3px rgba(0,224,224,.20);
}

/* Remember me (inline checkbox) */
.affwp-login-form .affwp-user-remember{
  display:flex; align-items:center; gap:10px;
  color: var(--muted);
  font-weight:600;
}
.affwp-login-form input[type="checkbox"]{
  width:18px; height:18px; accent-color: var(--neon-circuit);
}

/* Submit button (Neon Circuit) */
.affwp-login-form input[type="submit"].button{
  appearance:none;
  border:0;
  height:48px;
  padding: 0 22px;
  border-radius: 16px;
  background: var(--neon-circuit);
  color: #032125;
  font-weight:900;
  letter-spacing:.3px;
  cursor:pointer;
  box-shadow: 0 8px 22px rgba(0,224,224,.25);
  transition: transform .05s ease, filter .15s ease, box-shadow .15s ease;
}
.affwp-login-form input[type="submit"].button:hover{
  filter: brightness(1.06);
  box-shadow: 0 10px 28px rgba(0,224,224,.33);
}
.affwp-login-form input[type="submit"].button:active{
  transform: translateY(1px);
}

/* Lost password link */
.affwp-login-form .affwp-lost-password a{
  color: var(--quantum-teal);
  text-decoration:none;
  font-weight:700;
}
.affwp-login-form .affwp-lost-password a:hover{
  color: var(--neon-circuit);
  text-decoration:underline;
}

/* Error states (if AffiliateWP outputs messages) */
.affwp-login-form .affwp-errors,
.affwp-login-form .affwp-error{
  background: rgba(239,68,68,.12);
  border:1px solid rgba(239,68,68,.5);
  color:#ffdede;
  border-radius: 12px;
  padding:12px 14px;
  margin-top:16px;
}

/* Make the default WP bottom credit line less intrusive if present */
.site-info, .site-footer a[href*="wordpress.org"]{
  color: var(--muted) !important;
}

/* Responsive breathing room */
@media (max-width:600px){
  .affwp-login-form{ padding: 26px 18px 22px; }
  .affwp-login-form legend{ font-size:24px; }
}/* End custom CSS */