/* Project-specific overrides layered on top of Bootstrap 5.
   Light theme — Bootstrap defaults handle most styling; the rules below cover
   the bespoke landing-page hero, dashboard stat cards, and a few small tweaks
   that Bootstrap utility classes alone don't express cleanly. */

body {
    background: #ffffff;
    color: #212529;
    min-height: 100vh;
}

.brand-link img {
    height: 50px;
    width: auto;
}

/* ── Landing page hero / features ──────────────────────────────────────── */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}
.hero-title {
    font-size: 2rem;
    line-height: 1.25;
    max-width: 720px;
    margin: 0 auto 20px;
}
.hero-sub {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 28px;
}
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}
.hero-note {
    color: #6c757d;
    font-size: 0.8rem;
}

.feature-icon {
    font-size: 1.6rem;
    color: #0d6efd;
    margin-bottom: 12px;
}

/* ── Dashboard stat cards ──────────────────────────────────────────────── */
.stat-num {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.1;
}
.stat-num.green { color: #198754; }
.stat-num.red   { color: #dc3545; }
.stat-lbl       { font-size: 0.8rem; color: #6c757d; margin-top: 4px; }

/* ── Misc app chrome ───────────────────────────────────────────────────── */
.progress-text {
    font-size: 0.85rem;
    color: #6c757d;
    align-self: center;
}
.site-badge {
    font-size: 0.75rem;
    color: #6c757d;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 4px 10px;
    border-radius: 4px;
}
.empty-state, .loading {
    color: #6c757d;
    font-size: 0.9rem;
    padding: 24px 0;
    text-align: center;
}

/* Truncate long URLs in tables without breaking the layout */
table td.url-cell {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Keep "Request indexing" button on a single line */
td .btn-request-index { white-space: nowrap; }
