/* 通用重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}
body {
    background-color: #f5f7fa;
    color: #333;
    font-size: 14px;
}
a {
    text-decoration: none;
    color: #1e9fff;
}
a:hover {
    color: #007bff;
}
/* 表单通用样式 */
.form-item {
    margin-bottom: 15px;
}
.form-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #666;
}
.form-item input, .form-item select, .form-item textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
    outline: none;
    border-color: #1e9fff;
    box-shadow: 0 0 0 2px rgba(30, 159, 255, 0.2);
}
/* 按钮通用样式 */
.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.btn-primary {
    color: #fff;
    background-color: #1e9fff;
    border-color: #1e9fff;
}
.btn-success {
    color: #fff;
    background-color: #67c23a;
    border-color: #67c23a;
}
.btn-warning {
    color: #fff;
    background-color: #e6a23c;
    border-color: #e6a23c;
}
.btn-danger {
    color: #fff;
    background-color: #f56c6c;
    border-color: #f56c6c;
}
/* 弹窗通用样式 */
.modal-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-box {
    width: 600px;
    max-width: 90%;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}
.modal-close {
    font-size: 20px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.modal-close:hover {
    color: #333;
}
.modal-footer {
    margin-top: 20px;
    text-align: right;
}
/* 提示信息 */
.error-msg {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    background-color: #fef0f0;
    color: #f56c6c;
    text-align: center;
}
.success-msg {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    background-color: #f0f9ff;
    color: #67c23a;
    text-align: center;
}