/* DreamCode v1.5.0: isolated Elementor account widgets.
 * SVG icons use native Elementor Icon Controls and inherit CSS color. No fill/stroke overrides.
 */
.dc-account--standalone {
  display:flex;
  width:100%;
  max-width:none;
  min-width:0;
  gap:0;
  margin:0;
}
.dc-account--standalone.dc-account--content-only {align-items:stretch;}
.dc-account--content-only .dc-account__main { width:100%; min-width:0; flex:1 1 100%; }
.dc-account--sidebar-only {display:block;}
.dc-account--sidebar-only .dc-account__sidebar {
  position:relative;
  top:auto;
  width:100%;
  max-width:100%;
  flex:none;
  max-height:none;
  overflow:visible;
}
.elementor-widget-dc-olmas-sidebar {
  position:-webkit-sticky;
  position:sticky;
  top:var(--dc-account-sticky-top,116px);
  z-index:18;
  align-self:flex-start;
  min-width:0;
}
/* Conditional Elementor widget placeholders: no gap from inactive screens. */
.elementor-widget:has(.dc-auth-screen-inactive) {display:none !important;}
/* Optional parent classes for a shared, single WordPress /tai-khoan/ page. */
body.logged-in:not(.dc-auth-onboarding-active):not(.dc-auth-recovery-active):not(.elementor-editor-active) .dc-auth-guest-layout {display:none !important;}
body:not(.logged-in):not(.elementor-editor-active) .dc-auth-logged-layout,
body.dc-auth-recovery-active:not(.elementor-editor-active) .dc-auth-logged-layout,
body.dc-auth-onboarding-active:not(.elementor-editor-active) .dc-auth-logged-layout {display:none !important;}
/* Component-specific corner/button visual states; no rules affecting uploaded SVG paint. */
.dc-account--standalone .dc-account__main,
.dc-account--standalone .dc-account__sidebar {min-width:0;}
.dc-account--standalone :is(a,button,input,textarea,select):focus-visible,
.dc-auth :is(a,button,input,textarea,select):focus-visible {
  outline:2px solid var(--dc-account-accent,#0c519b);
  outline-offset:2px;
}
.dc-account--standalone .dc-account__favorite-card,
.dc-account--standalone .dc-account__order-card,
.dc-account--standalone .dc-account__notice-item,
.dc-account--standalone .dc-account__address-item {
  transition:background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.dc-account--standalone .dc-account__favorite-card:hover,
.dc-account--standalone .dc-account__favorite-card:focus-within {will-change:transform;}
@media(max-width:1100px) {
  .dc-account--standalone {--dc-account-side-width:100%;}
}
@media(max-width:767px) {
  /* Elementor Containers using the two-column account layout stack automatically
     on touch screens, regardless of the Desktop flex direction. */
  .dc-auth-logged-layout:is(.e-con,.elementor-container) {flex-direction:column !important;}
  .dc-auth-logged-layout > :is(.e-con,.elementor-column,.elementor-widget) {
    width:100% !important;max-width:100% !important;min-width:0;
  }
  .elementor-widget-dc-olmas-sidebar {
    position:-webkit-sticky;
    position:sticky;
    top:var(--dc-account-sticky-top,78px);
    z-index:60;
    width:100%;
    align-self:stretch;
  }
  .dc-account--sidebar-only .dc-account__sidebar {
    position:relative;
    top:auto;
    z-index:1;
    overflow:visible;
    align-self:stretch;
    width:100%;
    max-height:none;
  }
  .dc-account--content-only .dc-account__main {border-radius:18px;}
  .dc-account--content-only .dc-account__content {min-width:0;}
}
@media(max-width:390px) {
  .dc-account--standalone .dc-account__profile-grid,
  .dc-account--standalone .dc-account__address-grid {min-width:0;}
  .dc-account--standalone .dc-account__panel {max-width:100%;}
}
@media(prefers-reduced-motion:reduce) {
  .dc-account--standalone .dc-account__favorite-card,
  .dc-account--standalone .dc-account__order-card,
  .dc-account--standalone .dc-account__notice-item,
  .dc-account--standalone .dc-account__address-item { transition:none !important; will-change:auto; }
}

