/* Star Rating */
.ccp-star-rating {
    text-align: center;
}

.ccp-star-rating .ccp-star-wrap {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    font-size: 1.5rem;
    font-weight: 400;
    color: #f3825b;
    width: fit-content;
}

.ccp-star-rating .ccp-star-wrap:before {
    /* content: "★ ★ ★ ★ ★"; */
    content: url('https://soodup.com/wp-content/uploads/2025/06/starSilver.svg');
    color: #ccc;
}

.ccp-star-rating .ccp-star-wrap span {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    overflow: hidden;
    width: 100%;
    text-indent: 99999px;
}

.ccp-star-rating .ccp-star-wrap span:before {
    /* content: "★ ★ ★ ★ ★"; */
    content: url('https://soodup.com/wp-content/uploads/2025/06/starGold.svg');
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    text-indent: 0
}

.ccp-star-rating .ccp-users-rating {
    display: inline-block;
    margin-right: 5px;
}

/* Post Star Rating */
.ccp-post-star-rating {
    display: flex;
    width: 100%;
    margin: 1rem 0;
}

.ccp-post-star-rating .ccp-star-wrap {
    display: inline-block;
    font-size: 0;
    unicode-bidi: bidi-override;
    direction: ltr;
}

.ccp-post-star-rating .ccp-star-wrap * {
    font-size: 1.5rem;
}

.ccp-post-star-rating .ccp-star-wrap > input {
    display: none;
}

.ccp-post-star-rating .ccp-star-wrap > input + label {
    display: inline-block;
    text-indent: 9999px;
    width: 1em;
    white-space: nowrap;
    cursor: pointer;
}

.ccp-post-star-rating .ccp-star-wrap > input + label:before {
    display: inline-block;
    text-indent: -9999px;
    content: "☆";
    color: #888;
}

.ccp-post-star-rating .ccp-star-wrap > input:checked ~ label:before,
.ccp-post-star-rating .ccp-star-wrap > input + label:hover ~ label:before,
.ccp-post-star-rating .ccp-star-wrap > input + label:hover:before {
    content: "★";
    color: #f3825b;
    text-shadow: 0 0 1px #333;
}

.ccp-post-star-rating .ccp-star-wrap > .ccp-star-clear + label {
    text-indent: -9999px;
    width: 0.5em;
    margin-left: -0.5em;
}

.ccp-post-star-rating .ccp-star-wrap > .ccp-star-clear + label:before {
    width: 0.5em;
}

.ccp-post-star-rating .ccp-star-wrap:hover > input + label:before {
    content: "☆";
    color: #888;
    text-shadow: none;
}

.ccp-post-star-rating .ccp-star-wrap:hover > input + label:hover ~ label:before,
.ccp-post-star-rating .ccp-star-wrap:hover > input + label:hover:before {
    content: "★";
    color: #f3825b;
    text-shadow: 0 0 1px #333;
}

.ccp-post-star-rating .ccp-star-wrap label:last-child {
    display: none;
}

.ccp-post-star-rating .ccp-user-rating {
    margin-right: 10px;
}

/* Comment Message */
.ccp-comment-message {
    width: 100%;
    padding: .75rem;
    border-radius: 5px;
    text-align: center;
    margin: 1rem 0;
}

.ccp-comment-message.cpp-error {
    background-color: #f8d7da;
    color: #842029;
}

.ccp-comment-message.cpp-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

/* Comment Form */
#comments #commentform .form-submit input[type=submit]:disabled {
    background-color: #bbb !important;
    border-color: #bbb !important;
    color: #fff !important;
}

.comment-form textarea:disabled,
.comment-form input:disabled {
    background-color: rgba(239, 239, 239, 0.3) !important;
    border-color: rgba(118, 118, 118, 0.3) !important;
}

.comment-form .cpp-custom-comment-fields {
    width: 100%;
}

.comment-form .cpp-custom-comment-fields p {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.comment-form .cpp-custom-comment-fields p span {
    display: flex;
    align-items: center;
}

.comment-form .cpp-custom-comment-fields p span label {
    margin-right: 4px;
}

.comment-form .cpp-custom-comment-fields .dropzone {
    min-height: unset;
    border: 2px dashed #d4d4d4;
    border-radius: 8px;
    padding: 0;
}

.comment-form .cpp-custom-comment-fields .dropzone.disabled {
    pointer-events: none;
    opacity: 0.5;
    background-color: #f5f5f5;
}

.comment-form .cpp-custom-comment-fields .dropzone .dz-message {
    margin: 1rem 0;
}

.comment-form .cpp-custom-comment-fields .dropzone .dz-preview .dz-remove {
    color: #000;
}

.dz-hidden-input {
    position: static !important;
}

/* Comment List */
.comment-list .comments-number {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 5px;
}

.comment-list .comment-meta .comment-author {
    display: flex;
    align-items: center;
}

.comment-list .comment-meta .comment-author .says {
    display: none;
}

.comment-list .ccp-custom-comment-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.comment-list .ccp-custom-comment-meta .cpp-comment-meta span {
    display: inline-block;
    background-color: #f9fbff;
    border: 1px solid #e2e2e2;
    border-radius: 2px;
    font-size: 11px;
    margin-left: 5px;
    padding: 2px 4px;
}

.comment-list .ccp-custom-comment-meta .ccp-star-wrap {
    font-size: 1rem;
}

.comment-list .cpp-custom-comment-fields,
.comment-list .ccp-post-star-rating,
.comment-list .ccp-comment-message {
    display: none !important;
}

.comment-list .comment-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    font-size: 1rem;
}

.comment-list .cpp-attached-images img {
    width: 48px;
    height: 48px;
}

.comment-list .cpp-comment-footer {
    display: flex;
    margin-top: 1rem;
}

#comments .comment-list .comment-body .reply {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    margin-right: 1rem;
}

#comments .comment-list .comment-body .reply svg path {
    /* fill: #303030 !important; */
}

#comments .comment-list .comment-body .reply .comment-reply-link {
    background: unset !important;
    color: #303030 ;
    margin-right: 5px;
    cursor: pointer;
}

/* Comment Vote */
.ccp-comment-vote {
    display: inline-flex;
    align-items: center;
}

.ccp-comment-vote .ccp-comment-button {
    font-size: 20px;
    cursor: pointer;
}

.ccp-comment-vote .ccp-comment-dislike {
    /* margin-right: 10px; */
}

.ccp-comment-vote .ccp-comment-like.active svg {
    fill: green;
}

.ccp-comment-vote .ccp-comment-dislike.active svg {
    fill: red;
}

.ccp-comment-vote .ccp-comment-count {
    margin-right: 4px;
}

/* Fancybox */
.fancybox__container {
    z-index: 99999;
}

/* moein */
.star-rating .ccp-average-rating{
    font-size: 14px;
    font-weight: 500;
}

.ccp-users-rating .ccp-rating-count{
    font-size: 14px;
    font-weight: 500;
    opacity: 50%;
}