/* Overlay */
#dmgc-auth-overlay{
    position:fixed;
    inset:0;
    background:rgba(20,20,20,.82);
    backdrop-filter:blur(6px);
    display:none;
    z-index:99998;
}

#dmgc-auth-overlay.active{
    display:block;
}

/* Popup */
#dmgc-auth-popup{
    position:fixed;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(.95);
    width:440px;
    max-width:95%;
    background:#989898;
    border-radius:22px;
    padding:30px;
    box-shadow:0 25px 60px rgba(0,0,0,.32);
    display:none;
    z-index:99999;
    transition:.25s;
}


#dmgc-auth-popup.active{
    display:block;
    transform:translate(-50%,-50%) scale(1);
}

/* Close */
.dmgc-close{
    position:absolute;
    top:16px;
    right:16px;
    width:36px;
    height:36px;
    border:none;
    border-radius:50%;
    background:#f5f5f5;
    color:#333;
    font-size:22px;
    font-weight:700;
    line-height:36px;
    text-align:center;
    cursor:pointer;
    transition:.25s;
    z-index:100000;
    padding:0;
}

.dmgc-close:hover{
    background:#ff9800;
    color:#fff;
    transform:rotate(90deg);
}

/* Tabs */
.dmgc-tabs{
    display:flex;
    gap:12px;
    margin-bottom:24px;
}

.dmgc-tab{
    flex:1;
    padding:14px;
    border:2px solid #FFB300;
    border-radius:30px;
    cursor:pointer;
    background:#fff;
    color:#222;
    font-weight:700;
    transition:.25s;
}

.dmgc-tab.active{
    background:#FFB300;
    color:#111;
    border-color:#FFB300;
}

.dmgc-tab:hover{
    background:#FFE8B0;
}
/* Forms */
#dmgc-auth-popup form{
    display:flex;
    flex-direction:column;
    gap:14px;
}

#dmgc-auth-popup input{
    width:100%;
    padding:14px 16px;
    border:2px solid #e5e5e5;
    border-radius:12px;
    outline:none;
    font-size:15px;
    box-sizing:border-box;
    transition:.25s;
}

#dmgc-auth-popup input:focus{
    border-color:#FFB300;
    box-shadow:0 0 0 4px rgba(255,179,0,.18);
}

#dmgc-auth-popup button[type="submit"]{
    background:#FFB300;
    color:#111;
    border:none;
    padding:15px;
    border-radius:30px;
    cursor:pointer;
    font-size:16px;
    font-weight:700;
    transition:.25s;
}

#dmgc-auth-popup button[type="submit"]:hover{
    background:#FF9800;
    transform:translateY(-2px);
}

#dmgc-auth-message{
    margin-bottom:15px;
    text-align:center;
    font-size:14px;
    color:#d63638;
    font-weight:600;
}

@media (max-width:480px){

    #dmgc-auth-popup{
        width:95%;
        padding:20px;
    }

    .dmgc-tab{
        font-size:14px;
        padding:10px;
    }

}
/* Remember Me Fix */
.dmgc-remember{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px !important;
    margin:8px 0 20px !important;
    cursor:pointer;
    font-size:15px;
    color:#333;
}

.dmgc-remember input[type="checkbox"]{
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    margin:0 !important;
    padding:0 !important;
    flex:none !important;
}

.dmgc-remember br{
    display:none;
}
/* Profile Menu */

.dmgc-profile-menu{
    position:relative;
    display:inline-block;
}

.dmgc-profile-dropdown{
    display:none;
    position:absolute;
    top:55px;
    right:0;
    width:220px;
    background:#1b1b1b;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(0,0,0,.30);
    z-index:99999;
}

.dmgc-profile-dropdown a{
    display:block;
    padding:14px 18px;
    color:#fff;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,.08);
    transition:.25s;
}

.dmgc-profile-dropdown a:last-child{
    border-bottom:none;
}

.dmgc-profile-dropdown a:hover{
    background:#ff9800;
    color:#111;
}
.dmgc-password-field{
    position:relative;
    width:100%;
    margin-bottom:20px;
}

.dmgc-password-field input{
    width:100%;
    padding:15px 50px 15px 15px;
    box-sizing:border-box;
}

