/* E-Project Google Reviews – frontend stiliai */

.eproject-gr-widget {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 20px;
    max-width: 900px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.eproject-gr-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    align-items: center;
}

.eproject-gr-name {
    font-size: 18px;
    font-weight: 600;
}

.eproject-gr-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eproject-gr-rating {
    font-size: 24px;
    font-weight: 700;
}

.eproject-gr-stars {
    font-size: 16px;
    letter-spacing: 1px;
}

.eproject-gr-star {
    opacity: 0.3;
}

.eproject-gr-star.is-filled {
    opacity: 1;
}

.eproject-gr-count {
    font-size: 13px;
    color: #6b7280;
}

.eproject-gr-logo {
    text-align: right;
}

.eproject-gr-google {
    font-weight: 700;
    font-size: 16px;
    display: block;
}

.eproject-gr-google-sub {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

/* Reviews – list layout */

.eproject-gr-reviews {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

.eproject-gr-review {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    padding: 12px 14px;
    background: #f9fafb;
}

.eproject-gr-review-header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.eproject-gr-author-wrap {
    display: flex;
    gap: 8px;
}

.eproject-gr-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: block;
}

.eproject-gr-author a {
    text-decoration: none;
    color: #111827;
    font-weight: 600;
}

.eproject-gr-author a:hover {
    text-decoration: underline;
}

.eproject-gr-date {
    font-size: 12px;
    color: #9ca3af;
}

.eproject-gr-text {
    font-size: 14px;
    color: #111827;
}

/* Grid layout */

.eproject-gr-layout-grid .eproject-gr-reviews {
    flex-direction: row;
    flex-wrap: wrap;
}

.eproject-gr-layout-grid .eproject-gr-review {
    width: calc(50% - 8px);
}

@media (max-width: 640px) {
    .eproject-gr-layout-grid .eproject-gr-review {
        width: 100%;
    }
}

/* Badge layout – tik header + CTA */

.eproject-gr-layout-badge .eproject-gr-reviews {
    display: none;
}

/* CTA */

.eproject-gr-footer {
    text-align: right;
}

.eproject-gr-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #2563eb;
    font-size: 13px;
    text-decoration: none;
    color: #2563eb;
}

.eproject-gr-cta:hover {
    background: #2563eb;
    color: #ffffff;
}
