/* ===== GetMetal themed DLEPush / DLE 19.x compatibility fixes ===== */

#DLEPush,
#DLEPush.DLEPush,
#DLEPush.top-right,
#DLEPush.jGrowl,
#DLEPush.DLEPush.top-right.jGrowl {
    position: fixed !important;
    top: 26px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    width: 640px !important;
    max-width: calc(100vw - 40px) !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999999 !important;
    display: block !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    pointer-events: none !important;
}

#DLEPush .DLEPush-notification:empty {
    display: none !important;
}

#DLEPush .DLEPush-notification,
#DLEPush .DLEPush-notification.wrapper {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-height: 68px !important;
    margin: 0 0 14px 0 !important;
    padding: 16px 48px 16px 78px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: linear-gradient(180deg, rgba(72,72,72,.96) 0%, rgba(40,40,40,.97) 100%) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.03) inset,
        0 10px 30px rgba(0,0,0,.55),
        0 0 22px rgba(0,0,0,.35) !important;
    color: #f2f2f2 !important;
    pointer-events: auto !important;
}

#DLEPush .DLEPush-notification::before,
#DLEPush .DLEPush-notification.wrapper::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: #888;
}

#DLEPush .push-success::before {
    background: linear-gradient(180deg, #5fd16d 0%, #2e7d32 100%);
}

#DLEPush .push-warning::before {
    background: linear-gradient(180deg, #ffbf47 0%, #ef6c00 100%);
}

#DLEPush .push-error::before {
    background: linear-gradient(180deg, #ff6b6b 0%, #c62828 100%);
}

#DLEPush .DLEPush-icon {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset !important;
}

#DLEPush .push-success .DLEPush-icon {
    background: linear-gradient(180deg, #43a047 0%, #2e7d32 100%) !important;
}

#DLEPush .push-warning .DLEPush-icon {
    background: linear-gradient(180deg, #fb8c00 0%, #ef6c00 100%) !important;
}

#DLEPush .push-error .DLEPush-icon {
    background: linear-gradient(180deg, #e53935 0%, #b71c1c 100%) !important;
}

#DLEPush .DLEPush-icon svg {
    width: 18px !important;
    height: 18px !important;
}

#DLEPush .DLEPush-header {
    display: block !important;
    margin: 0 0 6px 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 0 rgba(0,0,0,.35) !important;
    letter-spacing: .6px !important;
    text-transform: uppercase !important;
}

#DLEPush .DLEPush-header:empty {
    display: none !important;
}

#DLEPush .DLEPush-message {
    display: block !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: #d8d8d8 !important;
}

#DLEPush .DLEPush-message:empty {
    display: none !important;
}

#DLEPush .DLEPush-message ul,
#DLEPush .DLEPush-message li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#DLEPush .DLEPush-close {
    position: absolute !important;
    right: 12px !important;
    top: 10px !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.06) !important;
    color: #d5d5d5 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    opacity: 1 !important;
    transition: .15s ease !important;
}

#DLEPush .DLEPush-close:hover {
    background: rgba(255,255,255,.14) !important;
    color: #fff !important;
}

#newpm {
    position: fixed !important;
    top: 26px !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    z-index: 999998 !important;
}

@media (max-width: 700px) {
    #DLEPush,
    #DLEPush.DLEPush,
    #DLEPush.top-right,
    #DLEPush.jGrowl,
    #DLEPush.DLEPush.top-right.jGrowl {
        width: calc(100vw - 20px) !important;
        top: 10px !important;
    }

    #DLEPush .DLEPush-notification,
    #DLEPush .DLEPush-notification.wrapper {
        padding: 14px 42px 14px 68px !important;
        min-height: 62px !important;
        border-radius: 10px !important;
    }

    #DLEPush .DLEPush-header {
        font-size: 14px !important;
    }

    #DLEPush .DLEPush-message {
        font-size: 13px !important;
    }
}
.ui-dialog .ui-dialog-content .stext {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: #d6d6d6 !important;
}

.ui-dialog .ui-dialog-content .stext a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.ui-dialog .ui-dialog-content .stext a:hover {
    color: #ffcc8a !important;
    text-decoration: underline !important;
}

.ui-dialog .ui-dialog-content .stext input.f_input,
.ui-dialog .ui-dialog-content .stext textarea.f_textarea {
    box-sizing: border-box !important;
}

.ui-dialog .ui-dialog-content .stext b {
    color: #f0f0f0 !important;
}
/* ===== profile popup hard fix ===== */

.ui-dialog[aria-describedby="dleprofilepopup"] {
    background: #353535 !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.65) !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-widget-content,
.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-content {
    background: #353535 !important;
    color: #d7d7d7 !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-titlebar,
.ui-dialog[aria-describedby="dleprofilepopup"] .ui-widget-header {
    background: linear-gradient(180deg, #111111 0%, #2b2b2b 100%) !important;
    color: #ffffff !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-content {
    padding: 18px !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-buttonpane {
    background: #353535 !important;
    border: 0 !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    padding: 12px 16px !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-buttonpane button {
    min-height: 34px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 6px !important;
    background: linear-gradient(180deg, #5a5a5a 0%, #3e3e3e 100%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    cursor: pointer !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-buttonpane button:hover {
    background: linear-gradient(180deg, #666666 0%, #474747 100%) !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-titlebar-close {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 26px !important;
    height: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.08) !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-titlebar-close .ui-icon,
.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-titlebar-close span {
    background-image: none !important;
    text-indent: 0 !important;
    overflow: visible !important;
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1 !important;
}

.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-titlebar-close .ui-icon:before,
.ui-dialog[aria-describedby="dleprofilepopup"] .ui-dialog-titlebar-close span:before {
    content: "×";
}

#gm-profile-popup a,
#dleprofilepopup a {
    color: #ffffff !important;
    text-decoration: none !important;
}

#gm-profile-popup a:hover,
#dleprofilepopup a:hover {
    color: #ffcc8a !important;
    text-decoration: underline !important;
}