/* Popup 推荐弹窗样式 */
.recommend-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recommend-dialog {
    display: flex;
    align-items: center;
    position: relative;
    width: 678px;
    background-image: url('images/recommend_bg.png');
    background-size: cover;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.recommend-dialog .el-dialog {
    margin: 0 auto !important;
    background-image: url('images/recommend_bg.png');
    background-size: cover;
    border-radius: 10px;
}

.recommend-dialog .el-dialog__header {
    padding: 0;
}

.recommend-dialog .el-dialog__body {
    padding: 26px 0 40px 0;
}

.recommend-dialog .el-dialog__footer {
    padding: 0 0 48px 0;
}

.recommend-logo {
    width: 113px;
    height: 24px;
    margin-top: 15px;
    margin-left: 23px;
}

.recommend-dialog .title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
    font-size: 22px;
    font-weight: bold;
}

.all-select-wrapper {
    height: 19px;
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-check {
    line-height: 16px;
    font-size: 14px;
    font-weight: 400;
    color: #999999;
}

.all-select-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 62px;
    padding-right: 38px;
    cursor: pointer;
}

.tags-wrapper {
    position: relative;
    height: 216px;
}

.tags-wrapper > div {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-sizing: border-box;
    border: 1px solid #fff;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s, border 0.1s;
}

.tags-wrapper > div:not(.active-tag):not(:hover) {
    animation: slight-bounce 2s infinite;
}

.tags-wrapper > div:not(.active-tag):hover {
    border: 1px solid #3580ee !important;
}

.active-tag {
    background-color: #e7f0ff !important;
    border: 2px solid #3580ee !important;
}

.tags-wrapper > div:nth-child(1) {
    left: 117px;
    top: 20px;
    width: 110px;
    height: 110px;
}

.tags-wrapper > div:nth-child(1) img {
    width: 40px;
    height: 40px;
}

.tags-wrapper > div:nth-child(2) {
    left: 238px;
    top: 2px;
    width: 128px;
    height: 128px;
}

.tags-wrapper > div:nth-child(2) img {
    width: 48px;
    height: 48px;
}

.tags-wrapper > div:nth-child(3) {
    left: 396px;
    top: 0;
    width: 100px;
    height: 100px;
}

.tags-wrapper > div:nth-child(3) img {
    width: 36px;
    height: 36px;
}

.tags-wrapper > div:nth-child(4) {
    left: 182px;
    top: 128px;
    width: 110px;
    height: 110px;
}

.tags-wrapper > div:nth-child(4) img {
    width: 36px;
    height: 36px;
}

.tags-wrapper > div:nth-child(5) {
    left: 342px;
    top: 103px;
    width: 124px;
    height: 124px;
}

.tags-wrapper > div:nth-child(5) img {
    width: 48px;
    height: 48px;
}

.tags-wrapper > div:nth-child(6) {
    left: 480px;
    top: 89px;
    width: 88px;
    height: 88px;
}

.tags-wrapper > div:nth-child(6) img {
    width: 28px;
    height: 28px;
}

@keyframes slight-bounce {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-2px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(2px);
    }
    100% {
        transform: translateY(0);
    }
}

.recommend-carousel {
    position: relative;
}

.recommend-carousel .el-carousel__indicators {
    display: none;
}

.recommend-carousel .el-carousel__arrow {
    background-color: transparent;
}

.recommend-carousel .el-carousel__arrow:hover {
    background-color: transparent;
}

.recommend-carousel .el-carousel__arrow--left {
    width: 68px;
    height: 68px;
    left: -20px;
}

.recommend-carousel .el-icon-arrow-left::before {
    content: "";
    display: block;
    width: 68px;
    height: 68px;
    background-image: url('images/prev.png');
    background-size: cover;
}

.recommend-carousel .el-carousel__arrow--right {
    width: 68px;
    height: 68px;
    right: -20px;
}

.recommend-carousel .el-icon-arrow-right::before {
    content: "";
    display: block;
    width: 68px;
    height: 68px;
    background-image: url('images/next.png');
    background-size: cover;
}

.prev {
    z-index: 9999;
    cursor: pointer;
    position: absolute;
    left: -34px;
    top: 52%;
    transform: translateY(-50%);
    width: 68px;
    height: 68px;
}

.next {
    z-index: 9999;
    cursor: pointer;
    position: absolute;
    right: -34px;
    top: 52%;
    transform: translateY(-50%);
    width: 68px;
    height: 68px;
}

.soft-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 144px);
    grid-template-rows: repeat(2, 102px);
    gap: 12px;
    justify-content: center;
}

.soft-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 144px;
    height: 100px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border: 1px solid #ffffff;
    cursor: pointer;
}

.soft-item:hover {
    background-color: #e7f0ff !important;
    border: 1px solid transparent;
}

.select-wrapper {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.select-img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
}

.select-title {
    margin-top: 4px;
    box-sizing: border-box;
    width: 100%;
    padding: 0 10px;
    text-align: center;
    font-size: 14px;
    color: #333333;
    font-weight: 400;
}

.single-line-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-install-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.btn-install-wrapper .check_box {
    position: absolute;
    left: 35px;
}

.btn-install {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 40px;
    background: #005fb8;
    border-radius: 4px;
    font-size: 16px;
    color: #ffffff;
}

.btn-install.active-btn {
    background-color: #a8aaab;
    color: #fff;
}

.el-checkbox__input.is-checked + .el-checkbox__label {
    color: #333;
}

.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: #005fb8;
    border-color: #005fb8;
}

/* 轮播容器样式 */
.recommend-carousel-container {
    position: relative;
    height: 216px;
    overflow: hidden;
}

.carousel-page {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-page.active {
    display: block;
}

.dialog-header {
    padding: 0;
}

.dialog-body {
    padding: 26px 0 40px 0;
}

.dialog-footer {
    padding: 0 0 48px 0;
}

.check_box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check_box input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.check_box label {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