.dmgc-password-toggle{
    position:absolute;
    top:50%;
    right:18px;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:20px;
    color:#777;
    line-height:1;
    z-index:10;
    user-select:none;
}

.dmgc-password-toggle:hover{
    color:#f5a623;
}
.dmgc-terms{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin:18px 0;
    width:100%;
}

.dmgc-terms input{
    width:18px !important;
    height:18px !important;
    margin:3px 0 0;
    flex:0 0 18px;
}

.dmgc-terms span{
    flex:1;
    color:#444;
    font-size:14px;
    line-height:22px;
}

.dmgc-terms a{
    color:#f5a623;
    font-weight:600;
    text-decoration:none;
}

.dmgc-terms a:hover{
    text-decoration:underline;
}



/* =========================================================
   MOBILE HEADER / MENU OVERLAY (isolated; auth logic untouched)
========================================================= */
html.dmgc-menu-open, body.dmgc-menu-open{overflow:hidden !important;}
.dmgc-mobile-menu-toggle{display:none;}
#dmgc-mobile-menu-overlay{display:none;}
#dmgc-mobile-menu{display:none;}

@media (max-width:700px){
  .dmgc-mobile-menu-toggle{
    display:flex !important;
    width:48px;
    height:48px;
    padding:0;
    margin-left:12px;
    border:1px solid #3a3d45;
    border-radius:12px;
    background:#202229;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,.22);
  }
  .dmgc-mobile-menu-toggle span{display:block;width:22px;height:2px;border-radius:2px;background:#f2f2f4;}
  .dmgc-mobile-menu-toggle:active{transform:scale(.97);}
  .dmgc-mobile-header-login{display:none !important;}

  #dmgc-mobile-menu-overlay{
    display:block;
    position:fixed;inset:0;
    background:rgba(0,0,0,.72);
    backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
    opacity:0;visibility:hidden;pointer-events:none;
    transition:.25s ease;z-index:99996;
  }
  #dmgc-mobile-menu-overlay.active{opacity:1;visibility:visible;pointer-events:auto;}
  #dmgc-mobile-menu{
    display:flex;
    position:fixed;top:0;right:0;
    width:min(430px,92vw);height:100dvh;
    flex-direction:column;
    background:#17181d;
    border-left:1px solid #30323a;
    box-shadow:-24px 0 70px rgba(0,0,0,.5);
    transform:translateX(105%);transition:transform .28s cubic-bezier(.22,.61,.36,1);
    z-index:99997;
  }
  #dmgc-mobile-menu.active{transform:translateX(0);}
  .dmgc-mobile-menu-top{
    min-height:82px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;
    border-bottom:1px solid #30323a;background:#111216;
  }
  .dmgc-mobile-menu-logo{width:145px;max-width:55vw;height:auto;object-fit:contain;}
  .dmgc-mobile-menu-close{
    width:48px;height:48px;border:1px solid #3b3e47;border-radius:12px;background:#303746;color:#e5e7eb;
    font-size:32px;line-height:1;cursor:pointer;padding:0;
  }
  .dmgc-mobile-team-name{
    margin:14px 18px 0;padding:12px 14px;border-radius:12px;
    background:#1d1f25;border:1px solid #30323a;color:#fff;text-align:center;font-size:15px;font-weight:800;letter-spacing:.6px;
  }
  .dmgc-mobile-menu-body{overflow:auto;padding:10px 18px 28px;}
  .dmgc-mobile-section{padding:14px 0 18px;}
  .dmgc-mobile-account-section{border-top:1px solid #30323a;margin-top:4px;}
  .dmgc-mobile-section-title{margin:0 0 5px;color:#8f929b;font-size:12px;font-weight:800;letter-spacing:2px;}
  .dmgc-mobile-website-links a,.dmgc-mobile-account-section>a{
    min-height:52px;display:flex;align-items:center;justify-content:space-between;
    padding:0 2px;color:#f2f2f4;text-decoration:none !important;font-size:17px;font-weight:650;
    border-bottom:1px solid rgba(255,255,255,.055);
  }
  .dmgc-mobile-website-links a:hover,.dmgc-mobile-account-section>a:hover{color:#ffb400;}
  .dmgc-mobile-badge{min-width:24px;height:24px;padding:0 7px;display:inline-flex;align-items:center;justify-content:center;border-radius:20px;background:#ffb400;color:#111;font-size:12px;font-weight:800;}
  .dmgc-mobile-logout{color:#ffb7b7 !important;}
  .dmgc-mobile-auth-section{border-top:1px solid #30323a;padding:22px 0 4px;display:grid;gap:11px;}
  .dmgc-mobile-auth-btn{width:100%;min-height:54px;border-radius:12px;border:1px solid #3d4049;background:#24262c;color:#f4f4f5;font-size:16px;font-weight:750;}
  .dmgc-mobile-auth-btn.primary{background:#ffb400;border-color:#ffb400;color:#111;}
}


/* =========================================================
   FINAL MOBILE HEADER / AUTH POLISH
   UI-only overrides. Authentication JavaScript/PHP is untouched.
========================================================= */
@media (max-width:700px){
  /* Guest header: show one clean hamburger instead of two controls. */
  #dmgc-login-btn.dmgc-login-btn.dmgc-mobile-header-login{
    display:none !important;
  }
  .dmgc-mobile-menu-toggle{
    flex:0 0 48px !important;
    margin:0 0 0 10px !important;
    position:relative !important;
    z-index:100001 !important;
  }
  .dmgc-mobile-menu-toggle span{width:24px;height:3px;}
}

/* Professional dark auth popup: same visual language as DMGC profile cards. */
#dmgc-auth-popup{
  width:460px;
  max-width:calc(100vw - 28px);
  padding:32px;
  background:linear-gradient(145deg,#1d1f25 0%,#17181d 100%);
  color:#f4f5f7;
  border:1px solid #343740;
  border-radius:24px;
  box-shadow:0 30px 90px rgba(0,0,0,.62),0 0 0 1px rgba(255,179,0,.05);
}
#dmgc-auth-popup .dmgc-popup-header{padding-right:42px;margin-bottom:24px;}
#dmgc-auth-popup .dmgc-popup-header h2{
  margin:0 0 9px;
  color:#fff;
  font-size:30px;
  line-height:1.15;
  font-weight:800;
  letter-spacing:-.4px;
}
#dmgc-auth-popup .dmgc-popup-header p{
  margin:0;
  color:#9da1aa;
  font-size:14px;
}
#dmgc-auth-popup .dmgc-close{
  top:16px;right:16px;
  width:40px;height:40px;
  background:#2b2e36;
  color:#e7e8eb;
  border:1px solid #41444e;
  box-shadow:none;
}
#dmgc-auth-popup .dmgc-close:hover{background:#ffb400;color:#111;border-color:#ffb400;}
#dmgc-auth-popup .dmgc-tabs{gap:8px;margin-bottom:20px;padding:4px;background:#111216;border:1px solid #30323a;border-radius:14px;}
#dmgc-auth-popup .dmgc-tab{
  border:0;
  border-radius:10px;
  background:transparent;
  color:#a8abb3;
  padding:12px 14px;
}
#dmgc-auth-popup .dmgc-tab.active{background:#ffb400;color:#111;box-shadow:0 8px 22px rgba(255,180,0,.18);}
#dmgc-auth-popup input:not([type="checkbox"]){
  min-height:52px;
  padding:14px 16px;
  background:#22242b;
  color:#f4f5f7;
  border:1px solid #3a3d46;
  border-radius:12px;
}
#dmgc-auth-popup input:not([type="checkbox"])::placeholder{color:#858993;}
#dmgc-auth-popup input:not([type="checkbox"]):focus{border-color:#ffb400;box-shadow:0 0 0 3px rgba(255,180,0,.12);}
#dmgc-auth-popup .dmgc-remember{color:#b9bcc4 !important;}
#dmgc-auth-popup .dmgc-remember input[type="checkbox"],
#dmgc-auth-popup .dmgc-terms input[type="checkbox"]{accent-color:#ffb400;}
#dmgc-auth-popup .dmgc-terms{color:#aeb1b9;}
#dmgc-auth-popup .dmgc-terms span{color:#aeb1b9;}
#dmgc-auth-popup .dmgc-terms a{color:#ffb400;}
#dmgc-auth-popup button[type="submit"]{
  min-height:52px;
  border-radius:12px;
  background:linear-gradient(135deg,#ffc21a,#ffad00);
  color:#111;
  box-shadow:0 10px 26px rgba(255,174,0,.18);
}
#dmgc-auth-popup button[type="submit"]:hover{background:linear-gradient(135deg,#ffd04a,#ffb400);transform:translateY(-1px);}
#dmgc-auth-message{color:#ffb7b7;}

@media (max-width:520px){
  #dmgc-auth-popup{
    width:calc(100vw - 28px);
    max-height:calc(100dvh - 28px);
    overflow:auto;
    padding:24px 20px 20px;
    border-radius:22px;
  }
  #dmgc-auth-popup .dmgc-popup-header h2{font-size:26px;}
  #dmgc-auth-popup .dmgc-popup-header p{font-size:13px;}
  #dmgc-auth-popup .dmgc-tabs{margin-bottom:18px;}
}

