﻿@font-face {
    font-family: 'iconfont';
    src: url('../fonts/font_3152891_vfk50lg2xy_1.woff2') format('woff2');
}
.iconfont {font-family:"iconfont";font-size:30px;font-style:normal;-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}

/* 侧边栏层级修复 */
.fixedNav { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 99999; border-radius: 8px 0 0 8px; }
.fixedNav dd { margin: 0; position: relative; background: #8B0000; border-bottom: 1px solid rgba(255,255,255,0.1); width: 80px; }
.fixedNav dd > a { display: block; padding: 12px 0; text-align: center; color: #fff; transition: all 0.3s ease; text-decoration: none; }
.fixedNav dd > a:hover { background: #660000; }
.fixedNav dd .mfont12 { font-size: 11px; margin-top: 4px; opacity: 0.9; color:#fff; text-align: center; line-height: 1.2; }

/* 企微二维码弹出逻辑 */
.showNav {
    position: absolute; right: 85px; top: 0; background: #8B0000; color: #fff; padding: 15px;
    visibility: hidden; opacity: 0; transform: translateX(10px);
    transition: all 0.3s ease; border-radius: 4px; box-shadow: -5px 5px 15px rgba(0,0,0,0.2);
    z-index: 100000; text-align: center;
}
.fixedNav dd:hover .showNav { 
    visibility: visible; opacity: 1; transform: translateX(0); 
}

/* 弹窗遮罩 */
.rf-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); z-index: 200000;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(5px);
}
.rf-modal-overlay.rf-active { display: flex; }

/* 弹窗主体 */
.rf-modal-box {
    background: #fff; width: 90%; max-width: 480px; padding: 45px 40px;
    border-radius: 12px; position: relative;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    animation: rfFadeUp 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@keyframes rfFadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.rf-close-modal {
    position: absolute; top: 15px; right: 20px; font-size: 30px;
    color: #ccc; cursor: pointer; transition: 0.3s;
}
.rf-close-modal:hover { color: #8B0000; }

.rf-modal-header { text-align: center; margin-bottom: 30px; }
.rf-modal-header h3 { font-size: 26px; color: #1a1a1a; margin-bottom: 10px; font-weight: 700; }
.rf-modal-header p { color: #666; font-size: 14px; line-height: 1.5; }

.rf-form-group { margin-bottom: 20px; }
.rf-form-group input, .rf-form-group textarea {
    width: 100%; padding: 14px 16px; border: 1px solid #e0e0e0;
    border-radius: 6px; font-size: 15px; outline: none; transition: 0.3s;
    background: #f8f8f8;
}
.rf-form-group input:focus, .rf-form-group textarea:focus { 
    border-color: #8B0000; background: #fff; box-shadow: 0 0 0 3px rgba(139,0,0,0.1); 
}

.rf-submit-btn {
    width: 100%; padding: 16px; background: #8B0000; color: #fff;
    border: none; border-radius: 6px; font-size: 17px; font-weight: bold;
    cursor: pointer; transition: 0.3s; margin-top: 10px;
}
.rf-submit-btn:hover { background: #660000; box-shadow: 0 5px 15px rgba(102,0,0,0.3); }

/* 回到顶部 */
.scroll-top-item { cursor: pointer; padding: 12px 0; background: #8B0000 !important; opacity: 0; visibility: hidden; transition: 0.3s; }
.scroll-top-item.active-progress { opacity: 1; visibility: visible; }