.tool-content {
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    border-radius: .6em;
    overflow: hidden;
    position: relative;
    display: flex;
    gap: 1.2em;
}

/*左侧操作栏*/
.wechat-operate {
    width: 450px;
    background-color: #f8f9ff;
    border-left: solid 1px #e5e5e5;
}

.wechat-operate > label {
    font-weight: bold;
    display: block;
    font-family: var(--font-simple);
    text-align: center;
    font-size: 15px;
    line-height: 50px;
}

.menu-operate {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
    font-family: var(--font-simple);
}

.menu-operate .input-group {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    gap: 0 12px;
}

.menu-operate .input-group > label {
    min-width: 70px;
    text-align: right;
}

/*按钮*/
.btn {
    outline: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    font-family: var(--font-simple);
}

.btn .ripple {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    z-index: 1;
    animation: ripple-effect 0.6s ease-out forwards;
}

.btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-purple {
    color: #fff;
    background-color: rgb(93 79 248 / 95%);
    border-color: var(--primary-color);
}

.btn-purple svg {
    fill: #fff;
}

.btn-red {
    color: #fff;
    background-color: rgb(242 55 55 / 95%);
    border-color: rgb(255 31 31);
}

.btn-red svg {
    fill: #fff;
}

/* 关键动画：扩散 + 淡出 */
@keyframes ripple-effect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.4;
    }
    100% {
        width: 300px;
        height: 300px;
        opacity: 0;
    }
}

/*下拉框*/
.menu-operate .input-group .custom-select {
    position: relative;
    width: 100%;
}

.menu-operate .input-group .custom-select button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
    gap: 0 6px;
    width: 100%;
    height: 38px;
}

.menu-operate .input-group .select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: max-content;
    min-width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 2px 0;
    white-space: nowrap;
}

.select-dropdown li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 3px 5px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    font-size: 13.7px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.select-dropdown li:hover,
.select-dropdown li[aria-selected="true"] {
    background-color: #f5f5f5;
}

.select-dropdown li .check-icon {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    opacity: 0;
    display: block !important;
}

.select-dropdown li[aria-selected="true"] .check-icon {
    opacity: 1;
}

/*范围框*/
.menu-operate .input-group .input-range {
    width: 100%;
    height: 5px;
    background-color: #d6d1ff;
    border-radius: 2px;
}

.menu-operate .input-group .input-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f5f4ff;
    cursor: pointer;
    border: 3px solid #887eff;
    box-shadow: 0 0 3px 3px rgb(226 223 255 / 20%);
}

/*输入框*/
.menu-operate .input-group .input-text {
    display: flex;
    flex: 1;
    height: 40px;
    border: solid 1px #ddd;
    background-color: #fff;
    padding: 0 12px;
    border-radius: 7px;
    font-family: var(--font-simple);
    outline: none;
    font-size: 14px;
    box-shadow: inset 0 1px 4px rgb(211 198 255 / 20%), 0 0 0 2px rgba(224, 224, 224, 0.1);
}

.menu-operate .input-group .input-text:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), 0 0 0 2px rgba(90, 77, 248, 0.1);
}

.wechat-preview > label {
    font-weight: bold;
    display: block;
    font-family: var(--font-simple);
    text-align: center;
    font-size: 15px;
    line-height: 50px;
}

.wechat-preview {
    flex: 1;
    margin-bottom: 1em;
}

.wechat-wrapper {
    width: 450px;
    margin: 0 auto;
    padding: 18px 20px 17px 20px;
    overflow: hidden;
    background: url(../images/wechat-box.png) no-repeat top;
    background-size: cover;
}

.wechat-container {
    width: 100%;
    height: 886px;
    overflow: hidden;
    position: relative;
    border-radius: 52px;
}

.wechat-container .wechat-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/wechat-wallet.jpg) no-repeat center;
    background-size: cover;
    z-index: 1;
}

.wechat-container .wechat-time {
    position: absolute;
    top: 16px;
    left: 24px;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    font-family: SimHei, 榛戜綋, sans-serif;
    z-index: 10;
    text-shadow: rgba(255, 255, 255, 0.8) 1px 1px 2px;
}

.wechat-container .wechat-signal {
    position: absolute;
    top: 23.5px;
    right: 94px;
    z-index: 10;
    background: url(../images/wechat-signal.png) no-repeat;
    width: 19px;
    height: 13px;
    background-size: 100%;
}

.signal-level-4 {
    background-position: 0 0;
}

.signal-level-3 {
    background-position: 0 -17px !important;
}

.signal-level-2 {
    background-position: 0 -33px !important;
}

.signal-level-1 {
    background-position: 0 -50px !important;
}

.wechat-container .wechat-network {
    position: absolute;
    top: 17px;
    right: 69px;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    z-index: 10;
    text-shadow: rgba(255, 255, 255, 0.8) 1px 1px 2px;
}

.wechat-container .wechat-battery {
    position: absolute;
    top: 20px;
    right: 28px;
    z-index: 10;
    background: url(../images/wechat-battery.png) no-repeat center;
    width: 32px;
    height: 18px;
    background-size: 100%;
}

.wechat-container .wechat-battery .battery-level {
    position: absolute;
    top: 3.5px;
    left: 2.4px;
    height: 11.4px;
    border-radius: 2px;
}

.wechat-container .wechat-money{
    position: absolute;
    top: 270px;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 13px;
    color: #191919;
    font-size: 48px;
    font-weight: 600;
    z-index: 10;
    text-shadow: rgba(255, 255, 255, 0.8) 1px 1px 2px;
}

.wechat-container .wechat-money i{
    font-style: normal;
    font-size: 35px;
    position: absolute;
    top: 9px;
    left: -30px;
}

@media (max-width: 768px) {
    .tool-content {
        border-width: 0;
        flex-direction: column;
        box-shadow: none;
    }

    .wechat-preview{
        margin-bottom: 0;
    }

    .wechat-wrapper {
        width: 100%;
        padding: 12px;
    }

    .wechat-container {
        height: 675px;
        border-radius: 42px;
    }

    .wechat-container .wechat-time {
        top: 8px;
        font-size: 14px;
        text-shadow: none;
    }

    .wechat-container .wechat-signal {
        top: 13px;
        right: 85px;
        width: 15px;
        height: 11px;
    }

    .wechat-container .wechat-network {
        top: 8px;
        right: 62px;
        font-size: 13px;
    }

    .wechat-container .wechat-battery {
        top: 10px;
        right: 25px;
        width: 30px;
        height: 15px;
    }

    .wechat-container .wechat-battery .battery-level {
        position: absolute;
        top: 2.5px;
        left: 2.5px;
        width: 28.5px;
        height: 10px;
        background-color: #000;
        border-radius: 2px;
    }

    .wechat-container .wechat-money {
        font-size: 34px;
        top: 209px;
    }

    .wechat-container .wechat-money i{
        font-size: 27px;
        top: 4px;
        left: -20px;
    }

    .wechat-operate{
        width: 100%;
        border: solid 1px #e5e5e5;
        border-radius: 12px;
    }
}