/* =========================================================
   FINAL REQUEST: TEAM NAME OPENS THE SAME SLIDE MENU ON DESKTOP
   UI-only; existing authentication logic remains untouched.
========================================================= */
.dmgc-mobile-menu-team-title{
  flex:1;
  min-width:0;
  display:flex;
  align-items:center;
  min-height:52px;
  padding:0 18px;
  border:1px solid #343740;
  border-radius:14px;
  background:linear-gradient(145deg,#202229 0%,#191a1f 100%);
  color:#f5f6f8;
  font-size:18px;
  font-weight:800;
  letter-spacing:.7px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  box-shadow:0 10px 28px rgba(0,0,0,.20);
}

@media (min-width:701px){
  #dmgc-mobile-menu-overlay{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.68);
    backdrop-filter:blur(4px);
    -webkit-backdrop-filter:blur(4px);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .25s ease, visibility .25s ease;
    z-index:99996;
  }
  #dmgc-mobile-menu-overlay.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }
  #dmgc-mobile-menu{
    display:flex;
    position:fixed;
    top:0;
    right:0;
    width:min(430px,92vw);
    height:100dvh;
    flex-direction:column;
    background:#17181d;
    border-left:1px solid #30323a;
    box-shadow:-24px 0 70px rgba(0,0,0,.55);
    transform:translateX(105%);
    transition:transform .30s cubic-bezier(.22,.61,.36,1);
    z-index:99997;
  }
  #dmgc-mobile-menu.active{transform:translateX(0);}

  /* The desktop team-name control should launch the slide menu,
     not the old native dropdown. */
  .dmgc-team-menu-trigger,
  .dmgc-account-button summary.dmgc-team-menu-trigger{
    cursor:pointer !important;
  }
}


