.text-blue {
    color: #4080ff;
}
/* ================= 左侧弹出提示框2 ================= */
.tooltips {
    position: absolute;
    right: 135px;
    /* 距离侧边栏的距离 */
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, #F2F8FF 0%, #EDF2FD 100%), #CCCCCC;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    width: 231px;
    height: 324px;
    text-align: center;

    /* 默认隐藏，添加过渡动画 */
    opacity: 0;
    /* visibility: hidden; */
    transition: all 0.3s ease;
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
}

.tipcode {
    width: 120px;
    height: 120px;
    background: var(--white);
    margin: 15px 0;
    border-radius: 8px;

}

.code-desc {
    font-size: 16px;
    font-weight: 700;
    color: #3982FF;
}

.tooltipscode {
    width: 82px;
    height: 82px;
}

/* 鼠标悬停时显示提示框 */
.sidebar-item.code-item:hover .tooltips {
    opacity: 1;
    visibility: visible;
}

/* 提示框右侧的小三角箭头 */
.tooltips::after {
    content: '';
    position: absolute;
    right: -6px;
    /* 伸出框外一半 */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    /* 只有右上角有阴影，模拟箭头突出 */
    box-shadow: 2px -2px 3px rgba(0, 0, 0, 0.04);
    border-radius: 2px;
}

/* 提示框内部文字样式 */
.tooltips .tip-desc {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.tooltips .tip-phone {
    font-size: 20px;
    font-weight: bold;
    color: #3ba0ff;
    margin: 8px 0;
}

/* 顶部步骤条 */
.stepper-header {
    position: relative;
    top: -7vh;
    background: rgba(255, 255, 255, 0.49);
    backdrop-filter: blur(9px);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 15px 280px;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.step.active {
    color: #4080ff;
    font-weight: bold;
}

.icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #d1e2ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.step.active .icon-circle {
    background-color: #4080ff;
    color: #fff;
}

.stepimg img {
    width: 32px;
    height: 32px;
}

.step-arrow {
    color: #b0c4de;
}

.step-arrow img {
    width: 28px;
    height: 28px;
}

/* 主容器 */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用按钮样式 */
.btn-primary {
    background: linear-gradient(90deg, #4da1ff 0%, #2979ff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: opacity 0.3s;
}

.btn-primary:hover {
    opacity: 0.9;
}

/* 上方：查询与客服 */
.top-panel {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* 左侧查询表单 */
.query-box {
    position: relative;
    flex: 1;
    border-radius: 20px;
    background: rgba(235, 242, 255, 1);
    box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.query-block {
    position: absolute;
    top: 0;
    left: 85%;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.query-bg {
    width: 144px;
    height: 144px;
}

.query-header {
    margin-bottom: 30px;
}

.query-header img {
    width: 24px;
    height: 24px;
}

.query-header h2 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.query-header p {
    color: #888;
    font-size: 14px;
}

.query-form {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 4px;
    padding: 0 15px;
    height: 48px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.input-icon {
    /* color: #4080ff; */
    width: 20px;
    height: auto;
    margin-right: 10px;
}

.input-group input {
    flex: 1;
    border: none;
    outline: none;
    height: 100%;
    font-size: 14px;
}

.captcha-group {
    justify-content: space-between;
}

.btn-captcha {
    background-color: #f0f0f0;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    color: #555;
    cursor: pointer;
}

.btn-submit {
    margin-top: 15px;
    height: 45px;
    width: 140px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.service-card {
    height: 488px;
}

/* 下方：卡片区域 */
.cards-panel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 70px;
    margin-bottom: 107px;
}

.exam-card {
    width: 386px;
    height: 326px;
    border-radius: 22px;
    background: rgba(235, 242, 255, 1);
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.exam-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #222;
}

.features {
    list-style: none;
    margin-bottom: 15px;
    position: relative;
}

.featuresimg {
    position: absolute;
    top: -4vh;
    right: 0vw;
    width: 90px;
    height: 90px;
}

.featuresimg img {
    width: 90px;
    height: 90px;
}

.features li {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-desc {
    background-color: #fff;
    padding: 12px;
    font-size: 12px;
    color: #999;
    border-radius: 4px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-card {
    width: 120px;
    height: 36px;
    font-size: 14px;
    margin: 0 auto;
    display: block;
}

/* 右侧悬浮导航 */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    background-color: #eaf1fc;
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.sidebar-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.sidebar-main-icon {
    font-size: 24px;
    color: #4080ff;
    margin-bottom: 5px;
}

.sidebar-title {
    background-color: #4080ff;
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    width: 60px;
}

.sidebar-menu {
    list-style: none;
    width: 100%;
}

.sidebar-menu li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 0;
    font-size: 12px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.sidebar-menu li:hover {
    color: #4080ff;
}

.menu-icon {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4px;
    color: #4080ff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
/* 输入组的相对定位，方便定位错误信息 */
.input-group {
    position: relative;
    margin-bottom: 25px; /* 留出空间给下面的红色文字 */
}

/* 错误提示文字样式 */
.error-msg {
    position: absolute;
    left: 45px;
    bottom: -20px; /* 定位在输入框下方 */
    color: #ff4d4f;
    font-size: 12px;
    transition: opacity 0.3s ease;
}

/* 错误时的输入框样式 */
.input-group.has-error input {
    border: 1px solid #ff4d4f !important;
    background-color: #fff2f0; /* 可选：淡淡的红色背景，提示更明显 */
}

/* ---------------- 移动端适配 ---------------- */
@media (max-width: 992px) {
    .cards-panel {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stepper-header{
        padding: 15px 20px;
    }
    /* 隐藏顶部文字，仅保留图标，或者缩小间距 */
    .stepper-header span {
        display: none;
    }

    /* 上下分栏折叠 */
    .top-panel {
        flex-direction: column;
    }

    .service-box {
        width: 100%;
        padding: 40px 20px;
    }

    .query-box {
        padding: 20px;
    }

    /* 卡片变成单列 */
    .cards-panel {
        grid-template-columns: 1fr;
    }

    /* 隐藏或调整侧边悬浮栏 */
    .floating-sidebar {
        display: none;
        /* 在手机端通常会隐藏这类侧边栏，或改到底部 */
    }
}