/* 部长信箱（写信 / 来信查询 / 留言查看）新版样式，对齐 content/2026 的口径。
 * 消费者：Views/Home/Bzxx.cshtml、BzxxLy.cshtml、BzxxView.cshtml + Views/Shared/_liuyanLeft.cshtml（左栏便民服务）。
 * 说明：类名沿用老版 content/css/bzxx.css / reusemail.css 的语义（视图改动最小），
 *       但**去掉了图片依赖（mail_1.png / replay_bg.png / cly.png / 1~4.png 等）与固定高度（老版 .right 写死 1110px）**。
 * 主色 #ed2c25；描边 #ececec/#f0f0f0；正文 #333；次要 #888/#555。 */

/* ============ 两栏布局（左栏便民服务 + 右栏内容） ============ */
.bzxx-layout {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.bzxx-layout_main {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 20px;
}

/* ============ 左栏：便民服务（_liuyanLeft.cshtml） ============ */
.bzxx-side {
    flex: 0 0 281px;
    padding-bottom: 18px;
    background: #fbfafa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.bzxx-side_title {
    line-height: 46px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    background: #ed2c25;
    border-radius: 4px 4px 0 0;
}

.bzxx-side_menu {
    padding: 10px 12px 0;
}

.bzxx-side_menu li {
    margin-top: 10px;
}

.bzxx-side_menu a {
    display: block;
    padding-left: 14px;
    line-height: 42px;
    font-size: 15px;
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bzxx-side_menu a:hover,
.bzxx-side_menu li.active a {
    color: #ed2c25;
    background: #faeae9;
    border-color: #f2b6b1;
    text-decoration: none;
}

.bzxx-side_contact {
    margin: 18px 12px 0;
    padding-top: 12px;
    border-top: 1px dashed #e5e5e5;
    font-size: 14px;
    color: #888;
}

.bzxx-side_contact p {
    display: flex;
    justify-content: space-between;
    line-height: 28px;
}

.bzxx-side_contact em {
    font-style: normal;
    font-weight: bold;
    color: #0057ad;
}

/* ============ 右栏面板 ============ */
.bzxx-panel {
    padding: 26px 28px;
    border: 1px solid #ececec;
    border-radius: 4px;
    background: #fff;
}

.bzxx-panel + .bzxx-panel {
    margin-top: 20px;
}

/* 阅读须知（写信页第一步） */
.bzxx-notice_title {
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.bzxx-notice_text p {
    font-size: 15px;
    line-height: 30px;
    color: #333;
}

.bzxx-notice_check {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed #e5e5e5;
    font-size: 15px;
    color: #555;
}

.bzxx-notice_check input {
    width: 15px;
    height: 15px;
    margin-right: 6px;
    vertical-align: -2px;
    cursor: pointer;
}

.bzxx-notice_check .yetRead {
    color: #ed2c25;
    font-weight: bold;
}

/* 勾选"已经阅读"后由 JS 显示 */
.bzxx-formPanel {
    display: none;
}

/* ============ 写信表单（_BzxxForm.cshtml） ============ */
.bzxx-form_tip {
    margin-bottom: 22px;
    padding: 12px 16px;
    background: #fbfafa;
    border-left: 3px solid #ed2c25;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    line-height: 26px;
    color: #555;
}

.bzxx-form_tip i {
    color: #ed2c25;
    font-style: normal;
}

.bzxx-form_row {
    display: flex;
    margin-bottom: 14px;
}

.bzxx-form_label {
    flex: 0 0 98px;
    padding-right: 12px;
    font-size: 15px;
    line-height: 36px;
    color: #555;
    text-align: right;
}

.bzxx-form_label i {
    margin-right: 2px;
    color: #ed2c25;
    font-style: normal;
}

.bzxx-form_field {
    flex: 1 1 auto;
    min-width: 0;
}

.bzxx-form_field input[type="text"],
.bzxx-form_field input[type="email"],
.bzxx-form_field textarea {
    width: 100%;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    outline: none;
}

.bzxx-form_field input[type="text"],
.bzxx-form_field input[type="email"] {
    height: 36px;
}

.bzxx-form_field textarea {
    height: 150px;
    padding-top: 8px;
    line-height: 24px;
    resize: vertical;
}

.bzxx-form_field input:focus,
.bzxx-form_field textarea:focus {
    border-color: #f2b6b1;
    box-shadow: 0 0 4px rgba(237, 44, 37, .15);
}

.bzxx-form_code {
    display: flex;
    align-items: center;
}

.bzxx-form_code input[type="text"] {
    width: 160px;
}

.bzxx-form_code img {
    height: 36px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.bzxx-form_actions {
    padding-left: 98px;
    margin-top: 26px;
}

.bzxx-btn {
    display: inline-block;
    min-width: 117px;
    height: 42px;
    margin-right: 11px;
    padding: 0 20px;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    color: #fff;
    background: #ed2c25;
    cursor: pointer;
}

.bzxx-btn:hover {
    background: #d2231a;
}

.bzxx-btn--ghost {
    color: #555;
    background: #fff;
    border: 1px solid #ddd;
}

.bzxx-btn--ghost:hover {
    color: #ed2c25;
    background: #fffafa;
    border-color: #f2b6b1;
}

/* 表单字段提示（Validform 复用） */
.f_msg {
    margin-top: 4px;
    font-size: 12px;
}

.Validform_wrong {
    color: #ed2c25;
}

#Validform_msg {
    display: none;
}

/* ============ 弹窗内容（layer.open 取 .box2 / .box3 的 HTML） ============ */
.box2,
.box3 {
    display: none;
}

.bzxx-pop {
    width: 100%;
    padding: 30px 24px;
    box-sizing: border-box;
    text-align: center;
}

.bzxx-pop_title {
    font-size: 15px;
    font-weight: bold;
    line-height: 34px;
    color: #ed2c25;
}

.bzxx-pop_row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
    font-size: 15px;
    color: #333;
}

.bzxx-pop_label {
    width: 100px;
    line-height: 34px;
    color: #888;
    text-align: center;
    border-right: 1px solid #e2dedf;
}

.bzxx-pop_value {
    min-width: 150px;
    padding-left: 20px;
    line-height: 34px;
    color: #ed2c25;
    font-weight: bold;
    text-align: left;
}

.bzxx-pop input.codetxt {
    width: 170px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    outline: none;
}

.bzxx-pop input.codetxt:focus {
    border-color: #f2b6b1;
}

.bzxx-pop .searchbtn {
    display: block;
    width: 110px;
    height: 36px;
    margin: 22px auto 0;
    border: 0;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    color: #fff;
    background: #ed2c25;
    cursor: pointer;
}

.bzxx-pop .searchbtn:hover {
    background: #d2231a;
}

/* ============ 来信查询（BzxxView.cshtml） ============ */
.bzxx-search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    padding: 16px 20px;
    background: #fafafa;
    border-radius: 4px;
}

.bzxx-search_label {
    font-size: 15px;
    color: #555;
}

.bzxx-search input {
    width: 252px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    outline: none;
}

.bzxx-search input:focus {
    border-color: #f2b6b1;
}

.bzxx-search_btn {
    width: 90px;
    height: 34px;
    border: 0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: #fff;
    background: #ed2c25;
    cursor: pointer;
}

.bzxx-search_btn:hover {
    background: #d2231a;
}

.bzxx-search_back {
    display: inline-block;
    width: 76px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    color: #555;
    text-align: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.bzxx-search_back:hover {
    color: #ed2c25;
    border-color: #f2b6b1;
    text-decoration: none;
}

/* 留言与回复 */
.bzxx-msg_title {
    position: relative;
    margin-bottom: 18px;
    padding-left: 26px;
    font-size: 16px;
    line-height: 28px;
    color: #ed2c25;
}

.bzxx-msg_title::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 0;
    width: 16px;
    height: 16px;
    background: #faeae9;
    border: 2px solid #ed2c25;
    border-radius: 50%;
    box-sizing: border-box;
}

.bzxx-msg_from {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: bold;
    color: #0057ad;
}

.bzxx-msg_from span {
    font-weight: normal;
    color: #333;
}

.bzxx-msg_body {
    font-size: 15px;
    line-height: 28px;
    color: #333;
}

.bzxx-msg_time {
    margin-left: 6px;
    color: #888;
}

.bzxx-reply {
    margin-top: 22px;
    padding: 18px 22px;
    background: #fafafa;
    border-left: 3px solid #ed2c25;
    border-radius: 0 4px 4px 0;
}

.bzxx-reply_body {
    font-size: 15px;
    line-height: 28px;
    color: #333;
}

.bzxx-msg_empty {
    padding: 60px 0;
    font-size: 15px;
    color: #888;
    text-align: center;
}
