/* =====================================================
   文件: msg_form.css
   路径: Z:\wwwsite\99cfw.com\webFile\city.99cfw.com\qietu\css\msg_form.css
   功能: 详情页留言表单样式
   创建: 2026-03-20
   ===================================================== */

/* 留言表单外层容器 */
.msg-form-wrap {
    margin: 28px 0 10px;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    padding: 20px 22px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* 标题栏 */
.msg-form-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f2f5;
}
.msg-form-title .layui-icon {
    color: #1a73e8;
    margin-right: 5px;
}

/* 文本域 */
.msg-textarea-wrap {
    position: relative;
    margin-bottom: 0;
}
.msg-textarea {
    height: 100px !important;
    resize: none;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    color: #333 !important;
    padding: 10px 12px !important;
    transition: border-color .2s;
    background: #fafbfc;
    width: 100%;
    box-sizing: border-box;
}
.msg-textarea:focus {
    border-color: #1a73e8 !important;
    background: #fff;
    outline: none;
}


/* 手机号输入区 */
.msg-phone-wrap {
    position: relative;
    margin-top: 10px;
}
.msg-phone-input {
    padding-left: 12px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    background: #fafbfc !important;
    font-size: 14px !important;
    color: #333 !important;
    transition: border-color .2s;
    height: 38px !important;
    line-height: 38px !important;
    width: 100%;
    box-sizing: border-box;
}
.msg-phone-input:focus {
    border-color: #1a73e8 !important;
    background: #fff !important;
    outline: none;
}

/* 提交按钮 */
.msg-submit-wrap {
    margin-top: 12px;
}
.msg-submit-btn {
    width: 100%;
    height: 40px;
    font-size: 15px;
    letter-spacing: 1px;
    background: #3266A0 !important;
    border: none !important;
    border-radius: 6px !important;
    color: #fff !important;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
}
.msg-submit-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}
.msg-submit-btn:active {
    transform: translateY(0);
}
.msg-submit-btn:disabled {
    opacity: .65 !important;
    cursor: not-allowed;
    transform: none !important;
}

/* =================================================================
   侧边栏适配 (Sidebar Adaptation)
   针对 .contR 容器进行的特殊风格覆盖，实现无缝融合。
   ================================================================= */
.contR .msg-form-wrap {
    margin-top: 30px;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.contR .msg-form-title {
    color: #333 !important;
    font-size: 15px !important;
    margin: 15px 0 10px 0 !important;
    line-height: 24px !important;
    border-bottom: none !important;
    font-weight: bold !important;
    border-left: 3px solid #3266A0 !important;
    padding: 0 0 0 10px !important;
    height: auto !important;
}

.contR .msg-form-body {
    padding: 0 !important;
}

.contR .msg-textarea, .contR .msg-phone-input {
    background: #fdfdfd !important;
}

.contR .msg-submit-btn {
    height: 44px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    background: #3266A0 !important;
}

/* 占位文字颜色优化：对比度适中 (#a5a5a5)，对齐侧边栏标签色 */
.msg-textarea::placeholder, 
.msg-phone-input::placeholder {
    color: #a5a5a5 !important;
    opacity: 1;
}
