@charset "utf-8";
/* CSS Document */

        /* 弹窗 (modal) 样式 - 极简设计，与网站风格融合 */
        .modal-overlay {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0,20,40,0.7);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.25s ease, visibility 0.25s;
        }
        .modal-overlay.active {
            visibility: visible;
            opacity: 1;
        }
        .modal-box {
            background: linear-gradient(145deg, #ffffff 0%, #f5f9ff 100%);
            width: 90%;
            max-width: 420px;
            border-radius: 10px;
            box-shadow: 0 30px 50px rgba(0,20,50,0.5);
            padding: 30px 28px;
            position: relative;
            transform: scale(0.95) translateY(10px);
            transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.1);
            border: 1px solid rgba(66, 153, 225, 0.3);
        }
        .modal-overlay.active .modal-box {
            transform: scale(1) translateY(0);
        }
        .modal-close {
            position: absolute;
            top: 18px; right: 22px;
            font-size: 28px;
            line-height: 1;
            cursor: pointer;
            color: #718096;
            transition: color 0.2s;
            background: transparent;
            border: none;
            padding: 0;
        }
        .modal-close:hover {
            color: #1a202c;
        }
        .modal-title {
            font-size: 26px;
            font-weight: 600;
            margin-bottom: 25px;
            color: #0b3550;
            border-left: 6px solid #1D4ED8;
            padding-left: 18px;
            letter-spacing: -0.3px;
        }
        /* 修改：字段行使用flex布局，标签和输入框同一行 */
        .modal-field {
            margin-bottom: 18px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .modal-field label {
            width: 60px;
            font-size: 16px;
            font-weight: 500;
            color: #1e4b6e;
            flex-shrink: 0;
            text-align: right;
        }
        .modal-field .field-wrapper {
            flex: 1;
        }
        .modal-field input {
            width: 100%;
            padding: 12px 16px;
            border: 1px solid #cddbe9;
            border-radius: 10px;
            font-size: 15px;
            background: white;
            transition: 0.2s;
            box-sizing: border-box;
            outline: none;
        }
        .modal-field input:focus {
            border-color: #1e6f9f;
            box-shadow: 0 0 0 3px rgba(30,111,159,0.15);
        }
        .captcha-row {
            flex: 1;
            display: flex;
            gap: 10px;
            align-items: center;
        }
        .captcha-row input {
            flex: 2;
        }
        .captcha-row .captcha-placeholder {
            flex: 1;
            background: #d9e4f0;
            height: 46px;
            border-radius: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            color: #0b4b6b;
            font-size: 22px;
            letter-spacing: 4px;
            background: repeating-linear-gradient(45deg, #cbd5e0, #cbd5e0 8px, #b8c9dd 8px, #b8c9dd 16px);
            border: 1px solid #9bb6cf;
            user-select: none;
        }
        .modal-submit {
            background: #1D4ED8;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 50px;
            font-size: 18px;
            
            width: 100%;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            box-shadow: 0 8px 18px rgba(17,105,140,0.3);
            margin-top: 10px;
        }
        .modal-submit:hover {
            background: url(../images/anbg.jpg) left no-repeat #8B66DA;
        }
        .modal-submit:active {
            transform: scale(0.98);
        }
        .footer-note {
            text-align: center;
            font-size: 13px;
            color: #5f7d9c;
            margin-top: 20px;
        }
        /* 注册框稍微宽一点 */
        .modal-box.register-box {
            max-width: 520px;
        }
        /* 验证码模拟 */
        .simple-alert {
            position: fixed;
            bottom: 30px; left: 50%;
            transform: translateX(-50%);
            background: #0b3550;
            color: white;
            padding: 12px 30px;
            border-radius: 60px;
            font-size: 15px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.3);
            z-index: 10010;
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }
        .simple-alert.show {
            opacity: 1;
        }
        /* 原有菜单wrapper提升层级 */
        .menu-wrapper {
            z-index: 9999;
        }
