/* Reviews & Ratings Styles */

.reviews-wrapper {
    padding: 0;
}

.reviews-container {
    padding: 0;
}

.reviews-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.reviews-title {
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

/* Tabs Section */
.reviews-tabs-container {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 30px;
}

.review-tab-item {
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    color: #111;
    padding: 15px 0;
    width: 50%;
    text-align: center;
    position: relative;
    transition: all 0.2s;
}

.review-tab-item.active {
    background: var(--riden-red);
    color: #fff !important;
    border-radius: 12px 12px 0 0;
}

/* Stats Card */
.reviews-stats-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(254, 226, 226, 0.5);
    padding: 25px;
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.5fr;
    gap: 30px;
    margin-bottom: 35px;
    box-shadow: 0 8px 32px 0 rgba(255, 28, 37, 0.05);
}

.stat-group {
    padding-right: 20px;
}

.stat-group:not(:last-child) {
    border-right: 1px solid #fee2e2;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #111;
}

.stat-growth {
    background: #f0fdf4;
    color: #16a34a;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 5px;
}

.rating-stars {
    color: #fbbf24;
    font-size: 20px;
    margin-left: 10px;
}

.rating-subtext {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Progress Bars Group */
.rating-progress-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar-container {
    flex-grow: 1;
    height: 8px;
    background: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

.star-count {
    font-size: 12px;
    color: #666;
    min-width: 35px;
}

/* Progress Colors */
.fill-5 {
    background: #2dd4bf;
    width: 85%;
}

.fill-4 {
    background: #c084fc;
    width: 70%;
}

.fill-3 {
    background: #fbbf24;
    width: 45%;
}

.fill-2 {
    background: #38bdf8;
    width: 25%;
}

.fill-1 {
    background: #fb923c;
    width: 10%;
}

/* Review List */
.review-item-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.02);
}

.review-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    font-weight: 800;
    font-size: 18px;
    color: #111;
    margin: 0;
}

.reviewer-rating {
    font-size: 13px;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 4px;
}

.reviewer-rating span {
    color: #999;
    font-weight: 600;
}

.review-meta {
    text-align: right;
}

.review-date {
    font-size: 13px;
    color: #999;
    font-weight: 600;
    margin-bottom: 5px;
}

.booking-badge {
    background: var(--riden-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
}

.review-body {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.by-passenger {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.by-passenger span {
    color: var(--riden-red);
}

.delete-review-btn {
    width: 32px;
    height: 32px;
    background: #fff0f1;
    color: var(--riden-red);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.delete-review-btn:hover {
    background: var(--riden-red);
    color: #fff;
}