/*--------------------------------------------------------------
Tour Reviews
--------------------------------------------------------------*/

.tour-review-list{
    margin:40px 0;
}

.tour-review-card{

    background:#fff;

    border:1px solid #e5e5e5;

    border-radius:14px;

    padding:25px;

    margin-bottom:25px;

    transition:.25s;

    box-shadow:0 3px 10px rgba(0,0,0,.05);

}

.tour-review-card:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.tour-review-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:12px;

}

.tour-review-title{

    font-size:22px;

    font-weight:700;

    color:#222;

}

.tour-review-rating{

    font-size:22px;

    color:#f5a623;

    letter-spacing:2px;

}

.filled-star{

    color:#f5a623;

}

.empty-star{

    color:#ddd;

}

.tour-review-author{

    margin-bottom:15px;

    font-size:15px;

    color:#666;

}

.tour-review-author strong{

    color:#111;

    font-size:17px;

}

.tour-review-content{

    line-height:1.8;

    color:#555;

    font-size:16px;

}

.tour-review-footer{

    margin-top:20px;

    font-size:13px;

    color:#999;

    border-top:1px solid #eee;

    padding-top:15px;

}

.tour-review-empty{

    text-align:center;

    padding:40px;

    border:2px dashed #ddd;

    border-radius:10px;

    color:#999;

}


.tour-review-author{

    display:flex;

    align-items:center;

    gap:15px;

}

.tour-review-avatar{
    width:55px;
    height:55px;
    border-radius:50%;
    background:#2271b1;   /* WordPress blue */
    color:#fff;
    font-size:22px;
    font-weight:700;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
}

.tour-review-user{

    display:flex;

    flex-direction:column;

}

.tour-review-badge{

    display:inline-block;

    margin-top:4px;

    font-size:12px;

    background:#e9f7ef;

    color:#2e7d32;

    padding:4px 10px;

    border-radius:20px;

    width:max-content;

}



/* ==========================
   Review Overview
========================== */

.tour-review-list .tour-review-overview{
    display:flex;
    gap:40px;
    margin-bottom:40px;
    padding:30px;
    border:1px solid #eee;
    border-radius:12px;
    background:#fff;
    align-items:center;
}

.tour-review-overview-left{
    width:220px;
    text-align:center;
}

/* Only affects [tour_reviews] */

.tour-review-list .tour-review-score{
    font-size:58px;
    font-weight:700;
    line-height:1;
    color:#222;
}

.tour-review-list .tour-review-stars{
    margin:10px 0;
    font-size:22px;
    color:#ffb400;
}

.tour-review-list .tour-review-total{
    color:#666;
    font-size:15px;
}

.tour-review-list  .tour-review-overview-right{
    flex:1;
}

.tour-rating-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin:12px 0;
}

.tour-rating-label{
    width:45px;
    font-weight:600;
}

.tour-rating-number{
    width:40px;
    text-align:right;
    font-weight:600;
}

/* Progress Bar */

.tour-rating-bar{
    flex:1;
    height:10px;
    background:#ececec;
    border-radius:20px;
    overflow:hidden;
}

.tour-rating-bar span{
    display:block;
    height:100%;
    background:#00aa6c;
    border-radius:20px;
}

/*=========================================
Booking Style Filter Bar
=========================================*/

.tour-review-sort{

display:flex;

align-items:center;

justify-content:space-between;

margin:35px 0;

padding:20px 0;

border-top:1px solid #eee;

border-bottom:1px solid #eee;

}

.tour-review-sort-title{

font-size:16px;

font-weight:600;

color:#444;

}

.tour-review-filter-buttons{

display:flex;

flex-wrap:wrap;

gap:12px;

}

.review-filter{

display:inline-flex;

align-items:center;

justify-content:center;

padding:10px 18px;

border-radius:30px;

background:#fff;

border:1px solid #ddd;

text-decoration:none;

font-size:14px;

font-weight:600;

color:#444;

transition:.25s;

}

.review-filter:hover{

background:#00aa6c;

border-color:#00aa6c;

color:#fff;

text-decoration:none;

}

.review-filter.active{

background:#00aa6c;

border-color:#00aa6c;

color:#fff;

}

.tour-review-sort select:hover{

border-color:#00aa6c;

}


@media(max-width:768px){

.tour-review-sort{

flex-direction:column;

align-items:flex-start;

gap:15px;

}

.tour-review-filter-buttons{

width:100%;

}

.review-filter{

flex:1;

text-align:center;

}

}






/* ===============================
   Review Card
================================ */

.tour-review-card{

background:#fff;

border:1px solid #e5e5e5;

border-radius:12px;

padding:25px;

margin-bottom:25px;

box-shadow:0 2px 8px rgba(0,0,0,.04);

}

.tour-review-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:20px;

}

.tour-review-author{

display:flex;

align-items:center;

gap:15px;

}

.tour-review-avatar{

width:55px;

height:55px;

border-radius:50%;

background:#0a6cff;

color:#fff;

font-size:22px;

font-weight:700;

display:flex;

align-items:center;

justify-content:center;

}

.tour-review-name{
    font-size:17px;
    font-weight:700;
    color:#222;
}

.tour-review-verified{
   display:inline-block;
    margin-top:4px;
    font-size:12px;
    background:#e9f7ef;
    color:#2e7d32;
    padding:4px 10px;
    border-radius:20px;
    width:max-content;
}

.tour-review-title{

font-size:22px;

margin:18px 0 12px;

font-weight:700;

}

.tour-review-content{

font-size:15px;

line-height:1.8;

color:#555;

}

.tour-review-footer{

display:flex;

justify-content:space-between;

align-items:center;

margin-top:25px;

padding-top:20px;

border-top:1px solid #eee;

font-size:14px;

color:#888;

}

.tour-review-helpful{

font-weight:600;

cursor:pointer;

}

.tour-review-helpful:hover{

color:#00aa6c;

}

/*----------------------------------
Booking Rating Box
----------------------------------*/

.tour-review-rating-box{

display:flex;

align-items:center;

gap:12px;

}

.tour-review-score-box{

width:52px;

height:52px;

background:#003580;

color:#fff;

border-radius:10px 10px 10px 0;

display:flex;

align-items:center;

justify-content:center;

font-size:22px;

font-weight:700;

}

.tour-review-score-text{

font-size:15px;

font-weight:700;

color:#003580;

}


.tour-review-helpful{

    display:inline-flex;

    align-items:center;

    gap:6px;

    cursor:pointer;

    user-select:none;

    transition:.25s;

}

.tour-review-helpful:hover{

    color:#00aa6c;

}

.tour-review-helpful.voted{

    color:#00aa6c;

    font-weight:600;

}


/*------------------------------------
Tour Review Submit Button
------------------------------------*/

.tour-review-submit{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 34px;

    border:none;
    border-radius:30px;

    background:#0e4a86;
    color:#fff;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:.3s;

    text-decoration:none;

}

.tour-review-submit:hover{

    background:#f4a261;
    color:#fff;

    transform:translateY(-2px);

}

.tour-review-submit:focus{

    outline:none;

}

/* Review Card Score Only */

.review-card-score{

    width:36px;

    height:36px;

    min-width:36px;

    line-height:36px;

    font-size:14px;

    border-radius:6px 6px 6px 0;

}