.sensor-section, .attachment-section {
    margin-bottom: 6rem;
    position: relative;
}

.section-title {
    color: #ff6600;
    font-size: 2.2rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    margin-bottom: 1rem;
}

.connect-ble-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    height: 32px;
    border: none;
    border-radius: 10px;
    background: #2a2a2a;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    transition: background-color 0.3s ease;
}

.connect-ble-btn:hover {
    background: #3a3a3a;
}

.connect-ble-btn:active {
    background: #1a1a1a;
}

.sensor-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.sensor-instruction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #272727;
    border-radius: 1rem;
    flex: 1;
}

.sensor-status {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 14rem;
}

.instruction-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.instruction-step-press {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: -2rem;
}

.instruction-step-turn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.sensor-image {
    width: 10rem;
    height: 10rem;
    object-fit: contain;
}

.sensor-image-press {
    width: 15rem;
    height: 15rem;
    object-fit: contain;
}

.sensor-image-turn {
    width: 10rem;
    height: 10rem;
    object-fit: contain;
}

.instruction-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-left: -5rem;
    margin-top: -4rem;
}

.arrow-text {
    color: #0fbc8d;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.arrow-image {
    width: 4rem;
    height: 3rem;
    object-fit: contain;
}

.step-text {
    color: #ffffff;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
}

.step-text1 {
    color: #ffffff;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-left: -5rem;
}
.status-item {
    width: 14rem;
    background: #000000;
    border-radius: 0.5rem;
    padding: 0.8rem 1rem;
    text-align: center;
    transition: background-color 0.3s ease;
}

.status-item.connected {
    background: #0ecc98;
}

.status-label {
    color: #ffffff;
    font-size: 1.5rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    margin-bottom: 0.3rem;
    transition: color 0.3s ease;
}

.status-item.connected .status-label {
    color: #000000;
}

.status-value {
    font-size: 1.3rem;
    font-family: 'HarmonyOS_Sans_SC_Regular', Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    transition: all 0.3s ease;
}

.status-value.disconnected {
    color: #5D2500;
}

.status-value.connected {
    background: #000000;
    border-radius: 0.5rem;
    color: transparent;
    width: auto;
    max-width: 60%;
    margin: 0 auto;
    background-image: url('../icon/check mark.png');
    background-size: 25% auto;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0.3rem 0.8rem;
    min-height: 1.8rem;
}

.chest-sensor-container,
.leg-sensor-container {
    margin-bottom: 6.6rem;
    position: relative;
    height: 10rem;
}

.chest-sensor-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 150%;
    object-fit: contain;
    object-position: right center;
    z-index: 2;
}

.leg-sensor-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 150%;
    object-fit: contain;
    object-position: right center;
    z-index: 2;
}

.chest-frame,
.leg-frame {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10rem;
    border-radius: 1rem;
    background: #151515;
    z-index: 1;
}

.chest-frame .label,
.leg-frame .label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    border: 3px solid #272727;
    display: flex;
    align-items: center;
    padding-left: 2rem;
    color: #ffffff;
    font-size: 2.2rem;
    font-family: 'HarmonyOS_Sans_SC_Light', Arial, sans-serif;
    background: #151515;
    z-index: 3;
    border-radius: 1rem;
    top: 5rem;
}