﻿@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css);





.ratings-row {
    margin: 30px 0 6px 0 !important;
}

.rating-block {
    margin-bottom: 22px !important;
}

#FoodRating, #ServiceRating, #CleanlinessRating, #PromptDeliveryRating {
    display: flex !important;
    border: none !important;
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
}

    #FoodRating > input, #ServiceRating > input, #CleanlinessRating > input, #PromptDeliveryRating > input {
        position: absolute !important;
        opacity: 0 !important;
        width: 1px !important;
        height: 1px !important;
    }

    #FoodRating > label, #ServiceRating > label, #CleanlinessRating > label, #PromptDeliveryRating > label {
        color: #E5E5E5 !important;
        float: right !important;
        cursor: pointer !important;
        width: 1.5rem !important;
        text-align: center !important;
        transition: color .15s ease, transform .15s ease !important;
    }

        #FoodRating > label:hover, #ServiceRating > label:hover, #CleanlinessRating > label:hover, #PromptDeliveryRating > label:hover {
            transform: scale(1.1) !important;
        }

        #FoodRating > label:before, #ServiceRating > label:before, #CleanlinessRating > label:before, #PromptDeliveryRating > label:before {
            content: '\f005' !important;
            font-family: FontAwesome !important;
            font-size: 1.5rem !important;
            display: inline-block !important;
            cursor: pointer !important;
        }

    #FoodRating > .half, #ServiceRating > .half, #CleanlinessRating > .half, #PromptDeliveryRating > .half {
        width: 0.75rem !important;
        overflow: hidden !important;
    }

        #FoodRating > .half:before, #ServiceRating > .half:before, #CleanlinessRating > .half:before, #PromptDeliveryRating > .half:before {
            position: absolute !important;
            cursor: pointer !important;
        }

    #FoodRating > input:checked ~ label,
    #FoodRating:not(:checked) > label:hover,
    #FoodRating:not(:checked) > label:hover ~ label {
        color: #C69946 !important;
    }

        #FoodRating > input:checked + label:hover,
        #FoodRating > input:checked ~ label:hover,
        #FoodRating > label:hover ~ input:checked ~ label,
        #FoodRating > input:checked ~ label:hover ~ label {
            color: #C69946 !important;
        }
    #ServiceRating > input:checked ~ label,
    #ServiceRating:not(:checked) > label:hover,
    #ServiceRating:not(:checked) > label:hover ~ label {
        color: #C69946 !important;
    }

        #ServiceRating > input:checked + label:hover,
        #ServiceRating > input:checked ~ label:hover,
        #ServiceRating > label:hover ~ input:checked ~ label,
        #ServiceRating > input:checked ~ label:hover ~ label {
            color: #C69946 !important;
        }

    #CleanlinessRating > input:checked ~ label,
    #CleanlinessRating:not(:checked) > label:hover,
    #CleanlinessRating:not(:checked) > label:hover ~ label {
        color: #C69946 !important;
    }

        #CleanlinessRating > input:checked + label:hover,
        #CleanlinessRating > input:checked ~ label:hover,
        #CleanlinessRating > label:hover ~ input:checked ~ label,
        #CleanlinessRating > input:checked ~ label:hover ~ label {
            color: #C69946 !important;
        }

    /* For PROMPT DELIVERY RATING */
    #PromptDeliveryRating > input:checked ~ label,
    #PromptDeliveryRating:not(:checked) > label:hover,
    #PromptDeliveryRating:not(:checked) > label:hover ~ label {
        color: #C69946 !important;
    }

        #PromptDeliveryRating > input:checked + label:hover,
        #PromptDeliveryRating > input:checked ~ label:hover,
        #PromptDeliveryRating > label:hover ~ input:checked ~ label,
        #PromptDeliveryRating > input:checked ~ label:hover ~ label {
            color: #C69946 !important;
        }


.form-actions {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 24px !important;
    flex-wrap: wrap !important;
}



.survey-image-panel {
    background: #181818 !important;
    height: 100% !important;
    min-height: 260px !important;
    padding: 24px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

    .survey-image-panel::before {
        content: "" !important;
        position: absolute !important;
        width: 180px !important;
        height: 180px !important;
        background: rgba(198,153,70,.10) !important;
        border-radius: 50% !important;
        top: -70px !important;
        right: -70px !important;
        pointer-events: none !important;
    }

    .survey-image-panel::after {
        content: "" !important;
        position: absolute !important;
        width: 150px !important;
        height: 150px !important;
        background: rgba(198,153,70,.08) !important;
        border-radius: 50% !important;
        bottom: -60px !important;
        left: -50px !important;
        pointer-events: none !important;
    }

.survey-image {
    width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    position: relative !important;
    z-index: 1 !important;
    transition: transform .4s ease !important;
}

    .survey-image:hover {
        transform: scale(1.03) !important;
    }



@media (max-width: 991px) {

    .survey-form-panel {
        padding: 28px 22px !important;
    }

    .survey-image-panel {
        min-height: 180px !important;
        padding: 20px !important;
    }

    .form-heading h2 {
        font-size: 22px !important;
    }

    #FoodRating > label, #ServiceRating > label, #CleanlinessRating > label, #PromptDeliveryRating > label {
        width: 1.3rem !important;
    }

        #FoodRating > label:before, #ServiceRating > label:before, #CleanlinessRating > label:before, #PromptDeliveryRating > label:before {
            font-size: 1.3rem !important;
        }

    #FoodRating > .half, #ServiceRating > .half, #CleanlinessRating > .half, #PromptDeliveryRating > .half {
        width: 0.65rem !important;
    }
}

@media (max-width: 576px) {

    .survey-section {
        padding: 24px 12px !important;
    }

    .survey-form-panel {
        padding: 22px 16px !important;
    }

    .survey-image-panel {
        min-height: 140px !important;
        padding: 16px !important;
    }

    .form-heading h2 {
        font-size: 20px !important;
    }

    .field-row-split {
        flex-direction: column !important;
        gap: 16px !important;
    }

    .field-input {
        height: 42px !important;
    }

    .form-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .btn-primary-gold,
    .btn-secondary-outline {
        width: 100% !important;
    }
}
