.confirmPopup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.confirmPopup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    text-align: center; /* Center text */
    animation: elasticOpen 0.1s ease-in-out;
}

@keyframes elasticOpen {
    0% {
        transform: scale(0.5);
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes elasticClose {
    0% {
        transform: scale(1);
    }
    60% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(0.5);
    }
}

.confirmPopup-close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.confirmPopup-close-button:hover,
.confirmPopup-close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.confirmPopup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.confirm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.confirm-btn-success {
    background-color: #28a745;
    color: white;
}

.confirm-btn-danger {
    background-color: #dc3545;
    color: white;
}

.confirm-btn-success:hover {
    background-color: #218838;
}

.confirm-btn-danger:hover {
    background-color: #c82333;
}


.ratePopup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.ratePopup-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    animation: elasticOpen 0.5s ease-in-out;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    font-size: 2em;
}

.star-rating input {
    display: none;
}

.star-rating label {
    color: #DDD;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input:checked ~ label,
.star-rating input:checked ~ label ~ label {
    color: #FFD700;
}

.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #FFD700;
}


.ratePopup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}


