/**
 * Comprobador de Enlaces Rotos - Component Stylesheet
 * Ruta: /assets/css/comprobador-enlaces-rotos.css
 */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.2;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: var(--color-card-bg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.link-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.link-table th {
    background: rgba(59, 130, 246, 0.06);
    padding: 1rem 1.25rem;
    font-weight: 800;
    color: var(--color-text-primary);
    border-bottom: 2px solid var(--color-border);
    white-space: nowrap;
}

.link-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-primary);
    vertical-align: middle;
}

.badge-pass {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
}

.badge-warn {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
}

.badge-fail {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.8rem;
}
