/* DreamCode Auth & Profile — isolated Elementor widget */
.dc-auth {
  --dc-auth-text: #071d3d;
  --dc-auth-muted: #768396;
  --dc-auth-accent: #0c519b;
  --dc-auth-link: #0c519b;
  --dc-auth-field-bg: #fff;
  --dc-auth-border: #e5e7eb;
  --dc-auth-focus: #0c519b;
  position: relative;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 100svh;
  padding: 56px 16.66vw 56px 24px;
  background-color: #f0f3f7;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  font-family: inherit;
  font-size: 14px;
  color: var(--dc-auth-text);
  line-height: 1.4;
  isolation: isolate;
}
.dc-auth *, .dc-auth *::before, .dc-auth *::after { box-sizing: border-box; }
.dc-auth__card {
  width: 600px;
  max-width: 100%;
  min-width: 0;
  border-radius: 32px;
  padding: 24px 32px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 36px rgba(25, 48, 84, .035);
}
.dc-auth__logo { margin: 0 0 4px; line-height: 0; }
.dc-auth__logo img { width: 260px; max-width: 100%; height: auto; display: block; object-fit: contain; object-position: left center; }
.dc-auth__greeting { font-size: 16px; font-weight: 400; line-height: 1.35; margin: 4px 0 2px !important; color: var(--dc-auth-text); }
.dc-auth__title { font-size: 24px; font-weight: 700; line-height: 1.28; letter-spacing: -.025em; margin: 0 0 24px !important; color: var(--dc-auth-text); }
.dc-auth__fields { display: flex; flex-direction: column; gap: 14px; }
.dc-auth__field { min-width: 0; }
.dc-auth__field > label, .dc-auth__gender legend {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  color: var(--dc-auth-text);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.3;
}
.dc-auth__input-wrap { position: relative; min-width: 0; }
.dc-auth :is(.dc-auth__input, .dc-auth__select) {
  width: 100% !important;
  max-width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 14px;
  color: var(--dc-auth-text) !important;
  background: var(--dc-auth-field-bg) !important;
  border: 1px solid var(--dc-auth-border) !important;
  border-radius: 12px !important;
  font: inherit;
  font-weight: 400;
  line-height: 1.3;
  box-shadow: none !important;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.dc-auth :is(.dc-auth__input, .dc-auth__select):focus { border-color: var(--dc-auth-focus) !important; box-shadow: 0 0 0 2px color-mix(in srgb, var(--dc-auth-focus) 16%, transparent) !important; }
.dc-auth .dc-auth__input::placeholder { color: #9ba4ae; opacity: 1; }
.dc-auth :is(.dc-auth__input[type="date"], .dc-auth__select) { color-scheme: light; }
.dc-auth .dc-auth__input[type="password"] { padding-right: 65px; }
.dc-auth .dc-auth__reveal {
  position: absolute !important;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  min-width: 51px;
  min-height: 44px;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: var(--dc-auth-muted) !important;
  box-shadow: none !important;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: color .18s ease;
}
.dc-auth .dc-auth__reveal:hover, .dc-auth .dc-auth__reveal:focus-visible { color: var(--dc-auth-accent) !important; }
.dc-auth__reveal-icon { width: 20px; height: 20px; max-width: 100%; object-fit: contain; display: block; transition: opacity .18s ease; }
.dc-auth__reveal--has-icon .dc-auth__reveal-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dc-auth .dc-auth__reveal[aria-pressed="true"] { color: var(--dc-auth-accent) !important; }
.dc-auth .dc-auth__reveal[aria-pressed="true"] .dc-auth__reveal-icon { opacity: .62; }

.dc-auth__options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 18px; }
.dc-auth__check, .dc-auth__gender label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; color: var(--dc-auth-text); }
.dc-auth :is(.dc-auth__check input, .dc-auth__gender input) { appearance: auto; width: 16px; height: 16px; flex: 0 0 16px; padding: 0; margin: 0; accent-color: var(--dc-auth-accent); cursor: pointer; }
.dc-auth a, .dc-auth a:link, .dc-auth a:visited { color: var(--dc-auth-link); text-decoration: none; font-weight: 600; transition: color .18s ease; }
.dc-auth a:hover, .dc-auth a:focus-visible { color: var(--dc-auth-accent); text-decoration: underline; }
.dc-auth__forgot, .dc-auth__forgot:link, .dc-auth__forgot:visited { color: #e72b2b !important; font-size: 13px; }
.dc-auth .dc-auth__submit, .dc-auth a.dc-auth__submit, .dc-auth a.dc-auth__submit:visited {
  display: grid !important;
  place-items: center;
  width: 100% !important;
  max-width: 100%;
  min-height: 48px;
  margin: 16px 0 0;
  padding: 12px 18px;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
  color: #fff !important;
  background: var(--dc-auth-accent) !important;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.dc-auth .dc-auth__submit:hover, .dc-auth .dc-auth__submit:focus-visible { background: #073f7c !important; color: #fff !important; box-shadow: 0 6px 18px rgba(12, 81, 155, .16) !important; transform: translateY(-1px); }
.dc-auth .dc-auth__submit:active { transform: translateY(0); box-shadow: none !important; }
.dc-auth :is(button, a, input, textarea, select):focus-visible { outline: 2px solid var(--dc-auth-focus); outline-offset: 2px; }
.dc-auth__social { margin-top: 24px; }
.dc-auth__or { display: flex; align-items: center; justify-content: center; gap: 12px; color: #999; margin-bottom: 22px; }
.dc-auth__or::before, .dc-auth__or::after { content: ""; height: 1px; background: #cfcfcf; flex: 1; }
.dc-auth__or span { font-size: 15px; font-weight: 400; }
/* The outer Nextend link is the single visible button. The provider's inner
   element keeps its real logo and label, but never paints a second button. */
.dc-auth__nextend {
  --dc-google-height: 56px;
  --dc-google-icon-size: 24px;
  --dc-google-gap: 12px;
  --dc-google-padding: 10px 16px;
  width: 100%;
  min-width: 0;
}
.dc-auth__nextend .nsl-container,
.dc-auth__nextend .nsl-container-buttons { width: 100% !important; max-width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
.dc-auth__nextend .nsl-container-buttons { display: flex !important; justify-content: center !important; }
.dc-auth__nextend .nsl-container-buttons a,
.dc-auth__nextend a.nsl-button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: var(--dc-google-height) !important;
  margin: 0 !important;
  padding: var(--dc-google-padding) !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 16px !important;
  background: #fff !important;
  color: var(--dc-auth-text) !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  transform: none !important;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.dc-auth__nextend .nsl-container-buttons a:is(:hover,:focus-visible),
.dc-auth__nextend a.nsl-button:is(:hover,:focus-visible) { border-color: #a9b7cc !important; box-shadow: none !important; transform: none !important; }
.dc-auth__nextend .nsl-container-buttons a .nsl-button {
  display: flex !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--dc-google-gap) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit !important;
  transform: none !important;
}
.dc-auth__nextend .nsl-button-google .nsl-button-svg-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--dc-google-icon-size) !important;
  width: var(--dc-google-icon-size) !important;
  height: var(--dc-google-icon-size) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.dc-auth__nextend .nsl-button-google svg {
  display: block;
  flex: 0 0 var(--dc-google-icon-size) !important;
  width: var(--dc-google-icon-size) !important;
  height: var(--dc-google-icon-size) !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}
.dc-auth__nextend .nsl-button-label-container {
  flex: 0 1 auto !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
  color: inherit !important;
  text-align: center !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
.dc-auth__nextend .nsl-button-label-container b { font-weight: inherit; }
@media (prefers-reduced-motion: reduce) {
  .dc-auth__nextend .nsl-container-buttons a, .dc-auth__nextend a.nsl-button { transition: none !important; }
}
.dc-auth__bottom { margin: 34px 0 0 !important; text-align: center; font-size: 13px; color: var(--dc-auth-text); }
.dc-auth__intro { margin: 0 0 20px; color: var(--dc-auth-muted); font-size: 14px; }
.dc-auth__hint { color: var(--dc-auth-muted); font-size: 12px; line-height: 1.5; margin: 12px 0 0; }
.dc-auth__notice { border: 1px solid #d9e5f2; border-radius: 10px; background: #eff7ff; color: #154b85; padding: 10px 12px; margin: 0 0 16px; font-size: 13px; }
.dc-auth__notice--error { border-color: #f3c5c5; background: #fff2f2; color: #9a2727; }
.dc-auth__notice--success { border-color: #c6e8d3; background: #effaf3; color: #19673b; }
.dc-auth__profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 12px; }
.dc-auth__profile-grid > * { min-width: 0; }
.dc-auth__full { grid-column: 1 / -1; min-width: 0; }
.dc-auth__gender { display: flex; grid-column: 1 / -1; flex-wrap: wrap; align-items: center; gap: 12px; min-width: 0; margin: 0; padding: 0; border: 0 !important; }
.dc-auth__gender legend { float: left; width: auto; margin: 0 2px 0 0; }
.dc-auth__gender label { white-space: nowrap; }
.dc-auth .dc-auth__textarea { min-height: 80px; resize: vertical; }
.dc-auth__ward-status { display: block; color: var(--dc-auth-muted); font-size: 11px; line-height: 1.4; margin-top: 4px; }
.dc-auth__ward-status:empty { display: none; }
.dc-auth__account-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 24px; }
@media (max-width: 1024px) {
  .dc-auth { justify-content: center; padding: 46px 24px; }
  .dc-auth__card { width: min(100%, 600px); }
}
@media (max-width: 767px) {
  .dc-auth {
    min-height: 100svh;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px;
    background-position: center;
  }
  .dc-auth__card { width: 100%; max-width: 560px; padding: 24px 22px; border-radius: 22px; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
  .dc-auth__logo img { width: 200px; }
  .dc-auth__greeting { font-size: 14px; }
  .dc-auth__title { font-size: 21px; margin-bottom: 21px !important; }
  .dc-auth__options { margin: 14px 0 16px; }
  .dc-auth__social { margin-top: 20px; }
  .dc-auth__or { margin-bottom: 17px; }
  .dc-auth__bottom { margin-top: 26px !important; }
  .dc-auth :is(.dc-auth__input, .dc-auth__select) { min-height: 48px; }
  .dc-auth__profile-grid { column-gap: 10px; }
}
@media (max-width: 480px) {
  .dc-auth { padding: 12px 10px; background-image: var(--dc-auth-mobile-bg, none) !important; background-color: #f4f6f9; }
  .dc-auth__card { padding: 24px 18px 26px; border-radius: 18px; }
  .dc-auth__profile-grid { grid-template-columns: 1fr; gap: 13px; }
  .dc-auth__full, .dc-auth__gender { grid-column: auto; }
  .dc-auth__gender { gap: 8px 12px; }
  .dc-auth__gender legend { flex: 0 0 100%; }
  .dc-auth__gender label { min-height: 32px; }
  .dc-auth__options { flex-wrap: wrap; }
  .dc-auth .dc-auth__submit { min-height: 48px; }
}
@media (max-width: 350px) {
  .dc-auth { padding: 8px 6px; }
  .dc-auth__card { padding: 21px 13px 24px; }
  .dc-auth__greeting { font-size: 13px; }
  .dc-auth__title { font-size: 19px; }
  .dc-auth__options { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-auth *, .dc-auth *::before, .dc-auth *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Native Elementor uploaded SVG icon markup; wrapper passes currentColor to its children.
   Keep the author-provided SVG paint attributes intact (fill/stroke="currentColor"). */
.dc-account .dc-icon,
.dc-auth .dc-icon {
  display:inline-flex;
  flex:0 0 auto;
  min-width:0;
  align-items:center;
  justify-content:center;
  vertical-align:middle;
  color:inherit;
  transition:color .22s ease, opacity .22s ease, transform .22s ease;
}
.dc-account .dc-icon > svg,
.dc-auth .dc-icon > svg,
.dc-account .dc-icon > i,
.dc-auth .dc-icon > i {
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  flex:0 0 auto;
  color:inherit;
}
/* Existing per-element dimensions and responsive settings remain authoritative. */
@media(prefers-reduced-motion:reduce) {
  .dc-account .dc-icon,.dc-auth .dc-icon {transition:none;}
}

/* Recovery links already exchanged by WooCommerce: native verified reset form, OLMAS card. */
.dc-auth .dc-auth__wc-recovery {min-width:0;overflow-wrap:anywhere;}
.dc-auth .dc-auth__wc-recovery :is(form.woocommerce-ResetPassword,form.lost_reset_password) {margin:0;padding:0;border:0;display:flex;flex-direction:column;gap:14px;min-width:0;}
.dc-auth .dc-auth__wc-recovery .form-row {float:none;width:100%;min-width:0;margin:0;padding:0;}
.dc-auth .dc-auth__wc-recovery label {display:block;margin:0 0 6px;color:var(--dc-auth-text);font-size:13px;font-weight:650;}
.dc-auth .dc-auth__wc-recovery :is(input[type="password"],input[type="text"],input[type="email"]) {display:block;width:100%;max-width:100%;min-height:52px;padding:12px 14px;margin:0;border:1px solid var(--dc-auth-border);border-radius:12px;background:var(--dc-auth-field-bg);color:var(--dc-auth-text);box-shadow:none;font:inherit;}
.dc-auth .dc-auth__wc-recovery :is(input[type="password"],input[type="text"],input[type="email"]):focus {outline:2px solid var(--dc-auth-focus);outline-offset:1px;}
.dc-auth .dc-auth__wc-recovery :is(button[type="submit"],input[type="submit"]) {display:block;width:100%;min-height:52px;margin:0;padding:12px 16px;border:1px solid transparent;border-radius:12px;background:var(--dc-auth-accent);color:#fff;font:inherit;font-weight:650;box-shadow:none;cursor:pointer;transition:background-color .18s ease;}
.dc-auth .dc-auth__wc-recovery :is(button[type="submit"],input[type="submit"]):is(:hover,:focus-visible) {background:#073f7c;color:#fff;}
.dc-auth .dc-auth__wc-recovery .clear {display:none;}
.dc-auth .dc-auth__wc-recovery .woocommerce-error {padding:12px 16px;list-style-position:inside;overflow-wrap:anywhere;}
