.tooltip-container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.tooltip-btn {
    font-size: 17px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: none;
    background-color: #ffffff;
    color: #ec6d24;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip-btn:hover {
    color: #ffffff;
    background-color: #ec6d24;
}

.tooltip-content {
    position: absolute;
    display: none;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInSlide 0.3s ease-out;
}

.tooltip-up {
    bottom: 100%;
    flex-direction: column-reverse;
    margin-bottom: 0px;
}

.tooltip-down {
    top: 100%;
    flex-direction: column;
    margin-top: 0px;
}

.tooltip-line {
    width: 2px;
    height: 100px;
    background: #000;
}

.tooltip-text {
    background-color: #ec6d24;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0px);
    }
}


/* Vibrating screen */
.frames {
    top: 490px;
    left: 180px;
}

.mesh {
    top: 310px;
    left: 230px;
}

.spring {
    top: 490px;
    left: 400px;
}

.plates {
    top: 280px;
    right: 600px;
}

.jaw-bearing {
    top: 340px;
    right: 470px;
}

.motor {
    top: 340px;
    right: 340px;
}

.motor-base {
    top: 415px;
    right: 350px;
}

/* Jaw Crusher */
.fixed-plate {
    bottom: 370px;
    left: 360px;
}

.jaw-plate {
    bottom: 200px;
    left: 470px;
}

.movable-plate {
    bottom: 320px;
    right: 530px;
}

.cheek-plate {
    top: 320px;
    left: 500px;
}

.wheel {
    top: 210px;
    right: 500px;
}

.bearing {
    top: 340px;
    right: 480px;
}

.hydraulics {
    bottom: 210px;
    right: 380px;
}

/* Cone Crusher */
.spider-bush {
    top: 29%;
    left: 44%;
}

.concave {
    top: 46%;
    left: 40%;
}

.shaft {
    top: 35%;
    left: 46%;
}

.hydraulic {
    top: 66%;
    left: 43%;
}

.eccentric {
    bottom: 13%;
    left: 45%;
}

.control-plate {
    top: 31%;
    right: 45%;
}

.feed-system {
    top: 27%;
    left: 35%;
}

.rotor {
    bottom: 46%;
    left: 35%;
}

.belt-lining {
    bottom: 25%;
    right: 50%;
}

.motor-drive {
    bottom: 40%;
    right: 35%;
}

@media only screen and (max-width: 1024px) {


    .frames {
        top: 420px;
        left: 160px;
    }

    .mesh {
        top: 260px;
        left: 190px;
    }

    .spring {
        top: 410px;
        left: 330px;
    }

    .plates {
        top: 230px;
        right: 500px;
    }

    .bearing {
        top: 340px;
        right: 400px;
    }

    .motor {
        top: 290px;
        right: 275px;
    }

    .motor-base {
        top: 350px;
        right: 290px;
    }

    .fixed-plate {
        bottom: 370px;
        left: 260px;
    }

    .jaw-plate {
        bottom: 200px;
        left: 370px;
    }

    .movable-plate {
        bottom: 320px;
        right: 430px;
    }

    .cheek-plate {
        top: 320px;
        left: 400px;
    }

    .wheel {
        top: 210px;
        right: 400px;
    }

    .jaw-bearing {
        top: 340px;
        right: 380px;
    }

    .hydraulics {
        bottom: 210px;
        right: 280px;
    }
}

@media only screen and (max-width: 820px) {


    .frames {
        top: 330px;
        left: 120px;
    }

    .mesh {
        top: 210px;
        left: 150px;
    }

    .spring {
        top: 330px;
        left: 250px;
    }

    .plates {
        top: 190px;
        right: 390px;
    }

    .bearing {
        top: 260px;
        right: 300px;
    }

    .motor {
        top: 230px;
        right: 205px;
    }

    .motor-base {
        top: 275px;
        right: 220px;
    }

    .fixed-plate {
        bottom: 370px;
        left: 160px;
    }

    .jaw-plate {
        bottom: 200px;
        left: 260px;
    }

    .movable-plate {
        bottom: 320px;
        right: 330px;
    }

    .cheek-plate {
        top: 310px;
        left: 280px;
    }

    .wheel {
        top: 210px;
        right: 300px;
    }

    .jaw-bearing {
        top: 330px;
        right: 270px;
    }

    .hydraulics {
        bottom: 210px;
        right: 180px;
    }
}

@media only screen and (max-width: 431px) {


    .tooltip-line {
        width: 2px;
        height: 30px;
        background: #000;
    }

    .frames {
        top: 180px;
        left: 60px;
    }

    .mesh {
        top: 120px;
        left: 70px;
    }

    .spring {
        top: 190px;
        left: 130px;
    }

    .plates {
        top: 110px;
        right: 200px;
    }

    .bearing {
        top: 155px;
        right: 150px;
    }

    .motor {
        top: 130px;
        right: 105px;
    }

    .motor-base {
        top: 160px;
        right: 100px;
    }

    .fixed-plate {
        bottom: 200px;
        left: 80px;
    }

    .jaw-plate {
        bottom: 120px;
        left: 130px;
    }

    .movable-plate {
        bottom: 150px;
        right: 170px;
    }

    .cheek-plate {
        top: 180px;
        left: 140px;
    }

    .wheel {
        top: 130px;
        right: 160px;
    }

    .jaw-bearing {
        top: 180px;
        right: 150px;
    }

    .hydraulics {
        bottom: 100px;
        right: 90px;
    }
}

@media only screen and (max-width: 391px) {


    .tooltip-line {
        width: 2px;
        height: 30px;
        background: #000;
    }

    .frames {
        top: 170px;
        left: 50px;
    }

    .mesh {
        top: 110px;
        left: 65px;
    }

    .spring {
        top: 170px;
        left: 120px;
    }

    .plates {
        top: 110px;
        right: 180px;
    }

    .bearing {
        top: 140px;
        right: 140px;
    }

    .motor {
        top: 120px;
        right: 80px;
    }

    .motor-base {
        top: 150px;
        right: 105px;
    }

    .fixed-plate {
        bottom: 160px;
        left: 70px;
    }

    .jaw-plate {
        bottom: 120px;
        left: 130px;
    }

    .movable-plate {
        bottom: 150px;
        right: 150px;
    }

    .cheek-plate {
        top: 170px;
        left: 130px;
    }

    .wheel {
        top: 120px;
        right: 140px;
    }

    .jaw-bearing {
        top: 170px !important;
        right: 120px !important;
    }

    .hydraulics {
        bottom: 90px;
        right: 80px;
    }
}