#LoginWindow {
    box-sizing: border-box;
    border: 3px solid #0753a5;
    border-radius: 22px;
    background: linear-gradient(140deg, #39d9ff 0%, #119be8 48%, #0755bd 100%);
    box-shadow: 0 14px 36px rgba(0, 20, 58, 0.58), inset 0 0 0 2px rgba(255, 255, 255, 0.4);
}

#loginTitle,
#registerTitle {
    top: 14px;
    height: 42px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #064b91;
    border-radius: 13px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 2px rgba(0, 30, 75, 0.7);
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.42), 0 3px 4px rgba(0, 30, 72, 0.35);
}

#loginTitle {
    left: 22px;
    width: 300px;
    background: linear-gradient(#239cff, #0862c9);
}

#registerTitle {
    left: 378px;
    width: 300px;
    background: linear-gradient(#55e52f, #1ca900);
}

#LoginSap {
    top: 55px;
    left: 347px;
    width: 4px;
    height: 225px;
    background: linear-gradient(transparent, rgba(0, 52, 126, 0.8), transparent);
}

#LoginSap::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -19px;
    width: 42px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px 12px 17px 17px;
    background: linear-gradient(145deg, #51dfff, #0871da);
    box-shadow: 0 3px 8px rgba(0, 31, 94, 0.42);
    clip-path: polygon(50% 0, 100% 20%, 92% 70%, 50% 100%, 8% 70%, 0 20%);
}

#LoginSap::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: -30px;
    left: -8px;
    width: 20px;
    height: 25px;
    background:
        radial-gradient(circle at 50% 30%, #6518b5 0 4px, transparent 4.5px),
        radial-gradient(ellipse at 50% 110%, #6518b5 0 8px, transparent 8.5px);
}

#LoginPart {
    top: 68px;
    left: 22px;
    width: 310px;
}

#LoginUsername,
#LoginPass,
#RegisterPart .inputField {
    box-sizing: border-box;
    width: 300px;
    height: 36px;
    margin: 4px 5px;
    border: 2px solid #b9e6ff;
    border-radius: 10px;
    background: #f8fcff;
    color: #233a59;
    font-size: 16px;
    box-shadow: inset 0 2px 4px rgba(17, 58, 102, 0.17), 0 1px 2px rgba(0, 35, 91, 0.22);
}

#LoginUsername:focus,
#LoginPass:focus,
#RegisterPart .inputField:focus {
    outline: none;
    border-color: #ffe66d;
    box-shadow: 0 0 0 3px rgba(255, 225, 89, 0.36), inset 0 2px 4px rgba(17, 58, 102, 0.14);
}

#LoginSubmit {
    display: block;
    width: 300px;
    height: 42px;
    margin: 4px 5px 0;
    border: 2px solid #a85b00;
    border-radius: 12px;
    background: linear-gradient(#ffe44e, #ff9a08);
    color: #fff !important;
    font-size: 19px;
    text-shadow: 0 1px 2px rgba(115, 58, 0, 0.75);
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.58), 0 3px 4px rgba(0, 30, 72, 0.32);
}

#LoginSubmit:hover {
    background: linear-gradient(#fff078, #ffad1b);
}

#LoginPart .resetPass {
    display: inline-block;
    margin: 7px 5px 0;
    color: #fff;
    font-size: 13px;
}

#LoginPart .resetPass a,
#pplink3 {
    color: #fff !important;
    text-decoration: underline;
}

#LoginOR1 {
    display: none;
}

#ConnectWithFacebook {
    top: 248px;
    left: 54px;
}

#LoginFBStatus {
    display: none;
}

#LoginFBStatus.FBFail {
    display: block;
    top: 56px;
    left: 22px;
    z-index: 1;
    width: 310px;
    color: #fff;
    font-size: 11px;
    line-height: 14px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 30, 75, 0.8);
}

#LoginMute {
    top: -12px;
    right: 62px;
    left: auto;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 6px;
}

#LoginLang {
    top: -12px;
    right: 29px;
    left: auto;
    z-index: 2;
    box-sizing: border-box;
    height: 25px;
    padding-top: 2px;
    border-radius: 6px;
}

#pplink3 {
    right: 22px;
    bottom: 7px;
    left: auto;
    z-index: 1;
    font-size: 11px;
}

#RegisterPart {
    top: 68px;
    left: 378px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 310px;
}

#RegisterPart > br {
    display: none;
}

#RegisterPart .formLine {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 310px;
    margin: 0;
}

#RegisterPart > .formLine:nth-of-type(2) {
    order: 1;
}

#RegisterPart > .formLine:nth-of-type(3) {
    order: 2;
}

#formLineGender {
    order: 3;
    gap: 8px;
}

#formLineGender input[type="radio"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

#formLineGender label {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 5px;
    box-sizing: border-box;
    height: 38px;
    margin: 0;
    padding: 0 8px;
    border: 2px solid #0757a8;
    border-radius: 11px;
    background: linear-gradient(#2da8f4, #0872cf);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 27, 73, 0.75);
    cursor: pointer;
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.3), 0 2px 3px rgba(0, 30, 72, 0.26);
}

#formLineGender input[type="radio"]:focus + label {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

#formLineGender #male:checked + label {
    background: linear-gradient(#31b8ff, #0876d5);
    border-color: #ffe16b;
}

#formLineGender #female + label {
    background: linear-gradient(#e75bff, #a916d7);
    border-color: #7a20a1;
}

#formLineGender #female:checked + label {
    border-color: #ffe16b;
}

#RegisterPart > .formLine:last-child {
    order: 4;
}

#RegisterSubmit {
    width: 300px;
    min-height: 42px;
    padding: 6px 12px;
    border: 2px solid #168400;
    border-radius: 12px;
    background: linear-gradient(#4ee52b, #1ba800);
    font-size: 20px;
    box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.42), 0 3px 4px rgba(0, 30, 72, 0.32);
}

#RegisterSubmit:hover {
    background: linear-gradient(#72f152, #29c510);
}
