/**
 * TurnkeyDir sitemap HTML page styles — extracted from the inline <style> in
 * public/templates/sitemap-html.php for the wp.org Plugin Check NoInlineStyles
 * requirement. Rules preserved verbatim. The sitemap page renders standalone
 * (wp_head/wp_footer/wp_enqueue_scripts actions removed), so this stylesheet is
 * registered + enqueued + printed explicitly in <head> via the WordPress style
 * API — the same pattern the page already uses for its pagination script.
 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: #f5f5f5;
            color: #333;
            line-height: 1.6;
            padding: 20px;
        }
        .sitemap-container {
            max-width: 1200px;
            margin: 0 auto;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            padding: 30px;
        }
        .sitemap-header {
            border-bottom: 2px solid #e5e7eb;
            padding-bottom: 20px;
            margin-bottom: 30px;
        }
        .sitemap-header h1 {
            font-size: 28px;
            color: #1f2937;
            margin-bottom: 10px;
        }
        .sitemap-stats {
            display: flex;
            gap: 30px;
            margin-top: 15px;
            flex-wrap: wrap;
        }
        .stat-item {
            display: flex;
            flex-direction: column;
        }
        .stat-label {
            font-size: 12px;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 4px;
        }
        .stat-value {
            font-size: 20px;
            font-weight: 700;
            color: #1A5BFA;
        }
        .sitemap-actions {
            margin: 20px 0;
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        .btn {
            padding: 10px 20px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            display: inline-block;
            transition: all 0.2s;
            border: none;
            cursor: pointer;
        }
        .btn-primary {
            background: #1A5BFA;
            color: #fff;
        }
        .btn-primary:hover {
            background: #1448C8;
        }
        .btn-secondary {
            background: #e5e7eb;
            color: #374151;
        }
        .btn-secondary:hover {
            background: #d1d5db;
        }
        .results-header {
            margin: 20px 0 15px;
            font-size: 14px;
            color: #6b7280;
            font-weight: 600;
        }
        .sitemap-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }
        .sitemap-table thead {
            background: #f9fafb;
        }
        .sitemap-table th {
            padding: 12px 16px;
            text-align: left;
            font-size: 12px;
            font-weight: 600;
            color: #6b7280;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 2px solid #e5e7eb;
        }
        .sitemap-table td {
            padding: 14px 16px;
            border-bottom: 1px solid #e5e7eb;
        }
        .sitemap-table tbody tr:hover {
            background: #f9fafb;
        }
        .page-title {
            margin-bottom: 6px;
        }
        .page-title a {
            color: #1A5BFA;
            text-decoration: none;
            font-weight: 500;
            font-size: 14px;
        }
        .page-title a:hover {
            text-decoration: underline;
        }
        .page-url {
            font-size: 12px;
            color: #6b7280;
            font-family: monospace;
            word-break: break-all;
        }
        .lastmod-cell {
            white-space: nowrap;
            font-size: 13px;
            color: #374151;
        }
        /* Modern Pagination Styles */
        .sitemap-pagination {
            margin-top: 30px;
            padding: 20px 0;
        }
        .sitemap-pagination-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e1e5e9;
            flex-wrap: wrap;
            gap: 8px;
        }
        .sitemap-results-summary {
            font-size: 13px;
            color: #666;
            font-weight: 500;
        }
        .sitemap-per-page-selector {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 13px;
            color: #666;
        }
        .sitemap-per-page-select {
            padding: 4px 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 13px;
            background: white;
            cursor: pointer;
            min-width: 50px;
        }
        .sitemap-per-page-select:focus {
            outline: none;
            border-color: #1A5BFA;
            box-shadow: 0 0 0 2px rgba(26, 91, 250, 0.1);
        }
        .sitemap-pagination-controls {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }
        .sitemap-page-btn {
            padding: 6px 12px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 6px;
            color: #333;
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            gap: 4px;
            min-height: 32px;
            box-sizing: border-box;
        }
        .sitemap-page-btn:hover {
            background: #f8f9fa;
            border-color: #1A5BFA;
            color: #1A5BFA;
            text-decoration: none;
        }
        .sitemap-page-btn.sitemap-first,
        .sitemap-page-btn.sitemap-last {
            background: #f8f9fa;
            border-color: #ccc;
        }
        .sitemap-page-numbers {
            display: flex;
            align-items: center;
            gap: 4px;
            margin: 0 8px;
        }
        .sitemap-page-num {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #ddd;
            border-radius: 6px;
            color: #333;
            text-decoration: none;
            font-size: 13px;
            font-weight: 500;
            transition: all 0.2s ease;
            box-sizing: border-box;
        }
        .sitemap-page-num:hover {
            background: #f8f9fa;
            border-color: #1A5BFA;
            color: #1A5BFA;
            text-decoration: none;
        }
        .sitemap-page-num.active {
            background: #1A5BFA;
            border-color: #1A5BFA;
            color: white;
            font-weight: 600;
        }
        .sitemap-page-dots {
            padding: 0 8px;
            color: #999;
            font-weight: bold;
        }
        .sitemap-jump-to-page {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 10px;
            border-top: 1px solid #e1e5e9;
            flex-wrap: wrap;
            gap: 8px;
        }
        .sitemap-jump-controls {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .sitemap-jump-controls label {
            font-size: 13px;
            color: #666;
            font-weight: 500;
        }
        .sitemap-jump-input {
            width: 60px;
            padding: 5px 8px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 13px;
            text-align: center;
            background: white;
            height: 32px;
            box-sizing: border-box;
        }
        .sitemap-jump-input:focus {
            outline: none;
            border-color: #1A5BFA;
            box-shadow: 0 0 0 2px rgba(26, 91, 250, 0.1);
        }
        .sitemap-jump-btn {
            padding: 5px 12px;
            background: #1A5BFA;
            border: none;
            border-radius: 4px;
            color: white;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            height: 32px;
            box-sizing: border-box;
            gap: 6px;
        }
        .sitemap-jump-btn:hover {
            background: #1448C8;
            transform: translateY(-1px);
        }
        .sitemap-page-total {
            font-size: 14px;
            color: #666;
            font-weight: 500;
        }