/* =========================================================
   FINAL DESKTOP TEAM MENU POLISH
   Keep the team name only in the slide-menu header. Clicking
   the existing team-name control opens the same right slide
   menu on desktop; the old compact dropdown is hidden.
========================================================= */
.dmgc-profile-menu .dmgc-profile-toggle{
  position:relative;
  cursor:pointer !important;
}

@media (min-width:701px){
  .dmgc-profile-menu .dmgc-profile-dropdown{
    display:none !important;
  }

  .dmgc-profile-menu .dmgc-profile-toggle.dmgc-team-menu-trigger{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    min-height:52px;
    min-width:150px;
    padding:0 22px;
    border:1px solid #3a3d46 !important;
    border-radius:14px !important;
    background:linear-gradient(145deg,#23252c 0%,#191a1f 100%) !important;
    color:#f4f5f7 !important;
    box-shadow:0 8px 26px rgba(0,0,0,.22) !important;
    font-size:16px !important;
    font-weight:800 !important;
    letter-spacing:.5px;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
  }
  .dmgc-profile-menu .dmgc-profile-toggle.dmgc-team-menu-trigger:hover{
    transform:translateY(-1px);
    border-color:#555a67 !important;
    box-shadow:0 12px 30px rgba(0,0,0,.30) !important;
  }

  #dmgc-mobile-menu{
    width:min(400px,90vw) !important;
    background:linear-gradient(180deg,#1a1b20 0%,#15161a 100%) !important;
    border-left:1px solid #363943 !important;
    box-shadow:-28px 0 80px rgba(0,0,0,.62) !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-menu-top{
    min-height:86px;
    padding:17px 20px;
    background:#111216;
    border-bottom:1px solid #333640;
  }
  #dmgc-mobile-menu .dmgc-mobile-menu-team-title{
    min-height:54px;
    padding:0 20px;
    border-radius:14px;
    background:linear-gradient(145deg,#25272e 0%,#1b1c21 100%);
    border:1px solid #393c46;
    box-shadow:0 8px 24px rgba(0,0,0,.20);
    font-size:19px;
  }
  #dmgc-mobile-menu .dmgc-mobile-menu-close{
    flex:0 0 48px;
  }
  #dmgc-mobile-menu .dmgc-mobile-menu-body{
    padding:16px 22px 34px;
  }
  #dmgc-mobile-menu .dmgc-mobile-section{
    padding:14px 0 20px;
  }
  #dmgc-mobile-menu .dmgc-mobile-section-title{
    margin-bottom:8px;
    font-size:12px;
    letter-spacing:2.2px;
  }
  #dmgc-mobile-menu .dmgc-mobile-website-links a,
  #dmgc-mobile-menu .dmgc-mobile-account-section>a{
    min-height:56px;
    padding:0 4px;
    font-size:17px;
    border-bottom:1px solid rgba(255,255,255,.07);
  }
}

