.elementor-16058 .elementor-element.elementor-element-54a1350{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for shortcode, class: .elementor-element-487a6d5 *//* =========================================================
   MyOnlineTutor – Tutor Reviews
   FINAL COMPACT PREMIUM UI
   .com / .de / .ae
   ========================================================= */


/* =========================================================
   1. PAGE
   ========================================================= */

.mot-reviews-page{
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 14px 32px;

    box-sizing: border-box;

    background: #ffffff;
    color: #222222;
}

.mot-reviews-page *,
.mot-reviews-page *::before,
.mot-reviews-page *::after{
    box-sizing: border-box;
}


/* =========================================================
   2. HEADER
   ========================================================= */

.mot-reviews-header{
    margin-bottom: 18px;
}

.mot-reviews-title{
    margin: 0 0 6px;

    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.08;
    font-weight: 750;

    color: #11113b;
}

.mot-reviews-subtitle{
    margin: 0;
    max-width: 760px;

    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;

    color: #77727e;
}


/* =========================================================
   3. STATISTICS
   ========================================================= */

.mot-review-stats{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 12px;
    margin-bottom: 16px;
}

.mot-stat-card{
    position: relative;

    padding: 14px 16px;

    border: 1px solid #e7dcf8;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 22px rgba(69, 33, 151, 0.05);

    overflow: hidden;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.mot-stat-card::before{
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #452197 0%,
            #6134b7 58%,
            #b8a05a 100%
        );
}

.mot-stat-card:hover{
    transform: translateY(-1px);

    border-color: #d4c2ed;

    box-shadow:
        0 12px 26px rgba(69, 33, 151, 0.09);
}

.mot-stat-label{
    margin-bottom: 5px;

    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;

    color: #706b75;
}

.mot-stat-value{
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1;
    font-weight: 800;

    color: #5130a5;
}


/* =========================================================
   4. FILTERS
   ========================================================= */

.mot-review-filters{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 18px;
}

.mot-filter-btn{
    min-height: 38px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d5c5ee;
    border-radius: 11px;

    background: #ffffff;
    color: #6134b7;

    font-size: 12.5px;
    line-height: 1;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.mot-filter-btn:hover{
    transform: translateY(-1px);

    background: #f8f5fd;
    color: #452197;

    border-color: #6134b7;
}

.mot-filter-btn.is-active{
    color: #ffffff;
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #7a3ef2 0%,
            #6134b7 52%,
            #452197 100%
        );

    box-shadow:
        0 8px 20px rgba(97, 52, 183, 0.20);
}


/* =========================================================
   5. REVIEWS GRID
   IMPORTANT:
   No stretch
   No artificial min-height
   ========================================================= */

.mot-reviews-grid{
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;

    align-items: start;
}


/* =========================================================
   6. REVIEW CARD
   ========================================================= */

.mot-review-card{
    position: relative;

    width: 100%;

    min-height: 0;
    height: auto;

    padding: 18px;

    display: flex;
    flex-direction: column;

    border: 1px solid #e7dcf8;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 22px rgba(69, 33, 151, 0.055);

    overflow: hidden;

    align-self: start;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.mot-review-card::before{
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #452197 0%,
            #6134b7 58%,
            #b8a05a 100%
        );
}

.mot-review-card:hover{
    transform: translateY(-1px);

    border-color: #d4c2ed;

    box-shadow:
        0 13px 28px rgba(69, 33, 151, 0.09);
}


/* =========================================================
   7. CARD HEADER
   ========================================================= */

.mot-review-top{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;

    margin-bottom: 13px;
}

.mot-review-user{
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 10px;
}

.mot-review-avatar{
    flex: 0 0 44px;
}

.mot-review-avatar-img,
.mot-review-avatar img{
    width: 44px;
    height: 44px;

    display: block;

    object-fit: cover;

    border: 1px solid #e7dcf8;
    border-radius: 50%;

    background: #f7f3fd;

    box-shadow:
        0 4px 12px rgba(97, 52, 183, 0.08);
}

.mot-review-user-meta{
    min-width: 0;
}

.mot-review-author{
    margin: 0;

    font-size: 15px;
    line-height: 1.25;
    font-weight: 750;

    color: #222222;

    overflow-wrap: anywhere;
}

.mot-review-date-mobile{
    display: none;

    margin-top: 4px;

    font-size: 12px;
    line-height: 1.4;

    color: #918a98;
}


/* =========================================================
   8. RATING / DATE
   ========================================================= */

.mot-review-rating-wrap{
    flex-shrink: 0;

    text-align: end;
}

.mot-review-rating{
    margin-bottom: 5px;

    color: #b8a05a;

    font-size: 15px;
    line-height: 1;
    letter-spacing: 1px;

    white-space: nowrap;
}

.mot-review-date{
    font-size: 12px;
    line-height: 1.4;
    font-weight: 500;

    color: #918a98;
}


/* =========================================================
   9. REVIEW TEXT
   ========================================================= */

.mot-review-text{
    margin: 0 0 15px;

    font-size: 13.5px;
    line-height: 1.65;
    font-weight: 400;

    color: #5f5a63;

    overflow-wrap: anywhere;
    word-break: normal;
}

.mot-review-text p{
    margin: 0 0 7px;
}

.mot-review-text p:last-child{
    margin-bottom: 0;
}


/* =========================================================
   10. BOTTOM ROW
   Product + Reply
   ========================================================= */

.mot-review-bottom{
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;
}

.mot-review-product{
    max-width: calc(100% - 110px);

    min-height: 32px;
    padding: 0 12px;

    display: inline-flex;
    align-items: center;

    border: 1px solid #e7dcf8;
    border-radius: 999px;

    background: #f7f3fd;
    color: #452197;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   11. MAIN REPLY BUTTON
   ========================================================= */

.mot-review-reply-btn{
    min-height: 36px;
    padding: 0 14px;

    flex-shrink: 0;

    border: 1px solid #d4c2ed;
    border-radius: 11px;

    background: #ffffff;
    color: #6134b7;

    font-size: 12.5px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.mot-review-reply-btn:hover{
    transform: translateY(-1px);

    border-color: #6134b7;

    background: #f7f3fd;
    color: #452197;
}


/* =========================================================
   12. REPLY FORM
   ========================================================= */

.mot-reply-box{
    margin-top: 15px;
    padding-top: 15px;

    border-top: 1px solid #eee7f8;
}

.mot-reply-text{
    width: 100%;
    min-height: 92px;

    padding: 13px 14px;

    display: block;

    border: 1px solid #d9cbed;
    border-radius: 12px;

    background: #ffffff;
    color: #333333;

    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.6;

    text-align: start;

    resize: vertical;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.mot-reply-text:focus{
    border-color: #7a3ef2;

    box-shadow:
        0 0 0 3px rgba(122, 62, 242, 0.10);
}

.mot-reply-text::placeholder{
    color: #99939f;
}


/* =========================================================
   13. REPLY FORM ACTIONS
   ========================================================= */

.mot-reply-actions{
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: 10px;
}

.mot-reply-cancel,
.mot-reply-submit{
    min-height: 38px;
    padding: 0 15px;

    border-radius: 11px;

    font-size: 12.5px;
    line-height: 1;
    font-weight: 700;

    cursor: pointer;

    font-family: inherit;
}


/* Cancel */

.mot-reply-cancel{
    border: 1px solid #d4c2ed;

    background: #ffffff;
    color: #6134b7;
}

.mot-reply-cancel:hover{
    border-color: #6134b7;

    background: #f7f3fd;
    color: #452197;
}


/* Send */

.mot-reply-submit{
    border: 1px solid transparent;

    background:
        linear-gradient(
            135deg,
            #7a3ef2 0%,
            #6134b7 52%,
            #452197 100%
        );

    color: #ffffff;

    box-shadow:
        0 7px 17px rgba(97, 52, 183, 0.18);
}

.mot-reply-submit:hover{
    background:
        linear-gradient(
            135deg,
            #8950f4 0%,
            #6d3bc2 52%,
            #5427a6 100%
        );
}

.mot-reply-submit:disabled{
    opacity: 0.55;
    cursor: not-allowed;

    box-shadow: none;
}


/* =========================================================
   14. ERROR / SUCCESS MESSAGE
   ========================================================= */

.mot-reply-message{
    margin-top: 9px;

    font-size: 12.5px;
    line-height: 1.5;
}

.mot-reply-message.is-error{
    color: #b42318;
}

.mot-reply-message.is-success{
    color: #067647;
}


/* =========================================================
   15. TUTOR REPLY INSIDE DASHBOARD CARD
   ========================================================= */

.mot-tutor-reply{
    min-height: 0;

    margin-top: 14px;
    padding: 13px 14px;

    border: 1px solid #dccdf2;
    border-radius: 14px;

    background: #f8f5fd;
}

.mot-tutor-reply-label{
    margin-bottom: 6px;

    color: #452197;

    font-size: 12.5px;
    line-height: 1.4;
    font-weight: 750;
}

.mot-tutor-reply-text{
    color: #5f5a63;

    font-size: 13px;
    line-height: 1.6;

    overflow-wrap: anywhere;
}

.mot-tutor-reply-text p{
    margin: 0 0 6px;
}

.mot-tutor-reply-text p:last-child{
    margin-bottom: 0;
}


/* =========================================================
   16. PUBLIC TUTOR REPLY
   ========================================================= */

.mot-public-tutor-reply{
    margin-top: 14px;
    padding: 13px 14px;

    border: 1px solid #e7dcf8;
    border-radius: 14px;

    background: #f8f5fd;
}

.mot-public-tutor-reply-head{
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-bottom: 7px;
}

.mot-public-tutor-reply-label{
    font-size: 12.5px;
    font-weight: 700;

    color: #452197;
}

.mot-public-tutor-reply-date{
    font-size: 12px;

    color: #918a98;
}

.mot-public-tutor-reply-author{
    margin-bottom: 6px;

    font-size: 13px;
    font-weight: 700;

    color: #222222;
}

.mot-public-tutor-reply-text{
    font-size: 13px;
    line-height: 1.62;

    color: #5f5a63;
}


/* =========================================================
   17. EMPTY STATE
   ========================================================= */

.mot-reviews-empty{
    padding: 28px 18px;

    text-align: center;

    border: 1px solid #e7dcf8;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 22px rgba(69, 33, 151, 0.05);
}

.mot-reviews-empty-icon{
    width: 46px;
    height: 46px;

    margin: 0 auto 10px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d4c2ed;
    border-radius: 50%;

    background: #f7f3fd;
    color: #6134b7;

    font-size: 19px;
}

.mot-reviews-empty h3{
    margin: 0 0 7px;

    font-size: 17px;
    font-weight: 750;

    color: #222222;
}

.mot-reviews-empty p{
    margin: 0;

    font-size: 13px;
    line-height: 1.6;

    color: #706b75;
}


/* =========================================================
   18. PAGINATION
   ========================================================= */

.mot-review-pagination{
    display: flex;
    flex-wrap: wrap;

    justify-content: center;

    gap: 7px;

    margin-top: 20px;
}

.mot-review-page-link{
    min-width: 36px;
    height: 36px;

    padding: 0 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #d4c2ed;
    border-radius: 10px;

    background: #ffffff;
    color: #6134b7;

    font-size: 12.5px;
    font-weight: 700;

    text-decoration: none;
}

.mot-review-page-link:hover{
    background: #f7f3fd;
    border-color: #6134b7;
}

.mot-review-page-link.is-active{
    color: #ffffff;
    border-color: transparent;

    background:
        linear-gradient(
            135deg,
            #7a3ef2,
            #6134b7,
            #452197
        );
}


/* =========================================================
   19. RTL – Arabic .ae
   ========================================================= */

:dir(rtl) .mot-reviews-header,
:dir(rtl) .mot-review-card,
:dir(rtl) .mot-stat-card,
:dir(rtl) .mot-reply-box,
:dir(rtl) .mot-tutor-reply{
    text-align: right;
}

:dir(rtl) .mot-review-rating-wrap{
    text-align: left;
}

:dir(rtl) .mot-reply-text{
    direction: rtl;
    text-align: right;
}


/* =========================================================
   20. TABLET
   ========================================================= */

@media (max-width: 1024px){

    .mot-reviews-page{
        padding-left: 12px;
        padding-right: 12px;
    }

    .mot-review-stats{
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .mot-review-card{
        min-height: 0;
        height: auto;
    }
}


/* =========================================================
   21. MOBILE
   ========================================================= */

@media (max-width: 767px){

    .mot-reviews-page{
        padding: 16px 10px 24px;
    }

    .mot-reviews-title{
        font-size: 31px;
    }

    .mot-review-stats{
        grid-template-columns: 1fr;

        gap: 10px;
        margin-bottom: 14px;
    }

    .mot-stat-card{
        padding: 13px 14px;
    }

    .mot-review-filters{
        gap: 7px;
        margin-bottom: 14px;
    }

    .mot-filter-btn{
        flex: 1 1 auto;
    }

    .mot-reviews-grid{
        grid-template-columns: 1fr;

        gap: 13px;
    }

    .mot-review-card{
        min-height: 0;
        height: auto;

        padding: 15px;

        border-radius: 16px;
    }

    .mot-review-top{
        gap: 10px;
    }

    .mot-review-avatar{
        flex-basis: 40px;
    }

    .mot-review-avatar-img,
    .mot-review-avatar img{
        width: 40px;
        height: 40px;
    }

    .mot-review-author{
        font-size: 14px;
    }

    .mot-review-bottom{
        gap: 8px;
    }

    .mot-review-product{
        max-width: calc(100% - 95px);
    }

    .mot-review-reply-btn{
        min-height: 34px;
        padding: 0 12px;
    }

    .mot-reply-text{
        min-height: 88px;
    }
}


/* =========================================================
   22. VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px){

    .mot-review-top{
        align-items: flex-start;
    }

    .mot-review-bottom{
        flex-wrap: wrap;
    }

    .mot-review-product{
        max-width: 100%;
    }

    .mot-review-rating{
        font-size: 14px;
    }

    .mot-reply-actions{
        width: 100%;
    }

    .mot-reply-cancel,
    .mot-reply-submit{
        flex: 1;
    }
}


/* =========================================================
   23. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce){

    .mot-reviews-page *,
    .mot-reviews-page *::before,
    .mot-reviews-page *::after{
        transition: none !important;
    }
}



/* =========================================================
   MOT REVIEWS - FINAL GRID + BUTTON FIX
   ========================================================= */


/* ---------------------------------------------------------
   1. Wider page for 3 review cards
   --------------------------------------------------------- */

.mot-reviews-page{
    max-width: 1380px !important;
}


/* ---------------------------------------------------------
   2. DESKTOP: 3 reviews per row
   --------------------------------------------------------- */

.mot-reviews-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    align-items: start !important;
}


/* ---------------------------------------------------------
   3. Compact review cards
   --------------------------------------------------------- */

.mot-review-card{
    min-height: 0 !important;
    height: auto !important;
    padding: 17px !important;
    align-self: start !important;
}


/* ---------------------------------------------------------
   4. REPLY BUTTON
   رد
   --------------------------------------------------------- */

.mot-reviews-page .mot-review-reply-btn{
    width: auto !important;
    min-width: 64px !important;

    min-height: 38px !important;
    height: 38px !important;

    padding: 0 15px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #6134B7 !important;
    border-radius: 11px !important;

    background: #F7F3FD !important;
    color: #6134B7 !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    box-shadow: none !important;

    cursor: pointer !important;
}


/* Reply Hover */

.mot-reviews-page .mot-review-reply-btn:hover{
    background: #6134B7 !important;
    color: #FFFFFF !important;

    border-color: #6134B7 !important;

    box-shadow:
        0 7px 17px rgba(97, 52, 183, 0.18) !important;

    transform: translateY(-1px);
}


/* ---------------------------------------------------------
   5. CANCEL BUTTON
   إلغاء
   --------------------------------------------------------- */

.mot-reviews-page .mot-reply-cancel{
    width: auto !important;
    min-width: 74px !important;

    min-height: 40px !important;
    height: 40px !important;

    padding: 0 16px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid #6134B7 !important;
    border-radius: 11px !important;

    background: #F7F3FD !important;
    color: #6134B7 !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    box-shadow: none !important;

    cursor: pointer !important;
}


/* Cancel Hover */

.mot-reviews-page .mot-reply-cancel:hover{
    background: #6134B7 !important;
    color: #FFFFFF !important;

    border-color: #6134B7 !important;

    box-shadow:
        0 7px 17px rgba(97, 52, 183, 0.18) !important;
}


/* ---------------------------------------------------------
   6. SEND BUTTON
   إرسال
   --------------------------------------------------------- */

.mot-reviews-page .mot-reply-submit{
    width: auto !important;
    min-width: 74px !important;

    min-height: 40px !important;
    height: 40px !important;

    padding: 0 17px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: 1px solid transparent !important;
    border-radius: 11px !important;

    background:
        linear-gradient(
            135deg,
            #7A3EF2 0%,
            #6134B7 52%,
            #452197 100%
        ) !important;

    color: #FFFFFF !important;

    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    box-shadow:
        0 8px 18px rgba(97, 52, 183, 0.22) !important;
}


/* Send Hover */

.mot-reviews-page .mot-reply-submit:hover{
    background:
        linear-gradient(
            135deg,
            #8A50F4 0%,
            #6E3AC4 52%,
            #5427A6 100%
        ) !important;

    color: #FFFFFF !important;
}


/* ---------------------------------------------------------
   7. Reply actions
   --------------------------------------------------------- */

.mot-reviews-page .mot-reply-actions{
    display: flex !important;
    align-items: center !important;

    gap: 9px !important;

    margin-top: 11px !important;
}


/* Arabic RTL */

:dir(rtl) .mot-reply-actions{
    justify-content: flex-start !important;
}


/* ---------------------------------------------------------
   8. TABLET: 2 cards per row
   --------------------------------------------------------- */

@media (max-width: 1100px){

    .mot-reviews-grid{
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* ---------------------------------------------------------
   9. MOBILE: 1 card per row
   --------------------------------------------------------- */

@media (max-width: 767px){

    .mot-reviews-grid{
        grid-template-columns: 1fr !important;
        gap: 13px !important;
    }

    .mot-reviews-page{
        max-width: 100% !important;
    }
}/* End custom CSS */