#feedback-trigger {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #24b4b1;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    z-index: 10000;
    font-size: 15px;
    font-weight: 800;
}

#feedback-trigger.opened {
    bottom: 283px;
    left: calc(50% + 129px);
}

#feedback-popup {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    background: #fff;
    border: 1px solid #24b4b1;
    border-radius: 12px 0 12px 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    #feedback-trigger,
    #feedback-popup {
        transform: translateX(50%);
    }
}

.feedback-hidden {
    display: none;
}

.feedback-box {
    padding: 20px;
    position: relative;
    display: inline-block;
}

.feedback-screen {
    display: none;
}

.feedback-screen.active {
    display: block;
}

.stars .star {
    font-size: 24px;
    cursor: pointer;
    color: #ccc;
}

.stars .star.selected {
    color: #f5a623;
}

textarea,
input {
    width: calc(100% - 20px);
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 8px 12px;
    background: #24b4b1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.feedback-form-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 140px;
}

.feedback-form {
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .feedback-form {
        width: 90%;
    }
    #feedback-trigger{
        width: 48%;
        left: -17px;
    }
    #feedback-popup{
        left: -100px;
        width: 80%;  
        right: 0px;
    }
    #feedback-trigger.opened{
        left: calc(50% + 50px);
        width: 10%;
    }
}