/* 减速机选型结果页样式 */

/* 两个减速机卡片之间（无适配电机及驱动器时）的间距为20px */
.product-card + .product-card {
    margin-top: 20px;
}

/* 规格标签防止英文折行 */
.spec-label {
    white-space: nowrap;
}

/* 规格标签中的英文部分（Arc minute） */
.spec-label-en {
    white-space: nowrap;
    font-family: 'Source Han Sans CN-Regular', sans-serif;
    font-size: 10px;
}

/* 单位样式（N·m） */
.spec-label-unit {
    width: 130px;
    height: 20px;
    overflow-wrap: break-word;
    color: rgba(51, 51, 51, 1);
    font-size: 14px;
    font-family: Arial-Regular;
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
    line-height: 20px;
}

/* 规格值防止折行 */
.spec-value {
    white-space: nowrap;
}

/* 顶部导航栏样式（与servo-motor.html一致，不浮动） */
.group_2 {
    /* 移除了 position: fixed 等浮动样式 */
}

/* 初期激活状态下，顶部横线和左侧竖线应为蓝色 */
#step1_line {
    border-top-color: #003399 !important;
}

#step1_3 {
    border-left-color: #003399 !important;
}

/* 页面布局（移除顶部间距，因为导航栏不浮动） */
.page {
    /* padding-top: 80px; */
}

/* 适配电机及驱动器容器 */
.jiansuji-adapter-container {
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
    background: #F2F2F2;
}

/* 标题栏 */
.jiansuji-adapter-header {
    background: #DFEEFF;
    height: 40px;
    line-height: 40px;
    padding-left: 13px;
    font-weight: bold;
    font-size: 14px;
    color: #333333;
}

/* 内容区域 */
.jiansuji-adapter-content {
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 电机/驱动器卡片公共样式 */
.jiansuji-card {
    position: relative;
    width: calc(50% - 5px);
    padding: 14px 13px;
    background-color: #fff;
    display: flex;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
}

/* 电机标签 */
.jiansuji-card-tag-jiansuji {
    position: absolute;
    top: 7px;
    left: 7px;
    background: rgba(255,167,140,0.2);
    border-radius: 2px;
    border: 1px solid #FFA78C;
    height: 17px;
    line-height: 15px;
    padding: 0 3px;
    font-size: 12px;
    color: #FFA78C;
    text-align: center;
}

/* 电机标签 */
.jiansuji-card-tag-motor {
    position: absolute;
    top: 7px;
    left: 7px;
    background: rgba(82, 196, 26, 0.2);
    border-radius: 2px;
    border: 1px solid #52C41A;
    height: 17px;
    line-height: 15px;
    padding: 0 3px;
    font-size: 12px;
    color: #52C41A;
    text-align: center;
}

/* 驱动器标签 */
.jiansuji-card-tag-driver {
    position: absolute;
    top: 7px;
    left: 7px;
    background: #FFF7D6;
    border-radius: 2px;
    border: 1px solid #FFA21A;
    height: 17px;
    line-height: 15px;
    padding: 0 3px;
    font-size: 12px;
    color: #FFA21A;
    text-align: center;
}

/* 卡片图片 */
.jiansuji-card-img {
    width: 80px;
    height: 80px;
}

/* 卡片分隔线 */
.jiansuji-card-divider {
    margin: 0 20px;
    height: 80px;
    width: 1px;
    background-color: #e8e8e8;
}

/* 卡片标题 */
.jiansuji-card-title {
    font-weight: bold;
    font-size: 14px;
    color: #333333;
}

/* 卡片品牌信息 */
.jiansuji-card-brand {
    font-size: 14px;
    color: #666666;
    margin-top: 14px;
}

/* 卡片链接样式 */
.jiansuji-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.jiansuji-card-link:hover .jiansuji-card-title {
    color: #003399;
}

/* 驱动器卡片可选时的样式 */
.jiansuji-card-empty {
    width: calc(50% - 31px);
    padding: 14px 13px;
    background-color: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #999;
    font-size: 14px;
}

/* 适配电机驱动器卡片包装器 */
.adapter-wrapper {
    margin-bottom: 20px;
}

/* 最后一个适配器卡片不需要底间距，避免左侧虚线多出一截 */
.adapter-wrapper:last-child {
    margin-bottom: 0;
}

/* 步骤导航样式 - 复用 index.css 的样式 */
.top_div {
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 100px;
    font-size: 16px;
}

.top_div2 {
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 100px;
    font-size: 14px;
}

.inProgress {
    font-weight: bold;
    background: #003399;
    color: #FFFFFF;
}

.notStart {
    font-weight: 400;
    background: #E8E8E8;
    color: #999999;
}

.img-20 {
    width: 20px;
    height: 20px;
}

.img-30 {
    width: 30px;
    height: 30px;
}

.end {
    border-radius: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("./images/end.png");
}

.text_1 {
    font-family: Source Han Sans CN, Source Han Sans CN;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-left: 8px;
    line-height: 30px;
}

.text_2 {
    font-family: Source Han Sans CN, Source Han Sans CN;
    text-align: center;
    font-style: normal;
    text-transform: none;
    margin-left: 8px;
    line-height: 20px;
}

.text_1_1 {
    font-weight: 400;
    color: #999999;
}

.text_1_2 {
    font-weight: bold;
    color: #333333;
}

.font-14 {
    font-size: 14px;
}

.font-16 {
    font-size: 16px;
}

.hidden {
    display: none;
}

.cursor-pointer {
    cursor: pointer;
}

@keyframes mask-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
