/* === PF My Account / Login === */

/* Root frame */
.pfacc {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 60px auto;           /* breathing room from header/footer */
  padding: 40px 0;             /* extra vertical space inside */
  background: #010510;
  border-radius: 40px;
  overflow: hidden;
}

/* Grid wrapper */
.pfacc__wrap {
  display: grid;
  grid-template-columns: 720px 1fr; /* left / right */
  min-height: 730px;               /* ensures enough height */
}

/* Left image with gradient overlay */
.pfacc__left {
  position: relative;
  width: 100%;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* gradient overlay */
  background-image:
    linear-gradient(
      179.02deg,
      rgba(239, 36, 129, 0.258) 0.84%,
      rgba(239, 36, 129, 0.6) 144.72%
    );
  border-radius: 0 40px 40px 0;
}

/* Right side (form container) */
.pfacc__right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #010510;
  color: #e6e9ef;
}

/* Card */
.pfacc__card {
  width: 100%;
  max-width: 500px;
  background: transparent;
  color: inherit;
}

/* Logo */
.pfacc__brand {
  margin-bottom: 40px;
}
.pfacc__brand img {
  height: 32px;
  width: auto;
  display: block;
}

/* Title & subtitle */
.pfacc__title {
  font-size: 34px;
  font-weight: 800;
  margin: 0 0 12px;
}
.pfacc__subtitle {
  font-size: 14px;
  color: #9aa3b2;
  margin: 0 0 28px;
}

/* Form fields */
.pfacc__form {
  display: grid;
  gap: 18px;
}
.pfacc__field {
  display: flex;
  align-items: center;
  border: 1px solid #2a3140;
  border-radius: 12px;
  height: 48px;
  background: transparent;
  overflow: hidden;
}
.pfacc__field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 12px;
  font-size: 14px;
  color: #e6e9ef;
}
.pfacc__field input::placeholder {
  color: #8490a3;
}

/* Toggle password button */
.pfacc__toggle {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.pfacc__toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="white" d="M12 5c-7 0-11 7-11 7s4 7 11 7 11-7 11-7-4-7-11-7Zm0 12a5 5 0 1 1 .001-10.001A5 5 0 0 1 12 17Z"/></svg>') no-repeat center / contain;
  background-color: #9aa3b2; /* 👈 makes it visible */
}
.pfacc__toggle.is-on::before {
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24"><path fill="white" d="M12 7a5 5 0 0 1 5 5h3c0-4.418-3.582-8-8-8v3Zm-7 5a7 7 0 0 1 7-7V2C7.477 2 3 6.477 3 12h2Zm7 7a7 7 0 0 1-7-7H3c0 5.523 4.477 10 9 10v-3Zm0 0v3c5.523 0 10-4.477 10-10h-3a7 7 0 0 1-7 7Z"/></svg>');
  background-color: #ef2481; /* 👈 pink when active */
}


/* Button */
.pfacc__btn {
  height: 48px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  background: #ef2481;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Meta row */
.pfacc__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: #9aa3b2;
}
.pfacc__meta a {
  color: #ff63aa;
  text-decoration: none;
}
.pfacc__meta a:hover {
  text-decoration: underline;
}

/* Woo fallback when logged in */
.pfacc__woo {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
}
.pfacc__woo .woocommerce-MyAccount-navigation {
  background: #0b0f17;
  border: 1px solid #2a3140;
  border-radius: 12px;
  padding: 16px;
}
.pfacc__woo .woocommerce-MyAccount-content {
  background: #0b0f17;
  border: 1px solid #2a3140;
  border-radius: 12px;
  padding: 16px;
}

/* Responsive */
@media (max-width: 980px) {
  .pfacc {
    margin: 30px auto;         /* reduce space top/bottom on mobile */
    padding: 20px 0;
    border-radius: 24px;
  }

  .pfacc__wrap {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .pfacc__left {
    display: none;
  }

  .pfacc__right {
    padding: 30px 20px;
  }
}


/* ===== Login page (ID 496) ===== */

/* hide WP page title/header just on this page */
body.page-id-496 .page-header,
body.page-id-496 .entry-title { display:none !important; }

/* 50/50 shell (same as My Account) */
body.page-id-496 .pfacc { padding: clamp(24px, 4vw, 64px) 0; }
body.page-id-496 .pfacc__wrap{
  max-width:1200px; margin:0 auto; padding:0 20px;
  display:flex; gap:24px; align-items:stretch;
}

/* Left visual + Right form (50/50) */
body.page-id-496 .pfacc__left{ flex:1 1 50%; min-height:640px; border-radius:40px;
  background-size:cover; background-position:center; background-repeat:no-repeat;
  box-shadow:inset 0 0 0 1px #00000030;
}
body.page-id-496 .pfacc__right{ flex:1 1 50%; display:flex; }
body.page-id-496 .pfacc__card{ flex:1; }

/* mobile stack */
@media (max-width: 980px){
  body.page-id-496 .pfacc__wrap{ flex-direction:column; }
  body.page-id-496 .pfacc__left{ min-height:280px; border-radius:24px; }
}


/* Login (/login/, page ID 496): remove borders on inputs */
body.page-id-496 .pfacc__field input,
body.page-id-496 .pfacc__field select,
body.page-id-496 .pfacc__field textarea{
  border: none !important;
  box-shadow: none !important;
}

/* optional: clean focus (or keep a subtle ring) */
body.page-id-496 .pfacc__field input:focus,
body.page-id-496 .pfacc__field select:focus,
body.page-id-496 .pfacc__field textarea:focus{
  outline: none !important;
  box-shadow: none !important; /* or: 0 0 0 2px rgba(239,36,129,.4); */
}

/* keep the eye toggle borderless */
body.page-id-496 .pfacc__toggle{ border: none !important; }

