/* UPTECH Google Reviews Plugin Styles */

.ugtr-wrapper { padding: 1rem 0; }

/* Header card */
.ugtr-header-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ugtr-google-logo {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 6px;
}
.ugtr-logo-text { color: #111; margin-left: 6px; }
.g-blue   { color: #4285F4; }
.g-red    { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green  { color: #34A853; }

.ugtr-stars-row { display: flex; align-items: center; gap: 8px; }
.ugtr-score { font-size: 2rem; font-weight: 700; color: #111; }
.ugtr-stars { display: flex; align-items: center; }
.ugtr-star.full,
.ugtr-star.half { color: #f5a623; font-size: 1.15rem; }
.ugtr-star.empty { color: #ccc; font-size: 1.15rem; }
.ugtr-count { font-size: 0.88rem; color: #666; margin-top: 2px; }

/* Review us button */
.ugtr-btn-google {
    background: #EA4335 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none !important;
    display: inline-block;
    transition: background 0.2s;
}
.ugtr-btn-google:hover {
    background: #c5372c !important;
    color: #fff !important;
}

/* Highlights card */
.ugtr-highlights-card {
    background: #f1f3f4;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    height: 100%;
}
.ugtr-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.75rem;
    font-size: 0.93rem;
    color: #222;
}
.ugtr-highlight-item:last-child { margin-bottom: 0; }
.ugtr-check { color: #EA4335; font-size: 1.1rem; margin-top: 1px; font-weight: 700; }

/* Review card */
.ugtr-review-card {
    background: #f1f3f4;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
.ugtr-review-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 24px;
    width: 0; height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #e0e0e0;
}
.ugtr-review-text {
    font-size: 0.91rem;
    color: #333;
    line-height: 1.65;
    flex: 1;
}

/* Reviewer row */
.ugtr-reviewer-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1.25rem;
}
.ugtr-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    flex-shrink: 0;
    text-decoration: none;
}
.ugtr-reviewer-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #111;
}
.ugtr-reviewer-time {
    font-size: 0.78rem;
    color: #777;
}

/* Error */
.ugtr-error {
    background: #fff3f3;
    border: 1px solid #f5c6c6;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: #c0392b;
    font-size: 0.9rem;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .ugtr-header-card { flex-direction: column; align-items: flex-start; }
    .ugtr-review-card::after { display: none; }
}
