@import url('./common/header.css');
@import url('./common/footer.css');
@import url('./common/icons/icons.css');
@import url('./common/reset.css');
@import url('./common/title.css');

html, body {
            width: 100%;
            height: 100%;
            /* 允许滚动 */
            overflow: auto;
        }

        /* 隐藏 Chrome / Edge / Safari 滚动条 */
        body::-webkit-scrollbar {
            display: none;
        }

        /* 隐藏 IE / Edge 滚动条 */
        body {
            -ms-overflow-style: none;
        }

        /* 隐藏 Firefox 滚动条 */
        body {
            scrollbar-width: none;
        }

/* 弹窗样式 */
.A9-login-modal, .A9-register-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.A9-modal-content {
    background: #fff;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.A9-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f2f2f2;
}

.A9-modal-header h3 {
    font-size: 18px;
    font-weight: bold;
    color: #222;
    margin: 0;
}

.A9-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.A9-close-btn:hover {
    color: #333;
}

.A9-modal-body {
    padding: 20px;
}

.A9-form-group {
    margin-bottom: 16px;
}

.A9-form-group label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
}

.A9-form-group input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 14px;
    color: #222;
    transition: border-color 0.3s;
}

.A9-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.A9-submit-btn {
    width: 100%;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.A9-submit-btn:hover {
    background: var(--gradient-color);
}

.A9-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.A9-form-footer a {
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
}

.A9-form-footer a:hover {
    text-decoration: underline;
}

/* 移动端隐藏弹窗 */
@media (max-width: 768px) {
    .A9-login-modal, .A9-register-modal {
        display: none !important;
    }
}