html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        body {
            background: linear-gradient(135deg, #4f046a 0%, #312e81 100%);
            min-height: 100vh;
            font-family: 'Segoe UI', 'Arial', 'sans-serif';
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .login-container {
            width: 100vw;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .login-box {
            background: rgba(255,255,255,0.10);
            backdrop-filter: blur(10px);
            border-radius: 18px;
            padding: 2.5rem 2rem 2rem 2rem;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            border: 1px solid rgba(255,255,255,0.18);
            width: 100%;
            max-width: 400px;
            margin: 0 auto;
        }
        .login-title {
            font-size: 2.1rem;
            font-weight: bold;
            color: #fff;
            text-align: center;
            margin-bottom: 2rem;
            letter-spacing: 1px;
        }
        .input-group {
            margin-bottom: 1.5rem;
        }
        .input-icon-container {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }
        .input-icon {
            color: #bbb;
            font-size: 1.2rem;
        }
        .relative {
            position: relative;
        }
        .login-input {
            width: 100%;
            padding: 1rem 1rem 1rem 3rem;
            background: rgba(255,255,255,0.13);
            border: 1px solid rgba(255,255,255,0.18);
            border-radius: 8px;
            color: #fff;
            font-size: 1.1rem;
            outline: none;
            transition: border 0.2s, background 0.2s;
            box-sizing: border-box;
        }
        .login-input:focus {
            border: 1.5px solid #2563eb;
            background: rgba(255,255,255,0.18);
        }
        .login-button {
            width: 100%;
            background: #2563eb;
            color: #fff;
            font-weight: bold;
            padding: 0.9rem 0;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            margin-top: 0.5rem;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(37,99,235,0.08);
            transition: background 0.2s, transform 0.1s;
        }
        .login-button:hover {
            background: #1d4ed8;
            transform: scale(1.02);
        }
        .login-footer {
            color: #eee;
            text-align: center;
            margin-top: 2rem;
            font-size: 0.95rem;
        }
        .login-footer a {
            color: #fff;
            text-decoration: underline;
        }
        .login-footer a:hover {
            color: #60a5fa;
        }
        .input-icon-btn {
            position: absolute;
            right: 0.7rem;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: #bbb;
            font-size: 1.2rem;
            cursor: pointer;
            outline: none;
            padding: 0 0.2rem;
            z-index: 2;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
        }
        .input-icon-btn i {
            margin-right: 0;
        }
        .login-button i {
            margin-right: 0.5em;
        }
        @media (max-width: 600px) {
            .login-box {
                max-width: 90vw;
                padding: 1.2rem 0.3rem 1rem 0.3rem;
                border-radius: 10px;
            }
            .login-title {
                font-size: 1.2rem;
                margin-bottom: 1rem;
            }
            .login-footer {
                font-size: 0.8rem;
                margin-top: 0.8rem;
            }
            .input-group {
                margin-bottom: 1rem;
            }
            .login-input {
                font-size: 0.95rem;
                padding: 0.7rem 12vw 0.7rem 12vw;
                border-radius: 6px;
                margin-left: 4vw;
                margin-right: 4vw;
                width: calc(100% - 8vw);
                background: #fff !important;
                color: #222 !important;
                border: 1px solid #e5e7eb;
            }
            .login-input:focus {
                background: #f3f4f6 !important;
                border: 1.5px solid #2563eb;
                color: #222 !important;
            }
            .login-button {
                font-size: 1rem;
                padding: 0.7rem 0;
                border-radius: 6px;
                margin-left: 4vw;
                margin-right: 4vw;
                width: calc(100% - 8vw);
            }
            .input-icon-container {
                width: 10vw;
                min-width: 28px;
                left: calc(4vw + 8px);
            }
            .input-icon-btn {
                width: 10vw;
                min-width: 28px;
                max-width: 48px;
                right: calc(4vw + 8px);
                font-size: 1rem;
                display: flex;
                align-items: center;
                justify-content: flex-end;
                height: 100%;
                top: 0;
                transform: none;
                padding-right: 8px;
            }
            .input-icon-btn i {
                margin-right: 0.5em;
            }
        }

        /* 修正弹窗样式，确保遮罩和内容层级、居中、响应式 */
        .custom-alert-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.5);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .custom-alert-content {
            background: #fff;
            border-radius: 12px;
            padding: 2rem 1.5rem 1.5rem 1.5rem;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            max-width: 90vw;
            width: 100%;
            max-width: 340px;
            text-align: center;
            z-index: 10001;
            position: relative;
            animation: alert-pop 0.2s cubic-bezier(.4,2,.6,1) both;
        }
        @keyframes alert-pop {
            0% { transform: scale(0.95); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }
        .custom-alert-content .fa-exclamation-triangle {
            color: #ef4444;
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }
        .custom-alert-content h3 {
            font-size: 1.1rem;
            font-weight: bold;
            color: #222;
            margin-bottom: 0.5rem;
        }
        .custom-alert-content p {
            color: #666;
            margin-bottom: 1.2rem;
            font-size: 1rem;
        }
        .custom-alert-content button {
            background: #ef4444;
            color: #fff;
            border: none;
            border-radius: 6px;
            padding: 0.6rem 1.5rem;
            font-size: 1rem;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.2s;
        }
        .custom-alert-content button:hover {
            background: #dc2626;
        }