/* =========================================================
   FINAL DESKTOP MENU ARRANGEMENT
   Desktop: website navigation is already visible in the site
   header, so keep only the Account section inside the slide menu.
   Mobile layout remains unchanged.
========================================================= */
@media (min-width:701px){
  #dmgc-mobile-menu .dmgc-mobile-menu-top{
    gap:12px !important;
  }

  #dmgc-mobile-menu .dmgc-mobile-menu-team-title{
    margin:0 !important;
    flex:1 1 auto !important;
    min-width:0 !important;
  }

  #dmgc-mobile-menu .dmgc-mobile-menu-close{
    flex:0 0 50px !important;
    width:50px !important;
    height:50px !important;
    margin-left:0 !important;
  }

  /* Hide WEBSITE only on desktop. The mobile menu still shows it. */
  #dmgc-mobile-menu .dmgc-mobile-menu-body > .dmgc-mobile-section:first-child{
    display:none !important;
  }

  /* Account becomes the clean, vertical desktop menu. */
  #dmgc-mobile-menu .dmgc-mobile-account-section{
    margin-top:0 !important;
    padding-top:24px !important;
    border-top:0 !important;
  }

  #dmgc-mobile-menu .dmgc-mobile-account-section > a{
    min-height:58px !important;
    padding:0 8px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    font-size:17px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
  }

  #dmgc-mobile-menu .dmgc-mobile-section-title{
    margin-bottom:10px !important;
  }
}

/* Keep the mobile team title and close button visually separated. */
@media (max-width:700px){
  #dmgc-mobile-menu .dmgc-mobile-menu-top{
    gap:10px !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-menu-team-title{
    margin:0 !important;
    min-width:0 !important;
    flex:1 1 auto !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-menu-close{
    flex:0 0 48px !important;
    margin-left:0 !important;
  }
}

/* =========================================================
   FINAL AUTH + TEAM MENU POLISH
   Only visual/UX additions requested for the final pass.
========================================================= */

/* Keep team name and close button on one clean row on desktop too. */
@media (min-width:701px){
  #dmgc-mobile-menu .dmgc-mobile-menu-top{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-menu-team-title{
    flex:1 1 auto !important;
    width:auto !important;
    max-width:none !important;
    margin:0 !important;
    min-width:0 !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-menu-close{
    position:relative !important;
    inset:auto !important;
    flex:0 0 50px !important;
    width:50px !important;
    height:50px !important;
    margin:0 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    border-radius:14px !important;
  }
}

/* Professional password eye button: no monkey/emoji, just a clean icon. */
#dmgc-auth-popup .dmgc-password-field{
  position:relative;
  width:100%;
  margin:0;
}
#dmgc-auth-popup .dmgc-password-field input{
  padding-right:54px !important;
  margin:0 !important;
}
#dmgc-auth-popup .dmgc-password-toggle{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  width:40px;
  height:40px;
  margin:0;
  padding:0;
  border:0;
  border-radius:10px;
  background:transparent;
  color:#aeb3bd;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:3;
  transition:background .2s ease,color .2s ease;
}
#dmgc-auth-popup .dmgc-password-toggle:hover{
  background:#2a2d35;
  color:#ffb400;
}
#dmgc-auth-popup .dmgc-eye-icon{
  width:21px;
  height:21px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#dmgc-auth-popup .dmgc-password-toggle.is-visible{
  color:#ffb400;
}
#dmgc-auth-popup .dmgc-password-toggle.is-visible .dmgc-eye-icon{
  filter:drop-shadow(0 0 4px rgba(255,180,0,.2));
}

