/* Google Search — Google-style result list. */
.gs-examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 2px 26px 22px; }
.gs-ex-label { font-size: .85rem; color: #94a3b8; font-weight: 600; }
.gs-ex-label i { color: #f59e0b; margin-right: 3px; }
.gs-chip {
    background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; border-radius: 999px;
    padding: 5px 14px; font-size: .86rem; font-weight: 600; cursor: pointer; transition: background .14s, color .14s, border-color .14s;
}
.gs-chip:hover { background: #2563eb; color: #fff; border-color: #2563eb; }

#demo { padding: 4px 26px 26px; position: relative; }

/* While paging: keep results visible but dimmed, with a floating loading badge. */
.gs-busy { pointer-events: none; }
.gs-busy .gs-results, .gs-busy .gs-stats, .gs-busy .gs-pagination { opacity: .4; transition: opacity .15s; }
.gs-overlay { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding-top: 30px; }
.gs-overlay span {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 999px; padding: 9px 20px;
    font-weight: 700; color: #2563eb; box-shadow: 0 8px 22px rgba(11, 31, 68, .14);
}
.gs-overlay i { margin-right: 7px; }

.gs-stats { color: #70757a; font-size: .82rem; margin-bottom: 18px; }

.gs-results { display: flex; flex-direction: column; gap: 24px; }
.gs-result { max-width: 640px; }

.gs-url { display: block; color: #0f7a37; font-size: .82rem; text-decoration: none; margin-bottom: 2px; word-break: break-all; }
.gs-url:hover { text-decoration: none; }

.gs-title { display: block; color: #1a0dab; font-size: 1.18rem; line-height: 1.3; text-decoration: none; margin-bottom: 3px; }
.gs-title:hover { text-decoration: underline; }
.gs-title:visited { color: #681da8; }

.gs-snippet { color: #4d5156; font-size: .92rem; line-height: 1.58; }

.gs-loading { color: #64748b; padding: 8px 0; }
.gs-loading i { color: #2563eb; margin-right: 6px; }

.gs-empty {
    display: flex; align-items: center; gap: 8px; color: #475569; padding: 14px 18px;
    background: #f8fafc; border: 1px solid #e6edf7; border-radius: 12px; font-size: .95rem;
}
.gs-empty i { color: #2563eb; }

/* Pagination (Google-style page numbers). */
.gs-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #eef2f8; }
.gs-page {
    min-width: 38px; padding: 7px 12px; border: 1px solid #e2e8f0; background: #fff; color: #1a0dab;
    border-radius: 9px; font-weight: 700; font-size: .9rem; cursor: pointer; transition: background .14s, color .14s, border-color .14s;
}
.gs-page:hover { background: #eff6ff; border-color: #c7dbfb; }
.gs-page-active { background: #2563eb; color: #fff; border-color: #2563eb; cursor: default; }
.gs-page-active:hover { background: #2563eb; color: #fff; }
.gs-nav { color: #334155; }
