﻿body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../bgLogin.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
}

.login-form-container {
    width: 400px;
    padding: 50px 35px;
    background-color: rgba(255,255,255,0.13);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    color: #fff;
    position: relative;
    z-index: 2;
}

.glass-input {
    width: 100%;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 3px;
    color: #fff;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

    .glass-input::placeholder {
        color: #e5e5e5;
    }

/* 密码小眼睛 */
input[type="password"]::-ms-reveal {
    filter: invert(1); /* 小眼睛变白色 */
}

.btn-login {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.6); /* 禁用/默认：半透明白 */
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
    font-size: 18px;
    margin-top: 20px;
    color: #666; /* 禁用/默认：深色字 */
    transition: all 0.3s ease;
}

    .btn-login:not(:disabled) {
        background-color: rgba(243, 128, 35, 0.9); /* 启用：半透明橙 */
        color: #ffffff; /* 启用：白色字 */
        cursor: pointer;
    }

        .btn-login:not(:disabled):hover {
            background-color: rgba(243, 128, 35, 1.0);
            box-shadow: 0 0 15px rgba(243, 128, 35, 0.8);
        }

    .btn-login:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

#turnstile-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    min-height: 65px;
}

.global-error {
    background: rgba(255,0,0,0.7);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #fff;
}
