/* Modern Login Overrides */
#LoginWindowBG {
    font-family: 'Outfit', sans-serif !important;
    background: rgba(0, 0, 0, 0.6) !important; /* Darker backdrop */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#LoginWindow {
    font-family: 'Outfit', sans-serif !important;
    background: rgba(15, 20, 30, 0.7) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px !important;
    color: white !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;
    right: auto !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
    width: 380px !important;
    height: auto !important;
    max-height: 90vh !important;
    box-sizing: border-box;
}

#loginTitle, #registerTitle {
    font-family: 'Outfit', sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px !important;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5) !important;
    text-align: center;
    width: 100%;
}

#LoginPart, #RegisterPart {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: static !important;
}

#LoginWindow .inputField {
    width: 100% !important;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    color: white !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    margin-bottom: 12px !important;
    transition: all 0.3s ease !important;
}

#LoginWindow .inputField::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

#LoginWindow .inputField:focus {
    outline: none !important;
    border-color: rgba(0, 255, 255, 0.5) !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Modern Gradient Buttons */
#LoginWindow .blueBtn, #LoginWindow .registerButton {
    width: 100% !important;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    color: white !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 12px !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px !important;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4) !important;
}

#LoginWindow .blueBtn:hover, #LoginWindow .registerButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6) !important;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

#LoginWindow .blueBtn:active, #LoginWindow .registerButton:active {
    transform: translateY(1px);
}

#LoginWindow .resetPass {
    margin-top: 15px !important;
    display: block;
    text-align: center;
}

#LoginResetA {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

#LoginResetA:hover {
    color: #00f2fe !important;
}

#LoginSap {
    width: 100%;
    height: 1px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    margin: 25px 0 !important;
}

#toslink, #pplink {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.2s ease;
    display: inline-block;
}

#toslink:hover, #pplink:hover {
    color: white !important;
}

/* Fix old absolute positioning */
#LoginWindow > * {
    position: relative !important;
    left: auto !important;
    top: auto !important;
}

/* Modern Controls for Mute and Language */
#LoginMute, #LoginLang {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute !important;
    top: 15px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 12px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important;
}

#LoginMute {
    right: 55px !important;
    left: auto !important;
}

#LoginMute::after {
    content: '🔊';
    font-size: 14px;
}

#LoginMute.mute::after {
    content: '🔇';
}

#LoginLang {
    right: 15px !important;
    left: auto !important;
    padding: 0 !important;
}

#LoginMute:hover, #LoginLang:hover {
    background-color: rgba(0, 242, 254, 0.3) !important;
    border-color: #00f2fe !important;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5) !important;
    transform: scale(1.1) !important;
}

/* Fix the forms layout */
.formLine {
    width: 100%;
    margin-bottom: 5px;
}

#formLineGender {
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

#formLineGender label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

input[type="radio"] {
    accent-color: #00f2fe;
}
