/* Reviews Styling */
.glow-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.glow-review-card {
    background: white;
    border-radius: 25px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(127, 183, 201, 0.15);
    border: 2px solid #f5e6d3;
    transition: all 0.3s ease;
}

.glow-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(127, 183, 201, 0.25);
    border-color: #7fb7c9;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7fb7c9, #c49a9c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.reviewer-info h4 {
    margin: 0 0 5px;
    color: #5d4b55;
    font-size: 18px;
}

.review-rating {
    display: flex;
    gap: 3px;
}

.review-rating .star {
    color: #ddd;
    font-size: 20px;
}

.review-rating .star.filled {
    color: #f5b342;
}

.review-title {
    color: #5d4b55;
    font-size: 18px;
    margin: 15px 0 10px;
    font-weight: 600;
}

.review-text {
    color: #5d4b55;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999;
    padding-top: 15px;
    border-top: 1px solid #f5e6d3;
}

.review-treatment {
    background: #f5e6d3;
    padding: 5px 12px;
    border-radius: 20px;
    color: #5d4b55;
    font-size: 12px;
}

/* Review Form */
.glow-review-form {
    background: linear-gradient(135deg, white, #f5e6d3);
    border-radius: 30px;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 20px 40px rgba(127, 183, 201, 0.2);
}

.glow-review-form h3 {
    color: #5d4b55;
    text-align: center;
    margin-bottom: 30px;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 35px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #f5b342;
}

/* Loyalty Dashboard */
.glow-loyalty-dashboard {
    background: white;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(127, 183, 201, 0.15);
}

.loyalty-header {
    text-align: center;
    margin-bottom: 40px;
}

.points-summary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.points-card {
    background: white;
    padding: 30px 50px;
    border-radius: 20px;
    border: 3px solid;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.points-value {
    font-size: 48px;
    font-weight: bold;
    display: block;
    color: #5d4b55;
}

.points-label {
    font-size: 16px;
    color: #999;
}

.tier-badge {
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.benefit-card {
    background: #f5e6d3;
    padding: 25px;
    border-radius: 20px;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.benefit-card.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(127, 183, 201, 0.3);
}

.benefit-card h4 {
    color: #5d4b55;
    margin: 0 0 15px;
}

.benefit-card ul {
    margin: 0;
    padding-left: 20px;
}

.benefit-card li {
    color: #5d4b55;
    margin: 8px 0;
}

.referral-section {
    background: #f5e6d3;
    padding: 30px;
    border-radius: 20px;
    margin: 40px 0;
}

.referral-link {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.referral-link input {
    flex: 1;
    padding: 12px;
    border: 2px solid #7fb7c9;
    border-radius: 10px;
    font-size: 14px;
}

.referrals-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.referrals-table th {
    background: #7fb7c9;
    color: white;
    padding: 12px;
    text-align: left;
}

.referrals-table td {
    padding: 12px;
    border-bottom: 1px solid #f5e6d3;
}

.redeem-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #7fb7c9, #c49a9c);
    border-radius: 20px;
    color: white;
}

.redeem-section h3 {
    color: white;
    margin-top: 0;
}

.discount-preview {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}

.redemption-history {
    margin-top: 40px;
}

.redemption-history table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.redemption-history th {
    background: #5d4b55;
    color: white;
    padding: 12px;
}

.redemption-history td {
    padding: 12px;
    border-bottom: 1px solid #f5e6d3;
}

/* Language Switcher */
.glow-language-switcher {
    position: relative;
    display: inline-block;
}

.glow-language-switcher select {
    padding: 8px 30px 8px 15px;
    border: 2px solid #7fb7c9;
    border-radius: 50px;
    background: white;
    color: #5d4b55;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d4b55' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

.glow-language-switcher select:hover {
    border-color: #c49a9c;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .glow-reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .points-summary {
        flex-direction: column;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .referral-link {
        flex-direction: column;
    }
    
    .glow-review-form {
        padding: 25px;
    }
    
    .star-rating label {
        font-size: 30px;
    }
}