/* =========================================================
   REVIEW FORM
========================================================= */
.crs-review-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 40px auto;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.10);
}
.crs-review-wrapper * {
    box-sizing: border-box;
}
.crs-review-title {
    margin: 0 0 10px;
    text-align: center;
    font-size: 30px;
}
.crs-review-description {
    margin-bottom: 30px;
    text-align: center;
    color: #666;
}
/* =========================================================
   STARS
========================================================= */
.crs-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.crs-star {
    border: 0;
    background: transparent;
    padding: 0;
    color: #d5d5d5;
    font-size: 48px;
    cursor: pointer;
    transition: .2s ease;
	width:calc(20% - 8px*4/5) !important;
	max-width:calc(20% - 8px*4/5) !important;
	border-radius:6px !important;
	text-align:center !important;
	padding:16px !important;
}
.crs-star:hover {
    transform: scale(1.12);
}
.crs-star.active {
    color: #ffc107;
}
.crs-rating-text {
    min-height: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: #666;
}
/* =========================================================
   FIELDS
========================================================= */
.crs-two-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.crs-field {
    margin-bottom: 18px;
}
.crs-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
}
.crs-field input,
.crs-field textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}
.crs-field input:focus,
.crs-field textarea:focus {
    border-color: #777;
}
.crs-field textarea {
    min-height: 130px;
    resize: vertical;
}
/* =========================================================
   BUTTON
========================================================= */
.crs-submit {
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 8px;
    background: #222;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.crs-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}
/* =========================================================
   ERROR
========================================================= */
.crs-error {
    display: none;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 7px;
    background: #fff0f0;
    color: #b42318;
}
.crs-error.show {
    display: block;
}
/* =========================================================
   POPUP
========================================================= */
.crs-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transition: .25s ease;
}
.crs-popup.show {
    opacity: 1;
    visibility: visible;
}
.crs-popup-box {
    width: 100%;
    max-width: 430px;
    padding: 35px 25px;
    background: #fff;
    border-radius: 16px;
    text-align: center;
}
.crs-success-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 35px;
}
.crs-popup-box h3 {
    margin-bottom: 10px;
    font-size: 25px;
}
.crs-popup-box p {
    margin-bottom: 20px;
    color: #666;
}
.crs-popup-close {
    padding: 12px 28px;
    border: 0;
    border-radius: 7px;
    background: #222;
    color: #fff;
    cursor: pointer;
}
/* =========================================================
   REVIEW GRID
========================================================= */
.crs-reviews-container {
    width: 100%;
    margin: 40px auto;
}
.crs-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.crs-review-card {
    padding: 25px;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
}
.crs-review-stars {
    margin-bottom: 15px;
    color: #ffc107;
    font-size: 20px;
    letter-spacing: 2px;
}
.crs-review-text {
    margin-bottom: 20px;
    color: #444;
    line-height: 1.7;
}
.crs-review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.crs-review-avatar {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #222;
    color: #fff;
    font-weight: 600;
}
.crs-review-name {
    font-weight: 700;
}
.crs-review-city {
    margin-top: 3px;
    color: #777;
    font-size: 13px;
}
.crs-review-date {
    margin-top: 15px;
    color: #999;
    font-size: 12px;
}
/* =========================================================
   Option Popup
========================================================= */
#crs-link-content-popup.crs-popup .crs-popup-box{max-width:565px;}
.crs-popup .crs-optionwrap{display: flex;align-items: stretch;justify-content: flex-start;flex-wrap: wrap;gap: 8px;}
.crs-popup .crs-optionwrap > a.crs-review-option{width:calc(33.3333% - 8px*2/3);max-width:calc(33.3333% - 8px*2/3);border:2px solid #ffc107; padding: 6px 12px;border-radius: 6px; display: flex;flex-direction: column;align-items: center;text-align: center;background-color: #fff;box-shadow:none;transition: all 0.4s ease-in-out;}
.crs-popup .crs-optionwrap > a.crs-review-option:hover{box-shadow: 0 0 10px 0 rgba(0,0,0,0.3);}
.crs-popup .crs-optionwrap > a.crs-review-option .crs-option-content > small{text-decoration: none;color: #666;font-size: 14px;line-height:18px;display: block;width: 100%; margin-top: 3px;}
.crs-popup .crs-options-close{margin-top: 20px; border: none; cursor: pointer; background-color: #F8951E; color: #000000; border-radius: 10px; font-size: 20px; font-weight: bold; padding: 11px 35px;}
.crs-popup .crs-options-close:hover{background-color: #2960A0; color: #fff; }
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 900px) {
    .crs-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .crs-review-wrapper {
        padding: 25px 18px;
    }
    .crs-review-title {
        font-size: 24px;
    }
    .crs-stars {
        gap: 8px;
    }
    .crs-star {
        font-size: 30px;
    }
    .crs-two-fields {
        grid-template-columns: 1fr;
    }
    .crs-reviews-grid {
        grid-template-columns: 1fr;
    }
    .crs-popup .crs-optionwrap{flex-direction: column;}
    .crs-popup .crs-optionwrap > a.crs-review-option{width:100%;max-width:100%;}
}