#cpp-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 99999;
    align-content: center;
}

@media (min-width: 768px) {
    #cpp-popup-content {
        background: #fff;
        padding: 25px;
        border-radius: 10px;
        width: 500px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transform: scale(0);
        transition: transform 0.4s ease-in-out;
        position: relative;
        margin: auto;
    }
}

@media (max-width: 767px) {
    #cpp-popup-content {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        width: 100%;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        transform: scale(0);
        transition: transform 0.4s ease-in-out;
        position: relative;
        margin: auto;
    }
}

#cpp-popup.open #cpp-popup-content {
    transform: scale(1);
}

#cpp-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 50px;
}

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

#cpp-rating .star:hover,
#cpp-rating .star.selected {
    color: #FFD700;
}

textarea {
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #005077;
}

.title-popup {
    text-align: center;
    margin-bottom: 10px;
}

.title-popup h2 {
    margin: 8px 0 8px 0;
    color: #123433;
    font-size: 30px;
    line-height: 34px;
}

.title-popup p {
    font-size: 16px;
}

.content-form-popup label {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0 10px 0;
}

textarea#cpp-comment {
    border: 1px solid #d9d9d9;
    background-color: #f1f1f1;
    border-radius: 0;
    margin-bottom: 18px;
    padding: 15px;
    height: 120px;
}

button#cpp-open-popup {
    padding: 0;
    margin: 0;
    background-color: transparent;
    color: #111415;
    border: 0;
    text-transform: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

button#cpp-open-popup:hover {
    color: #d69d00;
}

#rating-error {
    color: red;
    margin-top: 5px;
    font-size: 12px;
}

div#submission-message {
    text-align: center;
    margin: 23px 0 0px;
    background-color: #00800036;
    padding: 20px;
}

.loader-popup {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    position: relative;
    animation: rotate 1s linear infinite;
    display: block;
    margin: auto;
    align-content: center;
    top: 236px;
    margin-top: -53px;
    z-index: 9999999;
}

.loader-popup::before , .loader-popup::after {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 5px solid #123433;
    animation: prixClipFix 2s linear infinite ;
}
.loader-popup::after{
    inset: 8px;
    transform: rotate3d(90, 90, 0, 180deg );
    border-color: #d69d00;
}

@keyframes rotate {
    0%   {transform: rotate(0deg)}
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    75%, 100%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
}