/* 主容器 - 保持原有尺寸 */
.mp-main {
    float: left;
    width: 800px;
    min-height: 700px;
    padding: 20px;
    background: #f5f7fa;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    transition: all 0.3s ease;
    float: left;
    box-sizing: border-box;
}

/* 标题样式 */
.mp-userinfo-edit .mp-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 23px;
    padding-top: 8px;
    border-bottom: 1px solid #e0e3e7;
    position: relative;

}

.mp-userinfo-edit .mp-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    /*background: linear-gradient(90deg, #3498db, #9b59b6);*/
    border-radius: 3px;
}

/* 编辑框样式 */
.mp-edit-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f0f0f0;
}

/* 表单组样式 */
.mp-form-group {
    margin-bottom: 20px;
    position: relative;
}

.mp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.mp-form-group input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e0e3e7;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f9fafb;
    box-sizing: border-box;
}

.mp-form-group input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
    background: #ffffff;
}

/* 只读输入框样式 */
.mp-form-group input[readonly] {
    background: #f5f7fa;
    color: #7f8c8d;
    border-color: #e0e3e7;
}

/* 提交按钮样式 */
.mp-btn-submit {
    background: linear-gradient(135deg, #3498db, #9b59b6);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11);
}

.mp-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1);
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 850px) {
    .mp-main {
        width: 100%;
        padding: 20px;
    }
    
    .mp-edit-box {
        padding: 15px;
    }
}


/* 消息提示样式 */
.fecshop_message {
    margin-bottom: 24px;
}

.fecshop_message .correct-msg {
    padding: 12px 16px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.875rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fecshop_message .correct-msg:before {
    content: "✓";
    font-weight: bold;
}


/* 错误消息样式 - 与.fecshop_message结构配合 */
.fecshop_message .error-msg {
    padding: 12px 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.875rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px 0;
    animation: fadeIn 0.3s ease-out;
}

.fecshop_message .error-msg:before {
    content: "⚠";
    font-weight: bold;
    font-size: 1.1em;
}

/* 表单字段错误状态 */
.form-field.error-state .form-input {
    border-color: #f87171;
    background-color: #fef2f2;
}

.form-field.error-state label {
    color: #b91c1c;
}

.form-field .error-message {
    font-size: 0.75rem;
    color: #b91c1c;
    margin-top: 6px;
    display: none;
}

.form-field.error-state .error-message {
    display: block;
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 密码强度指示器增强 */
.password-strength-indicator {
    margin-top: 8px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.password-strength-meter {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    transition: width 0.4s ease, background-color 0.4s ease;
}

/* 密码强度颜色分级 */
.password-strength-meter.weak {
    background-color: #ef4444;
    width: 30%;
}

.password-strength-meter.medium {
    background-color: #f59e0b;
    width: 60%;
}

.password-strength-meter.strong {
    background-color: #10b981;
    width: 100%;
}

