/* 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;
}


