/* Kennedy Site Scout — Admin Widget CSS v3.0.0 */

.aiss-widget { font-size: 13px; line-height: 1.6; }

/* Banners */
.aiss-banner { border-radius: 6px; padding: 9px 13px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.aiss-banner-free { background: #fff3cd; border: 1px solid #ffc107; }
.aiss-banner-pro  { background: #d4edda; border: 1px solid #28a745; }

/* Stats */
.aiss-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.aiss-stat { border-radius: 6px; padding: 7px 12px; flex: 1; min-width: 90px; text-align: center; }
.aiss-stat-num { font-size: 1.5em; font-weight: 700; }
.aiss-stat-label { color: #555; font-size: 0.82em; }
.aiss-stat-pages { background: #f0f4ff; border: 1px solid #c5cff5; }
.aiss-stat-pages .aiss-stat-num { color: #1a56db; }
.aiss-stat-visits { background: #f0fff4; border: 1px solid #b7e4c7; }
.aiss-stat-visits .aiss-stat-num { color: #0a7c42; }
.aiss-stat-bots { background: #fff8f0; border: 1px solid #f5d0a9; }
.aiss-stat-bots .aiss-stat-num { color: #c05621; }

/* Bot pills */
.aiss-pills { margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 5px; }
.aiss-pill { background: #e8edf7; border-radius: 12px; padding: 2px 9px; font-size: 0.83em; }

/* Log table */
.aiss-log-table { width: 100%; border-collapse: collapse; }
.aiss-log-table th { text-align: left; padding: 2px 5px; background: #efefef; }
.aiss-log-table td { padding: 2px 5px; border-bottom: 1px solid #ececec; }
.aiss-log-table td.aiss-log-time { white-space: nowrap; color: #888; }
.aiss-log-table td.aiss-log-bot  { font-weight: 600; }
.aiss-log-scroll { max-height: 200px; overflow: auto; background: #f9f9f9; padding: 7px; border: 1px solid #ddd; border-radius: 4px; font-size: 0.85em; margin-top: 7px; }

/* Actions row */
.aiss-actions { display: flex; gap: 7px; flex-wrap: wrap; }

/* Pro badge (v3) */
.aiss-pro-badge { display: inline-block; background: #1a56db; color: #fff; border-radius: 3px; font-size: 0.7em; padding: 0 5px; line-height: 1.6; vertical-align: middle; margin-left: 4px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; }

/* Authority / E-E-A-T settings table (v3) */
.aiss-authority-table { width: 100%; border-collapse: collapse; margin-bottom: 4px; }
.aiss-authority-table td { padding: 4px 6px 4px 0; vertical-align: middle; }
.aiss-authority-table td:first-child { width: 38%; font-size: 0.88em; color: #444; white-space: nowrap; }
.aiss-authority-table input[type="text"],
.aiss-authority-table textarea { font-size: 0.9em; }

/* Top Crawled Pages widget (v3 Pro) */
.aiss-top-pages { background: #f6f8ff; border: 1px solid #c5cff5; border-radius: 6px; padding: 8px 12px; margin-bottom: 12px; }
.aiss-top-pages-title { display: flex; align-items: center; gap: 5px; font-size: 0.88em; margin-bottom: 5px; }
.aiss-top-pages-list { margin: 0; padding-left: 18px; }
.aiss-top-pages-list li { display: flex; justify-content: space-between; align-items: center; padding: 2px 0; font-size: 0.85em; border-bottom: 1px solid #e0e7ff; }
.aiss-top-pages-list li:last-child { border-bottom: none; }
.aiss-top-pages-list a { color: #1a56db; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 80%; }
.aiss-top-pages-count { background: #e0e7ff; color: #1a56db; border-radius: 10px; padding: 0 7px; font-size: 0.85em; font-weight: 600; flex-shrink: 0; }