/* Forgot-password action on the Login form. */
#dmgc-auth-popup .dmgc-forgot-password-wrap{
  display:flex;
  justify-content:flex-end;
  margin-top:-7px;
  margin-bottom:2px;
}
#dmgc-auth-popup .dmgc-forgot-password{
  display:inline-flex !important;
  align-items:center;
  color:#c8ccd5 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  padding:4px 2px !important;
  min-height:0 !important;
  transition:color .2s ease,opacity .2s ease;
}
#dmgc-auth-popup .dmgc-forgot-password:hover{
  color:#ffffff;
  text-decoration:underline;
}

/* Give the Login/Sign Up popup a slightly more premium desktop proportion. */
@media (min-width:701px){
  #dmgc-auth-popup{
    width:470px;
    max-height:calc(100vh - 40px);
    overflow:auto;
  }
}


/* FINAL ACCOUNT MENU CONTRAST — desktop only. */
@media (min-width:701px){
  #dmgc-mobile-menu .dmgc-mobile-menu-body{
    background:#1d1f24 !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-account-section{
    background:linear-gradient(180deg,#22242a 0%,#1d1f24 100%) !important;
    border:1px solid #343741 !important;
    border-radius:16px !important;
    padding:18px 16px 10px !important;
    margin:0 !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.025),0 10px 28px rgba(0,0,0,.18) !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-account-section .dmgc-mobile-section-title{
    color:#aeb3bd !important;
    padding:0 8px 8px !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-account-section>a{
    color:#f5f6f8 !important;
    padding:0 8px !important;
  }
  #dmgc-mobile-menu .dmgc-mobile-account-section>a:hover{
    color:#ffffff !important;
    background:rgba(255,255,255,.035) !important;
  }
}

/* =========================================================
   CUSTOM DMGC PASSWORD RESET
   Keeps the WordPress password engine, replaces its public UI.
========================================================= */
#dmgc-auth-popup .dmgc-reset-panel{
    width:100%;
}
#dmgc-auth-popup .dmgc-reset-heading{
    margin:4px 0 7px;
    color:#f5f6f8;
    font-size:24px;
    line-height:1.2;
    font-weight:800;
}
#dmgc-auth-popup .dmgc-reset-subtext{
    margin:0 0 18px;
    color:#c8ccd5;
    font-size:14px;
    line-height:1.55;
}
#dmgc-auth-popup .dmgc-reset-panel form{
    gap:14px;
}
#dmgc-auth-popup .dmgc-reset-back{
    width:100%;
    margin-top:12px;
    padding:10px 4px;
    border:0;
    background:transparent;
    color:#d4d7de;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}
#dmgc-auth-popup .dmgc-reset-back:hover{
    color:#fff;
}
#dmgc-auth-popup .dmgc-forgot-password{
    cursor:pointer;
    font-family:inherit;
}
#dmgc-auth-popup .dmgc-forgot-password:focus-visible,
#dmgc-auth-popup .dmgc-reset-back:focus-visible{
    outline:2px solid rgba(255,180,0,.65);
    outline-offset:3px;
}
#dmgc-auth-popup .dmgc-reset-panel .dmgc-password-field{
    margin-bottom:0;
}
#dmgc-auth-popup .dmgc-reset-panel button[type="submit"]:disabled{
    opacity:.65;
    cursor:wait;
    transform:none;
}
