/* 遮罩层 */
.popup-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

/* 弹窗表单 */
.popup-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 400px;
    background: #fff;
    border-radius: 8px;
    z-index: 9999;
    display: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* 弹窗头部 */
.popup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.close-btn {
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #333;
}

/* 弹窗内容 */
.popup-body {
    padding: 20px;
}

.form-item {
    margin-bottom: 15px;
}

.form-item label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #333;
}

.required {
    color: #ff4444;
}

.form-item input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-item input:focus {
    outline: none;
    border-color: #4285f4;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: #4285f4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #3367d6;
}

.tips {
    margin-top: 10px;
    font-size: 13px;
    color: #ff4444;
    text-align: center;
}
